Repository navigation
Description
What happened
On a title page in the web app, clicking the star that matches your current rating removes the rating, but the stars keep showing it until the pointer leaves the star. Nothing on screen changes at the click, so it looks as if the click did nothing. The rating is removed on the server, and the stars clear as soon as the pointer moves away.
The same applies to the "Your rating" stars in the More menu on narrow screens.
Steps to reproduce
- Open a movie or series page in the web app and rate it, for example 4 stars.
- Without moving the pointer off the fourth star, click it again.
- The four stars stay filled. Move the pointer off the stars and they empty.
Expected behavior
The stars show the result of the click straight away: empty after a rating is removed, the new value after one is set. Hovering the star that is already set could also show that a click removes the rating, for example dimmed stars and a "Remove rating" tooltip.
Silo version / commit
Build 1804 · cc851494, on a local sandbox built from that commit. StarRating.tsx and the star rules in app.css are unchanged on main at 2d5f22e7.
Deployment
Docker (other): a local development sandbox.
Clients affected
Web UI
Relevant logs
None; this is display only. The rating is removed on the server.
Technical notes
- The hover preview is CSS only (
web/src/app.css, the.star-rating:has(.star-rating-star:hover)rules). While the pointer is over a star it fills every star up to that one, whatever the stored value is. StarRating(web/src/components/StarRating.tsx) clears the rating when the clicked star equals the current value. After that click the pointer is still on the same star, so the preview draws exactly what the stored rating drew before.- A different animation on its own would not show either, because the hover preview overrides the resting state. One fix is to suppress the preview after a click until the pointer leaves the star (for example a data attribute set on click and cleared on
pointerleave), and to style hovering the current star as a remove preview.
Validation reference
Seen by the maintainer during human validation for Watchlist / Favorites / Ratings — Web #1184 C1 under [v1] Watchlist / Favorites / Ratings #1182. Removing a rating works and persists, so this does not fail C1. The maintainer classed it as non-blocking.
AI harness
Claude Code (running in T3 Code)
AI tool(s)
Claude Code (Bash, Read, Write), GitHub CLI
AI model(s)
claude-opus-5-5
AI involvement
AI-assisted: the maintainer observed the behavior; the agent traced the cause in source and drafted this report at the maintainer's direction.
Independent or adversarial review
None.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity
fix(web): show a removed star rating straight away (#3533)