Skip to content

templates(feat): expand the gallery to six concepts + category filtering - #340

Merged
Ducksss merged 9 commits into
devfrom
templates/gallery-expansion
Jul 25, 2026
Merged

Ducksss merged 9 commits into
devfrom
templates/gallery-expansion

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 25, 2026

Copy link
Copy Markdown
Owner

What this ships

Four new full-site Concept preview showcases, taking /templates from two concepts to six — which crosses the PRD's threshold for turning on category filtering.

Concept Brand Direction Motion hero
Commerce Fieldnote Warm cream + espresso ink, one ember accent; roast-to-order promise carried across every page hero-kinetic
Event Frameworks '26 Near-black + electric violet, oversized type — the gallery's first dark-first concept hero-aurora
Fintech Ledgerline Deep ink + cool slate + restrained teal; tabular figures, hairline rules, inverted paper bands for numbers hero-aurora
Portfolio Ilse Renko Near-monochrome, one narrow measure, generous empty margins — the quietest concept hero-kinetic

Each is 5 complete pages with its own shell, keyboard-operable mobile menu, scoped theme, and bespoke fictional content. All twenty new pages compose existing demo twins — no new blocks, no twin edits.

The token story: the two motion heroes render under four new palettes purely through scoped theme tokens. Frameworks inverts the brand ramp so the aurora reads as an electric stage wash on near-black; Ledgerline dims the same mids into a quiet instrument glow. Neither touched the component. Both hero-kinetic users tune the film-still plate to their own palette (roast-drum dusk vs near-monochrome).

Also in this PR

  • TemplateCategory extended with commerce | event | fintech | portfolio + matching labels.
  • Gallery category filtering at the 6-concept threshold (chips with per-vertical counts, All-concepts default).
  • Gallery/metadata copy updated — it previously said "SaaS and agency", now names all six verticals.
  • All 36 posters recaptured; 40 new darwin visual baselines (existing component and template baselines untouched).

Contracts held

Every concept: passes validateTemplateShowcase, scoped strictly under its own [data-template-theme] root (no :root/.dark/cross-scope writes), WCAG AA verified, reduced-motion CSS nets so captures and posters record finished frames, zero horizontal overflow at 390, zero console errors, and the exact aria-expanded/aria-controls mobile-menu contract the e2e suite asserts. No install command, waitlist, or literal price string on any concept surface — ticket/subscription tiers are expressed as release waves, cadence+weight, and basis points instead.

Independent verification by each track was unusually rigorous: numeric WCAG computation before writing CSS (Fieldnote), contrast measured against actual painted pixels across 102 probes with a 5.26:1 floor (Frameworks), and axe clean at zero violations across pages × widths × both motion modes (Ledgerline, Portfolio).

Verification

Full local pnpm test:release green on the first run, production-mode e2e: 252 int · 34 frontend · 69 components-visual · 62 templates-visual · 76 templates functional/a11y/geo. I also independently confirmed a full-page baseline renders every section (no blank bands from the scroll-reveal choreography) and reviewed all four home posters.

Post-merge / CI note

One visual-baselines workflow dispatch needed for linux: spec "templates-visual" (40 new template pages). Until minted, those cases skip gracefully on CI.

Follow-up filed separately

Three tracks independently hit the same product limitation: StatsProofDemo hard-codes a NORTHWIND wordmark and ContentQuoteDemo a placeholder logo block, forcing every concept to share one invented company (Northline already shows a visible mismatch). Making those content-driven is queued as its own change — it needs coordinated edits across the source block, twin, content type, docs, and baselines.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 25, 2026 6:25am
payload-components-97bf Canceled Canceled Jul 25, 2026 6:25am

Copilot AI review requested due to automatic review settings July 25, 2026 06:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 339a3800-b949-48b9-890f-d6ce22d169b4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch templates/gallery-expansion

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c54db040cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +15 to +18
commerceBrandTemplate,
eventConferenceTemplate,
fintechTrustTemplate,
portfolioSoloTemplate,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Mint Linux baselines before registering the showcases

On Linux CI, registering these four templates adds 40 visual cases, but the snapshot directory contains only their Darwin baselines. Because the existing templates already provide 20 Linux baselines, the coverage guard in templates-visual.e2e.spec.ts does not skip the platform; it reports every new desktop/mobile case as missing and fails pnpm run test:e2e. Commit the generated *-chromium-linux.png files before adding these templates to templateShowcases.

AGENTS.md reference: AGENTS.md:L204-L215

Useful? React with 👍 / 👎.

Ducksss and others added 9 commits July 25, 2026 13:17
…, fintech, portfolio)

Categories + labels, skeleton definitions/recipes over existing twins, scoped
theme + shell + provenance scaffolds, registry + shells registration. Posters
captured in the integration wave.

Co-Authored-By: Claude Fable 5 <[email protected]>
URL-synced client filter over server-rendered cards (progressive
enhancement; all concepts stay in the initial HTML). Chips derive from
registry category order + templateCategoryLabels.

Co-Authored-By: Claude Fable 5 <[email protected]>
Replaces the frozen commerce skeleton with the finished Fieldnote concept — a
fictional specialty-coffee roastery — across all five pages.

Definition (src/lib/templates/commerce-brand.ts, revision 2): bespoke
editor-shaped copy for every section, one canonical set of facts (roast day
Tuesday, twelve-kilo batches, 34 farms, the ribbon mill on Kestrel Street)
carried through Home, Collection, Our Story, Journal, and Contact. No prices
anywhere: standing orders are a cadence plus a weight. Recipes are unchanged
apart from tone banding and clearer section ids.

Theme (theme.css): warm cream paper, deep espresso ink, one burnt-orange ember
accent, --radius 1rem with pill actions, relaxed display tracking, ember
rule-and-label eyebrows in place of the catalog pill, and every backend-free
image placeholder repainted as a token-derived "product plate" so the concept
reads product-forward with no raster assets. One espresso band per page.

Shell: a new Fieldnote counter (espresso notice strip over a sticky cream
counter, inline bean mark, ember active-page dots, keyboard-operable mobile
disclosure) plus a static cream footer closing on an espresso rail.

Co-Authored-By: Claude Fable 5 <[email protected]>
Replaces the fintech foundation skeleton with the full Ledgerline concept: a
dense, institutional money-movement platform built on three tonal registers —
deep cool ink, a raised slate shelf, and an inverted pale "statement" band for
figures and written guarantees. Teal is signal only (primary action, eyebrow
index rules, live rail state, the hero's closing word), held at low chroma and
carried in two AA-safe registers so it clears 4.5:1 on both bases.

- Definition: bespoke Ledgerline copy across all five pages, one pricing truth
  (Core/Scale/Reserve) shared by the home teaser, the tier cards, and a
  15-row comparator matrix. Rates are basis points of settled volume, so no
  surface carries a literal price string. Revision bumped to 2.
- Theme: scoped token remap for all three registers, near-square geometry,
  tabular numerals, denser display scale with level tracking, mono index
  labels with a teal leading rule, hairline section rules, a ruled-column
  plate for inner-page heroes, a tightened tier matrix, and token-derived
  ledger-sheet art for the quote media slot (no assets).
- Shell: LedgerlineHeader (mono status rail + opaque sticky bar, transform-only
  entrance, keyboard-operable disclosure) and LedgerlineFooter (index columns,
  compliance chips, hairline figure strip), plus the drawn LedgerlineMark.
- Hero: --brand-100/--brand-200 retuned inside [data-aurora-root] to a cool,
  dimmer instrument glow; --brand-600 carries the serif-italic "line."

Verified: tsc and lint clean; template-showcases + demo-twins int specs pass
except the four expected "generated poster" assertions; five pages captured at
1280/768/390 plus a reducedMotion pass showing the finished frame; zero console
errors, no horizontal overflow at any width, and axe-core reports zero serious
or critical violations on all five pages with motion on and reduced.

Co-Authored-By: Claude Fable 5 <[email protected]>
Build out the Portfolio concept as "Ilse Renko", a fictional solo
designer-developer in Tallinn — the most restrained concept in the gallery.

Direction: cool off-white paper, near-black ink, and one low-chroma slate
accent used almost grudgingly (~5 appearances per page). Hairline rules
instead of card chrome — every specimen frame, panel border, pill, and
shadow is dissolved. One narrow 64rem measure shared by header, sections,
and footer, with a monospace section index printed in the left gutter above
1200px. The display type scale steps DOWN against the catalog default so
headings read as set copy; Geist Sans throughout, Geist Mono for labels and
indices, and exactly one italic serif word on the whole site — the closing
word of the home headline.

- Rewrite the definition with bespoke first-person copy: invented maker,
  clients, collaborators, quotes, and numbers. stats-proof and
  testimonials-wall are framed honestly for one person (years worked alone,
  projects logged, clients who came back; quotes about working with an
  individual). revision 1 → 2.
- One section swap: writing/topics content-showcase → content-columns, so
  the writing index stays text-forward instead of repeating the home page's
  showcase composition.
- New Shell with a still, single-deck masthead (RenkoHeader: aria-current,
  keyboard-operable full-width mobile sheet, Escape restores focus) and a
  paper footer carrying a sign-off, a "currently" note, and a last-touched
  date. The chrome never inverts; the only dark surface is the home page's
  record band.
- Token-derived plate art: every bg-muted image well is composed from
  color-mix() layers over the theme's own tokens, including a slate horizon
  at 72% that echoes the kinetic hero's film still, so a reserved plate
  reads as deliberate rather than missing. No raster assets anywhere.
- Hero tokens tuned so the plate and marquee read near-monochrome: --brand
  is the deep slate on paper and lifts to --ir-slate-glow only inside the
  ink plate, where a 45% accent would otherwise be invisible.
- Motion is transform-only and deliberately minimal: the footer sign-off
  rise and its rule draw, both gated by useReducedMotion plus a CSS
  @media net, so the pre-hydration frame posters capture is already final.
  The rise is driven by variants from an unclipped wrapper — whileInView on
  the masked line itself can never fire, since IntersectionObserver clips a
  target against its own overflow-hidden mask.

Verified: tsc and lint clean; template-showcases + demo-twins int specs pass
except the 4 expected poster assertions; five pages captured at 1280/768/390
plus a reducedMotion=reduce pass showing the complete frozen frame; zero
horizontal overflow and zero console errors on all five pages at 390; axe
(wcag2a/2aa/21a/21aa) reports zero violations across all five pages at both
widths and both motion preferences.

Co-Authored-By: Claude Fable 5 <[email protected]>
Frameworks '26 — a fictional two-day design + engineering conference in
Berlin, art-directed as the gallery's one near-black concept.

- Bespoke definition (revision 2): invented lineup, rooms, programme,
  venue logistics, and three release waves. Ticket tiers are expressed as
  waves ("Closed" / "On sale" / "Free") so no currency amount appears
  anywhere, and every CTA label either names a page in this concept's own
  navigation or reads as a state.
- Scoped dark token set: near-black violet-cast surfaces in three tonal
  bands, one electric violet used as a field for the wordmark chip and the
  ticket button and as a mark elsewhere, oversized 600-weight display type
  on zeroed corners, monospace room/date/time labels.
- hero-aurora tuned for near-black: the brand ramp is inverted so
  brand-100/200 read as an electric stage wash rather than pale tints, and
  a second scoped legibility pool guarantees AA for the word cascade and
  its serif-italic closing word.
- Poster shell: sticky two-deck masthead with a dateline strip, a
  keyboard-operable mobile disclosure, and an oversized footer lockup.
  All shell choreography is transform-only so the filled violet CTA never
  alpha-composites below AA.
- Imagery is entirely token-derived duotone plates with a halftone screen,
  so the concept ships no raster assets; PROVENANCE.md records that.

Verified: tsc and lint clean; template-showcases + demo-twins int specs
pass except the 4 known "generated poster" assertions; zero horizontal
overflow and zero console errors across all five pages at 1280/768/390;
axe wcag2a/2aa/21a/21aa reports 0 serious or critical violations on all
five pages; measured against actual painted pixels, every text run clears
AA with a 5.26:1 floor; reduced motion renders every section and every
shell reveal at its final frame.

Co-Authored-By: Claude Fable 5 <[email protected]>
…io) + recaptured posters

Fieldnote (specialty coffee), Frameworks '26 (conference, the gallery's
first dark-first concept), Ledgerline (money-movement infrastructure),
and Ilse Renko (solo maker). Each ships a scoped theme reusing a motion
hero under a new palette, bespoke fictional content, and its own shell.
Gallery intro copy now names all six verticals.

Co-Authored-By: Claude Fable 5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Ducksss
Ducksss force-pushed the templates/gallery-expansion branch from 8621fbb to 9b522fb Compare July 25, 2026 06:18
@Ducksss
Ducksss merged commit 8790418 into dev Jul 25, 2026
12 checks passed
Ducksss added a commit that referenced this pull request Jul 29, 2026
…e days

Triaged every bot review on the 60 PRs merged since 2026-07-24. Copilot was
quota-limited on all of them and Codex's one finding (#340 Linux baselines) was
handled by #342, so everything actionable is CodeRabbit's. Most of its findings
were already closed by #378/#380 or superseded by later work; two were false
positives. These five were still open and worth taking.

- frontend.e2e: pin the tablet wall fade (#399). The 2.75rem override IS that
  PR, and nothing asserted it — the existing fade check runs at 390px, outside
  the 640-1023px query, so deleting the rule stayed green, and the overrun
  ceiling is deliberately loose enough (60px) to swallow the 44px residue too.
  Asserted exactly, because matching the residue is the point.

- templates-a11y: accept the 3D identity as settled (#394). A reveal written
  with translate3d, or carrying a translateZ(0) compositor hint, serialises as
  matrix3d — the check saw only the 2D identity and would have failed the gate
  for a reveal sitting exactly where it belongs.

- painted-contrast: name the no-glyph-pixel skips (#394). unresolvedSelectors
  already exists so a skip cannot hide which node it dropped; this is the other
  way an unmeasurable node leaves the run, and it was a bare count.

- ComponentWall: fix the zoom comment (#396). It claimed every card shows true
  desktop proportions at every size. zoom pins the 1280px layout width, not the
  breakpoint — frontend.e2e's own comment says as much — and that claim is
  exactly what would mislead the next person curating frame heights.

- CONTRIBUTING: document the changed-vs-all snapshot trap (#375). A bare
  --update-snapshots skips baselines whose diff lands under tolerance, which is
  the same stale-baseline half-mint the section warns about, minus the missing
  file that would have revealed it. visual-baselines.yml explains this at
  length; the local instructions did not.

Skipped, with reasons: tokenising the wall fade heights and the mask-image
black stops (#399/#396/#370) — the token rule scans component utilities, not
globals.css, which defines tokens and carries raw lengths throughout, and a
mask's black is an alpha keyword rather than a colour; fading only
confirmed-overflow cards (#396) — the valve exists for content that has not
changed yet; moving privacy copy into site.ts (#372) — real per AGENTS.md, but
about/blog/brand-guide hold local copy too, so this belongs in one deliberate
pass; subset-aware blog visual validation (#375) — outputRoot defaults to the
repo, so a --slug render is incremental against committed assets and the
full-catalog gate is the correct final check.

Verified: lint, tsc, the three affected int specs, and both e2e specs green
(frontend 44 passed, templates-a11y 43 passed) in production mode.

Co-Authored-By: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Jul 29, 2026
…e days (#411)

Triaged every bot review on the 60 PRs merged since 2026-07-24. Copilot was
quota-limited on all of them and Codex's one finding (#340 Linux baselines) was
handled by #342, so everything actionable is CodeRabbit's. Most of its findings
were already closed by #378/#380 or superseded by later work; two were false
positives. These five were still open and worth taking.

- frontend.e2e: pin the tablet wall fade (#399). The 2.75rem override IS that
  PR, and nothing asserted it — the existing fade check runs at 390px, outside
  the 640-1023px query, so deleting the rule stayed green, and the overrun
  ceiling is deliberately loose enough (60px) to swallow the 44px residue too.
  Asserted exactly, because matching the residue is the point.

- templates-a11y: accept the 3D identity as settled (#394). A reveal written
  with translate3d, or carrying a translateZ(0) compositor hint, serialises as
  matrix3d — the check saw only the 2D identity and would have failed the gate
  for a reveal sitting exactly where it belongs.

- painted-contrast: name the no-glyph-pixel skips (#394). unresolvedSelectors
  already exists so a skip cannot hide which node it dropped; this is the other
  way an unmeasurable node leaves the run, and it was a bare count.

- ComponentWall: fix the zoom comment (#396). It claimed every card shows true
  desktop proportions at every size. zoom pins the 1280px layout width, not the
  breakpoint — frontend.e2e's own comment says as much — and that claim is
  exactly what would mislead the next person curating frame heights.

- CONTRIBUTING: document the changed-vs-all snapshot trap (#375). A bare
  --update-snapshots skips baselines whose diff lands under tolerance, which is
  the same stale-baseline half-mint the section warns about, minus the missing
  file that would have revealed it. visual-baselines.yml explains this at
  length; the local instructions did not.

Skipped, with reasons: tokenising the wall fade heights and the mask-image
black stops (#399/#396/#370) — the token rule scans component utilities, not
globals.css, which defines tokens and carries raw lengths throughout, and a
mask's black is an alpha keyword rather than a colour; fading only
confirmed-overflow cards (#396) — the valve exists for content that has not
changed yet; moving privacy copy into site.ts (#372) — real per AGENTS.md, but
about/blog/brand-guide hold local copy too, so this belongs in one deliberate
pass; subset-aware blog visual validation (#375) — outputRoot defaults to the
repo, so a --slug render is incremental against committed assets and the
full-catalog gate is the correct final check.

Verified: lint, tsc, the three affected int specs, and both e2e specs green
(frontend 44 passed, templates-a11y 43 passed) in production mode.

Co-authored-by: Claude Opus 5 <[email protected]>
@Ducksss
Ducksss deleted the templates/gallery-expansion branch July 30, 2026 09:15

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — 9b522fb0 Deployed Jul 25, 2026 by vercel[bot]
Preview – payload-components — 9b522fb0 Deployed Jul 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants