gray-mueller / gray-mueller/roadside-assistance-system-react-native
Commission Rates Page Loading and Refresh Performance Issue
- Dominant language
- TypeScript
- 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 by reproducing the slow load and full-page refresh in the Admin dashboard's Commission Rates section, then locate the page and its restaurant commission update flow. Measure the initial load and update behavior before changing anything. Done means the page loads faster and changing one rate updates only its record without reloading the entire page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100