Skip to content

feat(screens): identity page with reference teams, pass-risk, cult corner (T-034) - #11

Merged
BrandanBurgess merged 22 commits into
mainfrom
integration
Jul 16, 2026
Merged

feat(screens): identity page with reference teams, pass-risk, cult corner (T-034)#11
BrandanBurgess merged 22 commits into
mainfrom
integration

Conversation

@BrandanBurgess

Copy link
Copy Markdown
Owner

T-034: Identity page (Brief §4 step 20)

Board-first identity browser with three segments (Reference teams / Style archetypes / Cult corner) and search. The four scripted reference-team animations play on the preview board (e2e asserts actual ball-token movement), static teams render their shape, detail-only slots render as detail panels with no invented visualization. Reference cards follow the five-part Section 6 template; archetypes add the pass-risk block (Encouraged/Off-menu/Tempo). Reuses PatternPreviewBoard and the patterns page's board-first layout; the only T-031 file changes are two export keywords.

Includes two product fixes found during verification: tile search no longer matches internal code slugs (user-visible fields only), and long identity titles now truncate on phone width instead of pushing the Clear button out of reach.

DoD (Brief §5, Screens)

  • Page matches PNGs 13, 33, 40-42, 44, 45 across the three themes on desktop and phone frames; gold-only interactive; red never a call to action
  • The four scripted animations play (per-team e2e asserting token movement); static teams render their shape
  • Every reference team card follows the five-part Section 6 template; "curate, never lock" copy tone verified
  • All five nav entries now live; whiteboard spec's inert-nav loop retired
  • make verify green on integration post-merge (playwright 74 both viewports, pytest, vitest, em-dash scan, seed validator)

Interpretations flagged (defaults shipped, not blocking)

  • PNGs 13/33 show a superseded flat-list layout; built board-first per the design README's interaction spec and the newer PNGs (README wins visuals per CLAUDE.md).
  • Cult cards render youth_takeaway (seed data has it; only the old mockup's hardcoded array lacked it).
  • No Formation & shape row fabricated for archetypes; it renders only where the data supports it (reference teams).

🤖 Generated with Claude Code

BrandanBurgess and others added 22 commits July 16, 2026 02:39
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…T-030)

Whiteboard page (Brief step 16, PNG 01-05/14/34): toolbar, view menu
(zones + thresholds), record/replay, and save into My Patterns, all
persisted through the scoped query layer (backend/app/routers/whiteboard.py)
into the boards and saved_patterns rows (doc 03 4.2/4.3). Delete is
coach-only, enforced server-side (403 for players), and every saved
pattern is author-stamped from the caller's own membership, never a
client-supplied field.

Fixes a real reload bug: the view menu's settings popover floated above
the toolbar and, left open, could visually sit on top of a token (e.g.
the ball's default spot, or any token near the toolbar on a phone-width
board). A drag or click landing there hit the popover instead of the
token, and for a checkbox's label that silently flipped a zone toggle
the user never touched, which then persisted to the boards row on
reload. Fixed by closing the view menu when recording starts (a
deliberate mode switch) and, for phone-width boards where the popover
has no gap in the pitch it can occupy without covering some token,
pinning it to the viewport's top edge instead of floating over the
pitch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BrandanBurgess
BrandanBurgess merged commit 357cee1 into main Jul 16, 2026
1 check passed
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