Skip to content

feat(hateoas-bff): restyle frontend with Editorial design#6

Open
feffef wants to merge 3 commits into
mainfrom
feat/editorial-design
Open

feat(hateoas-bff): restyle frontend with Editorial design#6
feffef wants to merge 3 commits into
mainfrom
feat/editorial-design

Conversation

@feffef
Copy link
Copy Markdown
Owner

@feffef feffef commented Apr 18, 2026

Summary

  • Restyles the hateoas-bff example frontend with the "Editorial" direction from a Claude Design handoff (warm off-white base, deep ink, coral accent, Inter Tight / Inter / JetBrains Mono). Keeps Alpine.js + Tailwind/DaisyUI intact — only styling changed.
  • Omits design elements that have no backing data in FrontendStateSchema (link-inspector drawer, per-source timings, view switcher). The signature coral-dotted source-attribution strip is wired to meta.dataSources.
  • Keeps brand, primary nav, and utility rail (search + wishlist + cart + greeting) on a single row.
  • Makes product cards in listing grids and recommendations fully clickable, with the original "View Details" link preserved for keyboard/screen-reader users.

Test plan

  • npm run typecheck
  • npm run test:playwright (82 passed, incl. axe-core a11y audits)
  • Visual spot-check: home, category, product detail, cart, wishlist, confirmation

🤖 Generated with Claude Code

feffef and others added 3 commits April 18, 2026 12:39
Apply the Editorial design direction from the claude.ai/design handoff
bundle (warm off-white background, deep ink, coral accent, Inter Tight /
Inter / JetBrains Mono typography) to the HATEOAS BFF example frontend.

Keeps DaisyUI + Tailwind + Alpine.js stack intact and preserves every
data-test attribute and ARIA hook the Playwright suite depends on —
only styling, layout, and copy change. Elements from the design mock
with no backing data in the current BFF schema (link-inspector drawer
with synthetic timings/data-source latency, the floating view-switcher,
hardcoded review counts) are omitted; meta.dataSources powers the
signature attribution footer strip.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Remove flex-wrap and shrink the gaps in the header so the utility rail
(search + wishlist + cart + greeting) stays on the same line as the
brand and primary nav.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Grid and recommendation cards now navigate to the product detail view
when clicked anywhere, not just on the small "View Details" link. Inner
actions (wishlist toggle, add-to-cart, View Details) use @click.stop so
they don't double-fire navigation. The list-item role is preserved so
accessibility-driven test selectors keep working, and "View Details"
remains the keyboard/screen-reader entry point.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant