gray-mueller / gray-mueller/food-delivery-platform-for-restaurants-using-python
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:
Go to 'Enatega Admin Dashboard'.
Open any of the store.
Navigate to the product addition page.
Click on the option to add a new category or subcategory.
Save the new category/subcategory.
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 in the Enatega Admin Dashboard product-addition flow and reproduce the category and subcategory creation steps described in the issue. Trace how the dropdown receives its options; done means a newly saved category or subcategory appears immediately without closing the product window or refreshing the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100