gray-mueller / gray-mueller/food-delivery-applications-using-react-native
Enatega Admin Dashboard: While adding a product, adding new Categories and Subcategories Not Updating in Dropdown in Real-Time
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
When adding a new product, newly created categories and subcategories are not appearing in the dropdown list in real-time. Users must close that window and click on add product than the new Category will show up.
### To Reproduce
Steps to reproduce the behavior:
1. Go to 'Enatega Admin Dashboard'.
2. Open any of the store.
3. Navigate to the product addition page.
4. Click on the option to add a new category or subcategory.
5. Save the new category/subcategory.
6. Open the category dropdown to select the newly added category/subcategory.
### Expected behavior
The newly added category/subcategory should appear in the dropdown immediately without requiring a page refresh or closing the add new product window.
Desktop (please complete the following information):
> OS: [e.g. Windows]
> Browser [e.g. Chrome]
> Version [e.g. Latest]
Contributor guide
Research direction
Start at the Enatega Admin Dashboard product addition page and trace the category and subcategory creation flow into the dropdown data source. Reproduce the issue by saving a new category or subcategory, then confirm that it appears immediately in the open product form without closing the window or refreshing the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100