gray-mueller / gray-mueller/open-source-delivery-app
Enable/Disable Buttons Not Functioning Properly in Enatega Multivendor Admin (Restaurant Section)
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the Enatega Multivendor Admin, specifically in the restaurant section, the enable and disable buttons are not functioning as intended. This issue is hindering the ability to manage the status of restaurants effectively.
To Reproduce
Steps to reproduce the behavior:
Log in to the Enatega Multivendor Admin.
Navigate to the "Restaurant" section.
Attempt to use the "Enable" and "Disable" buttons to change the status of a restaurant.
Observe that the buttons are not working as expected, and the status remains unchanged.
Expected behavior
The "Enable" button should activate the restaurant, allowing it to be visible and accessible. The "Disable" button should deactivate the restaurant, making it temporarily unavailable.
Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/5751c2e4-57fc-430c-948d-233d36fefc19
Desktop:
Browser: chrome
Contributor guide
Research direction
Start by reproducing the issue in the Enatega Multivendor Admin's Restaurant section using Chrome, following the listed enable and disable steps. Trace the button actions to the restaurant status update and verify that enabling makes a restaurant visible and accessible while disabling makes it temporarily unavailable.
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