Skip to content

Match the speaker picker's badges to the timeline and keep it on screen. - #96

Merged
dillonstreator merged 1 commit into
mainfrom
claude/people-display-styling-overflow-e4eaa3
Nov 27, 2026
Merged

dillonstreator merged 1 commit into
mainfrom
claude/people-display-styling-overflow-e4eaa3

Conversation

@dillonstreator

Copy link
Copy Markdown
Member

Summary

  • Badges: the picker colored a person who's already in the session by their place in Saved voices. The timeline colors them by their place in the session, so the same person showed a different color and shape (for example, a gray circle on the timeline and a pink diamond in the picker). People named in the session now get their session badge. Saved voices that aren't in the session keep their People badge. Unnamed speakers get the dashed "unknown" style the timeline uses.
  • Placement: the picker and Split dialog were placed using a guessed height (420/440px), so a tall picker ran off the bottom and its last rows and buttons couldn't be reached. They now measure their real size and open below the row, else above it, else as low as the window allows. They re-place themselves when their content or the window resizes. The picker is also capped to the window width.
  • placeNear in lib/placement.ts holds the placement logic and has unit tests. useAnchoredPosition does the measuring.

Not yet looked at in the running app (pnpm dev).

Checks

  • pnpm typecheck (via pnpm check: typecheck, lint, unit tests)
  • Changeset added
  • pnpm smoke:ui
  • Stays local-first

- People already in the session wear their session badge in the picker; unnamed speakers keep the dashed style.
- The picker and Split dialog measure their height and open below, above, or as low as the window allows.
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
lyra Ready Ready Preview Nov 27, 2026 7:08pm UTC

@dillonstreator
dillonstreator merged commit 65a7dcd into main Nov 27, 2026
13 checks passed
@dillonstreator
dillonstreator deleted the claude/people-display-styling-overflow-e4eaa3 branch November 27, 2026 19:09
@adavila0703 adavila0703 mentioned this pull request Nov 27, 2026
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