gray-mueller / gray-mueller/full-stack-document-solution

Enatega Customer Application: Ratings or reviews percentage calculation issue

Abierto
#12 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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]

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.