mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-04 05:17:14 +01:00
One person can hold several accounts: OrangeCat's identities are the first
case. The other accounts are listed under who is signed in, and a tap
switches.
- New optional props accounts ({ id, user, note? }) and onSwitchAccount(id).
A row is a face (photo, initials from the name, or a glyph), the name, and
one line with the note and the handle. The note leads so it survives a long
handle; another account's email is never shown.
- Same failure contract as sign-out: the row says it is switching, and a
switch that rejects keeps the menu open and says it did not complete.
- The rows are menu items, so arrows, Home and End reach them.
- Without the new props the menu renders exactly as before.
Browser suite: listed under a heading, 44px rows, a long name and handle
keep the panel on a 390px and a 320px screen, keyboard reach, a failed
switch, a completed one.
Claude-Session: https://claude.ai/code/session_019MDtmubu4vMeqp2pdae1Zy
Co-authored-by: Claude <noreply@anthropic.com>