gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js

Restaurants with High Delivery Charges Should Not Be Displayed Outside Delivery Area

Open
#243 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
Some restaurants (e.g., Farm Fresh - Wadi Halfa) in the Enatega app have very high delivery charges due to their location being far from the user's delivery address. These restaurants should not be displayed if they lie outside the delivery premises or serviceable area.

To Reproduce

Open the Enatega app.
Set a delivery address that is far from certain restaurants (e.g., Delish Bites Co.).
Browse through the list of available restaurants.
Observe that some restaurants with high delivery charges are still displayed in the search results.
Expected behavior

Restaurants that fall outside the delivery service area or have prohibitively high delivery fees due to distance should not be displayed in the list of available restaurants.

Actual Behaviour
Restaurants that are located far from the delivery address are still displayed, despite the high delivery fee.

Screenshots
IMG_0482

Smartphone (please complete the following information):

Device: iPhone15pro
OS: iOS17.6.1

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by reproducing the restaurant-listing behavior in the Enatega app, then trace how delivery distance, serviceable areas, and delivery charges determine which restaurants appear. Done means restaurants outside the service area or above the applicable delivery-charge limit are excluded from results.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.