gray-mueller / gray-mueller/online-food-ordering-solution-using-react-js

"Let's Order Something!" button in Order History leads to error screen despite working internet

Open Beginner friendly
#556 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 app, when navigating from the Profile section to Order History (Current or Past Orders) and no orders exist, pressing the "Let's Order Something!" button results in an error screen stating:
"Something went wrong, check your internet connection"
This occurs even when the internet connection is working fine and the rest of the app functions normally.

To Reproduce
Steps to reproduce the behavior:

Open the Profile section in the Enatega Multivendor app.
Navigate to Order History → Current Orders or Past Orders.
Ensure there are no orders in the selected section.
Press "Let's Order Something!" button.
Expected behavior
The button should redirect to the restaurant/ordering page to place a new order.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.

Labels: Enatega Multivendor Customer App, High Priority, Bug

Contributor guide

Open the contributing guide

Research direction

Start by locating the "Let's Order Something!" button in the customer app and trace the navigation used from empty Current Orders and Past Orders states. Reproduce the error with no orders, then verify that both buttons reach the restaurant or ordering page without showing the connection error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.