marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native
Enatega Customer Application: Ratings or reviews percentage calculation issue
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
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]
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 Enatega Customer Application 中复现该问题:打开餐厅卡片,选择 See Reviews,并将显示的百分比与 41 条评论进行核对。跟踪评论评分百分比的计算过程,并在显示的百分比准确反映底层评分或评论时,认为该问题已完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react-native
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100