Skip to content

Fold the header identity pill into the profile nav link - #23

Merged
Randolin merged 1 commit into
mainfrom
claude/test-debug-profiles-qa-yvqluj
Aug 27, 2026
Merged

Randolin merged 1 commit into
mainfrom
claude/test-debug-profiles-qa-yvqluj

Conversation

@Randolin

Copy link
Copy Markdown
Owner

The signed-in header carried two controls for one idea: a Profile nav link, and a bordered identity pill after the nav that went to the same place. The pill read as a button that did nothing, and it competed with the brand for the row.

They are now one nav link — the creature avatar plus the persona name, hovering and highlighting like its siblings, and unambiguously a link because it sits among links.

The paw that looked duplicated

The pill rendered a literal 🐾, right beside the brand's paw mark.

It passed only [emoji] to moxy-creature-icon, which reverse-looks-up the animal by glyph. Every animal added after the emoji supply ran out at 108 reports GENERIC_CREATURE_EMOJI (🐾), which matches no entry in ANIMALS — so the lookup returned null and the component fell through to rendering the raw character. On one of the original 108 you'd have seen your actual creature; on any of the 192 newer ones, a paw.

It now uses moxy-creature-avatar, which keys off persona.words[2] and draws the ring and habitat backdrop.

The lopsided pill

Padding was 4px 10px 4px 7px, tuned for icon-plus-name. Under 720px .session-name is display: none, leaving a bare 16px icon adrift in a pill still sized for text. Padding now goes symmetric with the name.

The border is gone too — the avatar already wears a ring, and a pill around a ring was two nested outlines.

Verification

Full ladder green: format:check, typecheck:server, typecheck:scripts, all four unit suites, build, e2e (E2E PASS).

Also driven in a real browser at both breakpoints. Wide reads [avatar] opal-sapphire-rat Menagerie Groups Compare Settings How it works Log out ◐ with the brand undisturbed at the left; at 700px the name drops and the avatar sits centred.

app.spec.ts gains assertions that the chip is the profile link and carries an avatar, since the nav's first label is now the persona name rather than Profile.

🤖 Generated with Claude Code

https://claude.ai/code/session_012vo3TgYf2QpKpKBxoUc3nb


Generated by Claude Code

The signed-in header carried two controls for one idea: a "Profile" nav
link, and a bordered identity pill after the nav that went to the same
place. The pill read as a button that did nothing, and it competed with
the brand for the row.

They are now one nav link — the creature avatar plus the persona name,
hovering and highlighting like its siblings, and unambiguously a link
because it sits among links.

Three things get fixed on the way:

- The pill rendered a literal 🐾. It passed only [emoji] to
  moxy-creature-icon, which reverse-looks-up the animal by glyph; every
  animal added after the emoji supply ran out reports the generic paw,
  which matches nothing, so it fell through to the raw character — the
  same paw as the brand mark beside it. It now uses moxy-creature-avatar,
  which keys off the animal name and draws the ring and habitat backdrop.
- The pill was padded 4px 10px 4px 7px for an icon-plus-name, but under
  720px the name is hidden, leaving a bare 16px icon adrift in a wide
  pill. Padding now goes symmetric with the name.
- The border is gone. The avatar already wears a ring, and a pill around
  a ring was two nested outlines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vo3TgYf2QpKpKBxoUc3nb
@Randolin
Randolin merged commit ac880d4 into main Aug 27, 2026
2 checks passed
@Randolin
Randolin deleted the claude/test-debug-profiles-qa-yvqluj branch August 27, 2026 03:04
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.

2 participants