gray-mueller / gray-mueller/salon-solution-system-backend
Restaurants with High Delivery Charges Should Not Be Displayed Outside Delivery Area
- 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
Research direction
Start by tracing how the Enatega app builds the available-restaurant search results for a delivery address, then inspect where serviceable areas and delivery charges are considered. Done means restaurants outside the delivery area or with prohibitively high distance-based fees no longer appear in the list; verify using a distant address such as the examples in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100