Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize ratings review counts #319

Merged
merged 7 commits into from
Aug 12, 2024
Merged

Conversation

dfabulich
Copy link
Collaborator

This fixes a number of bugs, including #404 and #502.

When showing the histogram, we should always show the total number of ratings that factored into the histogram, and we should juxtapose that number with the number of written reviews, because these numbers are confusingly similar ideas.

This fixes https://github.com/iftechfoundation/ifdb-suggestion-tracker/issues/475 where the `?ratings` view would show `$rowcnt` as the number of ratings, which might not match `$ratingCntAvg`.
You can access the `viewgame` game listing page with these modes:

* `?reviews`: Show all written member reviews
* `?ratings`: Show all of the ratings that factored into the average
* `?review=####`: Show just a single review

Rather than showing "Ratings and Reviews" for all of these cases, we'll now show a more specific header depending on the review mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant