gray-mueller / gray-mueller/restaurant-online-ordering-app-using-java
Commission Rates Page Loading and Refresh Performance Issue
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The Commission Rates section in the Enatega Multivendor Admin dashboard has significant performance issues. When opening the commission rates page, it takes a long time to load. Additionally, when updating the commission rate for a restaurant, the system refreshes the entire page instead of updating only the specific record. This results in another long load time, slowing down the workflow.
To Reproduce
Steps to reproduce the behavior:
Log in to Enatega Multivendor Admin Dashboard.
Navigate to Commission Rates.
Observe that the page takes a long time to load.
Update the commission rate of any restaurant.
Notice that the whole page refreshes and reloads slowly instead of updating instantly.
Expected behavior
The commission rates page should load faster.
Updating a commission rate should only update the respective record (e.g., via AJAX or partial refresh), without reloading the entire page.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Labels: Enatega Multivendor Admin Dashboard, Bug
Contributor guide
Research direction
Start at the Commission Rates page in the Enatega Multivendor Admin dashboard and profile its initial load and commission-rate update flow. Check whether updating one restaurant triggers a full-page refresh. Done means the page loads faster and an update changes only the affected record without reloading the entire page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100