marthaegrimaldi / marthaegrimaldi/meal-ordering-app-using-react-native

Enatega Website: Pickup Order Flow Incorrectly Prompts for Location ("Where to?")

Open Beginner friendly
#1,707 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
When placing an order with the Pickup option selected, prompts the user with a "Where to?" location request. This step is only relevant for delivery orders and should be skipped in the pickup flow.

To Reproduce
Steps to reproduce the behavior:

Add an item to the cart and go to checkout page.
Click on "Pickup".
Click on "Click to order"
observe that it asks the user for the location with a "Where to?" request.
Expected behavior
This step is only relevant for delivery orders and should be skipped in the pickup flow.

Desktop (please complete the following information):

OS: [Windows]
Browser [chrome]

Labels: Enatega Website, Bug

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.

Research direction

Start by reproducing the checkout flow with Pickup selected, then trace the "Click to order" entry point and the code that triggers the "Where to?" location prompt. Confirm the delivery flow still requests a location, while the pickup flow proceeds without that prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.