gray-mueller / gray-mueller/food-delivery-clone-app-using-react

Edit Button on Cart Page Redirects to Main Screen Instead of Restaurant’s Menu

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

Description

Describe the bug
On the cart page in the customer app, when the Edit button is clicked, the app redirects the user to the main screen/home page instead of navigating to the specific restaurant’s menu where the items in the cart were originally selected. This causes confusion and breaks the expected flow of editing an order.

To Reproduce
Steps to reproduce the behavior:

Add items from a specific restaurant to the cart

Go to the cart page

Tap on the Edit button

Observe that the app redirects to the main screen, not the restaurant’s menu

Expected behavior
Clicking the Edit button should take the user directly to the menu of the same restaurant the order belongs to, so they can modify it seamlessly.

Screenshots

Smartphone (please complete the following information):

Device: Samsung A15

OS: Android 14

App Version: [add if known]

Additional context
This is a navigation issue that disrupts the user's ability to efficiently edit their cart items and should be addressed to maintain a smooth ordering experience.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the customer app and tracing the Cart page's Edit button handler and the navigation destination it selects. Check how the cart identifies its restaurant and verify that the completed flow opens that restaurant's menu rather than the main screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.