Margaret-Petersen / Margaret-Petersen/uber-eats-clone-android
Newly Added Category Doesn’t Appear in Dropdown Until Page Refresh – Product Page (Admin Panel)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
On the Product page in the admin panel, when a new category is added using the dropdown interface, it is not immediately reflected in the dropdown list. The newly created category only becomes visible after manually refreshing the browser.
To Reproduce
Steps to reproduce the behavior:
Go to the Product page in the admin panel
Use the category dropdown to add a new category
Attempt to select the newly added category from the dropdown
Observe that it does not appear until you refresh the page
Expected behavior
The dropdown should automatically update and include the newly added category immediately without requiring a page refresh.
**
Screenshot
Recording 2025-06-24 113631.zip
**
Attach if available.
Desktop (please complete the following information):
OS: Windows 11
Browser: Chrome
Version: 123.0.6312.86
Additional context
This is likely due to missing state updates or failure to re-fetch category data after creation. A real-time update or dynamic refresh of the dropdown options would significantly improve workflow efficiency for admins.
Activity
har33m
added
bug
Something isn't working
good first issue
Good for newcomers
Enatega Multivendor Admin Dashboard
3 days ago
AsadH123
assigned
ZeeshanRafiq38
3 days ago
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Product page in the admin panel and reproduce the category-creation flow described in the issue. Trace how the category dropdown receives its options after creation; done means the newly created category appears immediately without a browser refresh.
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