marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native

Commission Rates Page Loading and Refresh Performance Issue

Open
#1,272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1
Forks
1
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Commission Rates page in the Enatega Multivendor Admin dashboard and profile its initial load and commission-rate update flow. Compare the current full-page refresh behavior with the expected record-only update, and verify that the page loads faster and updating one restaurant no longer reloads the entire page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.