lambertf917 / lambertf917/full-stack-courier-delivery-platform

Unintended Toggling of Buttons in "Restaurants Section" Section of Admin Dashboard

Open
#207 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the Enatega Multivendor Admin Dashboard, specifically in the "Restaurants section" section, there is an issue where toggling one button on or off intermittently triggers the system to toggle other buttons that were not intended to be changed. This behavior is unexpected and can lead to unintended changes in the settings of restaurants, causing potential confusion and errors in the admin interface.

To Reproduce
Steps to reproduce the behavior:

Log in to the Enatega Multivendor Admin Dashboard.
Navigate to the "Restaurants section" section.
Attempt to toggle a specific button (e.g., enable/disable a feature) for a restaurant.
Observe that other buttons in the vicinity may also be toggled without explicit user interaction.
Expected behavior
Toggling one button in the "Restaurants" section should only affect the state of that specific button, and other buttons should remain unchanged unless explicitly modified by the user.

Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/b81cddc8-08ac-4f08-9c55-606b75035a22

Desktop:

Browser: chrome

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Chrome from the Admin Dashboard's Restaurants section, following the listed toggle steps and comparing the result with the expected behavior. Trace the Restaurants section entry point and the state handling for its buttons; the work is done when toggling one restaurant setting leaves every other button unchanged and the behavior is verified against the reproduction steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.