project-bifrost-platform/tests
Jonathan Hvid 243a456880 feat(pulse): nav restructure, white surfaces, membership card, dispatches
Nav (AppLayout.astro): brand stays left; everything else is a single
right-aligned flex group — Pulse · Roadmap · Members · Events · [Admin
if fenja] · 0.5px vertical divider · name · Sign out. The .nav-user
wrapper is gone; the name and logout button now belong to the same flex
flow as the link list.

/pulse:
- ActivityTicker render removed. The component file gets a one-line
  deprecation comment; the activity table and write hooks stay in place
  for later use.
- 'X others online now' chip strip removed — including all its supporting
  helpers and styles in the page.
- CouncilMark replaced with <MembershipCard> in the right column of the
  preview row. The roadmap preview is now a white --surface-card with
  0.5px border; pulse-card switches to the same white surface and
  --radius-lg. The .chosen pulse option uses --pigment-terracotta border
  and a 6% terracotta tint via color-mix.
- <DispatchesSection limit={4} /> and <RecentlyFromTheCouncil /> stacked
  below the preview row, in the position the online-now strip vacated.
- Vote-count denominator pulls from countCabMembers() and renders via
  voteCountSentence(votes, total) — a new helper covering 0/1/5+ cases.
- Event row: dark dinner card now uses --ink/--ink-text; light card uses
  --surface-card with 0.5px border.

Tests: 3 new cases for voteCountSentence (0/1/5). 36/36 passing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 16:02:46 +02:00
..
dispatches.test.ts feat(component): DispatchesSection + reusable Avatar + tests 2026-05-11 15:57:52 +02:00
focus-tags.test.ts feat(db): dispatches + member-number allocation + focus-tags parser 2026-05-11 15:55:35 +02:00
home-route.test.ts test: vitest suite — pulse status, vote uniqueness, home route 2026-05-11 14:45:55 +02:00
member-number.test.ts feat(db): dispatches + member-number allocation + focus-tags parser 2026-05-11 15:55:35 +02:00
pulse-status.test.ts test: vitest suite — pulse status, vote uniqueness, home route 2026-05-11 14:45:55 +02:00
setup.ts test: vitest suite — pulse status, vote uniqueness, home route 2026-05-11 14:45:55 +02:00
vote-count.test.ts feat(pulse): nav restructure, white surfaces, membership card, dispatches 2026-05-11 16:02:46 +02:00
votes.test.ts test: vitest suite — pulse status, vote uniqueness, home route 2026-05-11 14:45:55 +02:00