Repository navigation
Redesign UI: lively minimalist, light-default theme, IMDb/RT discover filters - #1
Merged
Merged
Conversation
…rome Full interactivity direction (see docs/DECISIONS.md, 2026-09-28): PLAN.md's old anti-motion rule (one orchestrated moment, no hover lifts, no card glows) is deliberately relaxed. The accent family grows from one gold to five jewel-tone colours (marigold/verdigris/coral/violet/azure), each with one job, so variety stays systemic rather than decorative. - src/lib/scoreTier.ts: shared great/good/low tier colouring, reused by PosterCard ratings and the Scorecard so a colour always means the same thing. - src/lib/accents.ts: cycles genre chips through the accent family (home page and title page). - PosterCard/PosterImage: hover glow in the card's own score-tier colour, image zoom, title colour shift; Rail/PosterGrid stagger their entrance. - Scorecard: scores count up on arrival and colour by tier; Tomatometer dot is now a real dot. - Button/Dialog/Select/Kbd: interactive chrome moves off the 2px poster-corner radius onto Tailwind's default md/lg/full scale, so content and touch targets read as two different materials; posters themselves stay sharp. - Header: glass blur, glowing search trigger, decluttered region control (no more boxed <select>), a coral pop-in badge for the watchlist count. - Hero: slow Ken Burns zoom, staggered text entrance. - Verified with a full typecheck/lint/test/build pass and a Playwright screenshot pass (desktop + 375px mobile) across home, title, command palette and genre pages — no console errors, all tier colours confirmed via computed styles. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ed home page Light becomes the default palette (warm paper ground, independently-tuned accents), with the original dark palette preserved behind a header toggle rather than replaced. Theme choice persists to localStorage and applies before first paint via an inline head script, so there is no flash of the wrong theme. Home page trimmed from ten rails to six, each retitled with a dry, specific voice instead of a literal label. The six genre-specific rails are replaced by a new inline discover bar (src/features/browse/DiscoverBar.tsx): pick any number of genres, OR'd via TMDB's with_genres pipe syntax, plus a rating floor, and it swaps the curated rails for a live /discover grid; clearing every genre brings the rails back. Fixed three theme-unsafe hardcoded values found during the pass: text-ground used where text-on-accent was meant (Button, Layout skip link, GenrePage checked state), and three hardcoded shadow rgba() literals replaced with color-mix(in oklab, var(--color-x) N%, transparent) so glows and shadows respond to the active theme. Updated PLAN.md section 6 and docs/DECISIONS.md to record the theme system, the accessibility-driven colour choices, and the home page decluttering rationale. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The discover bar's rating filter only ever covered TMDB's own score, because TMDB's /discover endpoint has no idea what IMDb or Rotten Tomatoes think of a title — those live in our own nightly-built ratings shards, keyed by IMDb ID, which a live discover result doesn't carry. Added two more floors (IMDb, Rotten Tomatoes) alongside the existing TMDB one. Each candidate TMDB returns is resolved to its IMDb ID (tmdb.ts: getImdbId) and looked up in the same ratings shards the rest of the app already uses (ratings.ts: fetchRatingsByImdbIds, deduplicated per shard). Since this can only narrow a page of results, a second TMDB page is pulled in whenever either floor is active (queries.ts: useDiscoverPages), and matched titles get their real IMDb score attached so the card shows it instead of falling back to TMDB's. Fetching ratings and applying a threshold are split into a query and a memo respectively, so moving a rating floor re-filters already-resolved data instantly instead of re-running the external lookups on every dropdown change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The 2026-09-28 redesign renamed the home rail titles for a drier, more specific voice (e.g. 'Trending this week' -> 'Everyone's already seen this'), but the Playwright smoke suite still asserted the old titles as region accessible names. Two of four e2e tests were failing in CI as a result: the rail-population test and the title-page navigation test, which depends on the same region to find its link. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
A two-round UI redesign plus a follow-up feature, all built on top of Phase 1's static catalogue:
Round 1 — lively minimalist redesign
Round 2 — light-default theme, decluttered home page
localStorageand applies before first paint via an inline script inindex.html, so there's no flash of the wrong themeDiscoverBar: pick any number of genres (OR'd via TMDB'swith_genrespipe syntax) plus a rating floor, and it swaps the curated rails for a live/discovergrid — replacing the old one-rail-per-genre approach entirelytext-groundused wheretext-on-accentwas meant; three hardcoded shadowrgba()literals replaced with theme-adaptivecolor-mix())Follow-up — IMDb and Rotten Tomatoes floors on the discover bar
/discoverendpoint has no idea what IMDb or Rotten Tomatoes think — those live in our own nightly-built ratings shards, keyed by IMDb ID, which a live discover result doesn't carrydocs/DECISIONS.mdandPLAN.md§6/§7.1 are updated throughout to keep the living spec in sync with what shipped.Test plan
tsc -b— typecheck cleanbiome check— lint cleanvitest run— 53/53 unit tests passingvite build— production build succeedscheck:bundle— first-load JS 108 KB gzipped, within the 180 KB budget🤖 Generated with Claude Code