gray-mueller / gray-mueller/online-food-ordering-platform-in-python

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

Open
#715 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

Reproduce the problem in the customer app on the reported Android setup, then trace the Cart page's Edit button navigation and how it identifies the restaurant. Verify that the destination uses the restaurant associated with the cart rather than the main screen, and confirm the flow by editing items from a specific restaurant.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.