Skip to content

Add ability for users to rate issues#558

Open
bpepple wants to merge 6 commits into
masterfrom
48-add-ability-for-users-to-rate-issues
Open

Add ability for users to rate issues#558
bpepple wants to merge 6 commits into
masterfrom
48-add-ability-for-users-to-rate-issues

Conversation

@bpepple

@bpepple bpepple commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a 5-star community rating for issues (issue_ratings app), separate from the existing personal collection rating — an HTMX widget on the issue detail page, plus average_rating/rating_count on the issue detail API endpoint.
  • Refactor the now-duplicated rating model/view/template logic shared with reading_lists' existing rating feature into comicsdb (AbstractRating, parse_rating_action/apply_rating_update, a shared rating_widget.html partial), and trim average_rating/rating_count back off the high-traffic issue list endpoint, keeping them on detail only.
  • Keep a user's personal collection rating (user_collection) and their community issue rating in sync via a signal, and add a backfill_issue_ratings management command to sync pre-existing collection ratings for users upgrading from before this feature.
ratings_detail_1 ratings_detail_2

@bpepple bpepple linked an issue Jul 14, 2026 that may be closed by this pull request
@bpepple bpepple self-assigned this Jul 14, 2026
@bpepple bpepple added enhancement New feature or request api An API bug/feature labels Jul 14, 2026
@bpepple bpepple marked this pull request as ready for review July 14, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api An API bug/feature enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability for users to rate issues

1 participant