hector-jewell / hector-jewell/uber-eats-clone-using-react-native

Enatega Customer Application: Ratings or reviews percentage calculation issue

Open
#845 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The calculated percentage for ratings or reviews is incorrect. For example, the displayed percentage does not align with the actual number of reviews or ratings provided by users, leading to misleading information about the product/service’s quality.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Customer Application'
Click on any restaurant card details , card will open up.
Now click on See Reviews button , all the reviews will show up now see that total reviews are 41 but only showing the 17% of it
See error
Expected behavior
The ratings or reviews percentage should accurately reflect the proportion of users who rated the product/service within the specified range (e.g., 4 stars or higher).

Screenshots

Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android]
Browser [e.g. Application]
Version [e.g. Latest]

Contributor guide

Open the contributing guide

Research direction

Start in the Enatega Customer Application flow opened from a restaurant card: inspect the details view and the See Reviews screen where the percentage is displayed. Reproduce the case with 41 reviews and compare the shown percentage with the expected rating-range proportion; done means the displayed calculation matches the underlying reviews.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.