fix(desktop): persona button shows name (<=25 chars) + full name on hover#60
Merged
Conversation
…on hover The composer persona button showed the raw numeric AskSage id (e.g. '393') instead of a readable name. Use the existing personaTitle() to label it with the persona's name truncated to 25 chars, and set the button's data-tip to the full description so hovering shows the complete name. The apply toast now names the persona too, instead of its id. Verified in the dev preview: selecting #393 labels the button 'NT Concepts Capture Mana…' with the full description on hover. tsc clean. Co-Authored-By: Claude Opus 4.8 <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.
The composer persona button showed the raw AskSage numeric id (e.g.
393) instead of a name. Now it shows the persona's readable name (via the existingpersonaTitle()) truncated to 25 chars, with the full description on hover (data-tip). The apply toast also names the persona instead of its id.Verified in the dev preview: selecting #393 labels the button
NT Concepts Capture Mana…(25 chars) and hover showsAskSage persona · #393 | This persona acts as if they are an NT Concepts Capture Manager…. tsc clean.🤖 Generated with Claude Code