ui(shell): sidebar identity block shows the username only (#301) - #302
Merged
Conversation
The email line under the name was always truncated in the narrow rail and duplicated nothing useful — the username above it is the primary identity (ADR-0015) and the full email lives on the profile page the block already links to. Email-less accounts also rendered an empty second line here. The name keeps the #48 truncation contract (never pushes Sign out out of the rail) and gains the hover title the email line used to carry. Closes #301 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #301. The identity block in the bottom-left of the sidebar now shows
avatar + username only — the email line below it is removed. It was always
truncated in the narrow rail (no real address fits), duplicated nothing useful
(the username is the primary identity per ADR-0015, and the full email lives on
the profile page the block links to), and rendered as an awkward empty line for
email-less accounts.
Notes
truncates rather than pushing "Sign out" out of the rail — and gains the
hover
titlethe email line used to carry.Verification
participant): the rail renders exactly the username with the hover title,
no
@-text anywhere in the rail, and the Sign out button unaffected.npx tsc --noEmitclean,npx eslint .clean,npm run test373 passed,npm run buildsucceeds (Y.js singleton check passes).🤖 Generated with Claude Code