Enatega Restaurant Application : Restaurant Closed/Opened toggle button not working properly also check the notification toggle too

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reproducing the issue in the Enatega Restaurant application's Profile menu, checking both toggles and then reopening the application. Trace how each selected state is stored and restored; done means restaurant availability and notification settings remain accurate after closing and reopening the app.

Written by the indexing model from the issue text.

Description

Describe the bug
The "Restaurant Closed/Opened" toggle button is not functioning as intended. Specifically, when attempting to change the restaurant's status, the toggle does not respond or reflect the correct state. Additionally, the notification toggle button exhibits similar unresponsiveness, failing to enable or disable notifications as expected.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Restaurant application'
Click on 'Profile' menu button.
See error now change statuses closed or open than close the app , now again open the application the status is changed automatically similarly issue with notifications.
Expected behavior
Both toggle buttons should accurately reflect and change their respective states upon user interaction. The "Restaurant Closed/Opened" toggle should switch between "Closed" and "Opened" statuses, updating the restaurant's availability accordingly. The notification toggle should enable or disable notifications based on the user's selection.

Screenshots

Screen_Recording_20250128_115912.mp4
Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android ]
Browser [e.g. Application]
Version [e.g. Latest ]

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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.

More from lambertf917/milk-ordering-app-react

All issues in lambertf917/milk-ordering-app-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.