This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
Conversation
A fan can rate a past show they attended, 1-5 stars, from My Shows. The rating lives on their own attendance row and only they can read it; no public read path selects it. Unmarking a show deletes the rating with the row. - rating column on ec_concert_tracking, with the table install now gated on a schema version so existing installs get the column - ec_users_set_show_rating() / ec_users_get_show_ratings() - extrachill/rate-show and extrachill/get-my-show-ratings abilities, current user only, REST-visible for My Shows Fixes #480
Contributor
Homeboy Results —
|
This was referenced Oct 30, 2026
Member
Author
|
This repo is frozen after the monorepo cutover (Extra-Chill/extrachill#385). This PR was ported with its commits intact to Extra-Chill/extrachill#409, so it's closing here. Continue the work there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes Extra-Chill/data-machine-events#480.
Show ratings become personal. A fan rates past shows they attended on My Shows, and only they can see those ratings. Public comment-based ratings are being removed from data-machine-events (Extra-Chill/data-machine#3788), and My Shows is moving onto these abilities (Extra-Chill/extrachill#1058). Merge this first.
ratingcolumn onec_concert_tracking. The table installer used to run once behind a one-shot flag, so it couldn't add columns. It's now gated onEXTRACHILL_USERS_CONCERT_TRACKING_SCHEMA_VERSION(v2), following the import-runs table pattern, and the legacy flag is still set.ec_users_set_show_rating()(1–5 sets, 0 clears; the show must be marked and past) andec_users_get_show_ratings()(returns only the owner's rated shows).extrachill/rate-showandextrachill/get-my-show-ratings. Both act only on the current user (nouser_idinput), require login, and areshow_in_rest.rating. A test asserts that the history, stats and attendee outputs contain no rating.Tests:
tests/unit/ShowRatingsTest.phphas 8 tests. This suite needs the external MySQL service that CI provides, so CI is the test gate. Lint matches main's baseline of 14 existing findings and adds none.Built directly outside Homeboy Cook: every Cook route failed to dispatch (the Lab runner is stuck on
unverified_retained_evidence, pi auth is revoked, Codex isn't installed locally). Chris Huber authorized the direct build. Written by Extra Chill Bot (Claude) at Chris Huber's request.