Colour-code state chips #165

Closed
opened 2026-08-24 11:23:47 +01:00 by naps62-yolo · 0 comments
Owner

Chips are monochrome, so a season row does not say at a glance whether it is
satisfied, waiting on a grab, or not tracked at all.

Per the amended §4.2, the status palette becomes a state ramp:

  • on disk / complete — green (--signal-ok)
  • wanted but not yet found — amber (--signal-warn)
  • downloading — violet (--status-airing)
  • untracked — neutral
  • TMDB rating stars — amber

Every token already exists in web/src/style.css.

What to change

Apply the ramp wherever a chip carries one of those states:

  • the season counts chip (N/M on disk) — green when N == M and M > 0,
    amber when episodes are wanted and missing, neutral when the season is
    untracked and nothing is wanted
  • episode state chips
  • the derived-status chip (§4.2: airing, incomplete, waiting, complete,
    ended)
  • movie state chips, so movies and series read the same
  • the rating star in starIcon, and its smaller .row-rating variant

Drive it from data attributes on the chip, as the stylesheet already does for
data-verdict and data-status. No inline styles.

Constraints

The word stays in every chip. Colour is an accelerator, never the only carrier
of state — that part of §4.2's original reasoning survives the amendment, and
the amended text says so.

Contrast: these sit on --panel-raised at small text sizes. Check each
foreground against its actual background rather than trusting the token names.

Done looks like

  • A fully-satisfied season reads green, one with missing wanted episodes amber,
    a downloading one violet, an untracked one neutral.
  • Rating stars are amber everywhere they appear, detail pages and search rows
    alike.
  • Verified in the browser against a real library, not only a fixture.

Non-goals

  • Geometry is owned by the control-sizing issue this one depends on. Do not
    resize anything here.
  • Release verdict chips (eligible / waived / rejected, §9.3) keep the
    colours they have. That scheme is already deliberate and is not part of this
    change.

Depends on: #159, #164

Chips are monochrome, so a season row does not say at a glance whether it is satisfied, waiting on a grab, or not tracked at all. Per the amended §4.2, the status palette becomes a state ramp: - on disk / complete — green (`--signal-ok`) - wanted but not yet found — amber (`--signal-warn`) - downloading — violet (`--status-airing`) - untracked — neutral - TMDB rating stars — amber Every token already exists in `web/src/style.css`. ## What to change Apply the ramp wherever a chip carries one of those states: - the season counts chip (`N/M on disk`) — green when `N == M` and `M > 0`, amber when episodes are wanted and missing, neutral when the season is untracked and nothing is wanted - episode state chips - the derived-status chip (§4.2: `airing`, `incomplete`, `waiting`, `complete`, `ended`) - movie state chips, so movies and series read the same - the rating star in `starIcon`, and its smaller `.row-rating` variant Drive it from data attributes on the chip, as the stylesheet already does for `data-verdict` and `data-status`. No inline styles. ## Constraints The word stays in every chip. Colour is an accelerator, never the only carrier of state — that part of §4.2's original reasoning survives the amendment, and the amended text says so. Contrast: these sit on `--panel-raised` at small text sizes. Check each foreground against its actual background rather than trusting the token names. ## Done looks like - A fully-satisfied season reads green, one with missing wanted episodes amber, a downloading one violet, an untracked one neutral. - Rating stars are amber everywhere they appear, detail pages and search rows alike. - Verified in the browser against a real library, not only a fixture. ## Non-goals - Geometry is owned by the control-sizing issue this one depends on. Do not resize anything here. - Release verdict chips (`eligible` / `waived` / `rejected`, §9.3) keep the colours they have. That scheme is already deliberate and is not part of this change. --- Depends on: #159, #164
naps62-yolo added this to the Feedback pass milestone 2026-08-24 11:23:47 +01:00
naps62-yolo added the phase/5-uitype/featuredifficulty/moderatearea/web labels 2026-08-24 11:23:47 +01:00
naps62-yolo added a new dependency 2026-08-24 11:23:53 +01:00
naps62-yolo added a new dependency 2026-08-24 11:23:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: yolo/arr#165