Skip to content

Remove menu item subtitles and fix persona card overflow#289

Merged
wesbillman merged 3 commits intomainfrom
rick/remove-subtitles
Apr 10, 2026
Merged

Remove menu item subtitles and fix persona card overflow#289
wesbillman merged 3 commits intomainfrom
rick/remove-subtitles

Conversation

@wesbillman
Copy link
Copy Markdown
Collaborator

Summary

  • Removed subtitle description text from all DropdownMenuItem components across agent action menus, persona menus, and team menus (3 files, net -114 lines). These looked cluttered in the app UI.
  • Fixed persona card overflow where the 3-dot menu button would escape the card boundary at small window widths by adding proper flex shrink constraints to PersonaIdentity.

Changes

  • ManagedAgentRow.tsx — Stripped subtitles from 10 menu items in AgentActionsMenu
  • PersonasSection.tsx — Stripped subtitles from 5 menu items + added overflow-hidden to card container
  • TeamsSection.tsx — Stripped subtitles from 5 menu items
  • PersonaIdentity.tsx — Added min-w-0 flex-1 to outer div and min-w-0 to name row so truncation works at small widths

Form field descriptions in CreateAgentDialogSections.tsx are intentionally preserved.

Test plan

  • Verify dropdown menus in My Agents, Personas, and Teams sections show clean Icon + Label items with no subtitle text
  • Resize window to small width and confirm persona cards truncate the name instead of overflowing the 3-dot menu outside the card
  • Confirm form field descriptions in the Create Agent dialog still display correctly

🤖 Generated with Claude Code

wesbillman and others added 3 commits April 10, 2026 09:39
Strip the inline subtitle spans and flex-col wrappers from
DropdownMenuItem components in ManagedAgentRow, PersonasSection,
and TeamsSection. Form field descriptions in CreateAgentDialogSections
are intentionally kept.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
DropdownMenuItem uses flex+gap layout, so bare text nodes render
identically to span-wrapped text. This aligns with the existing
pattern used in forum menu items.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add overflow-hidden to persona card container and min-w-0/flex-1 to
PersonaIdentity so flex items can shrink below content width. The
persona name now truncates properly when space is tight, keeping
the badge, info icon, and 3-dot menu inside the card boundary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wesbillman wesbillman merged commit 7956651 into main Apr 10, 2026
9 checks passed
@wesbillman wesbillman deleted the rick/remove-subtitles branch April 10, 2026 17:05
@wesbillman
Copy link
Copy Markdown
Collaborator Author

BEFORE:
Screenshot 2026-04-10 at 9 32 57 AM

AFTER:
Screenshot 2026-04-10 at 10 05 49 AM

tlongwell-block added a commit that referenced this pull request Apr 11, 2026
…ona-migration

* origin/main:
  feat(desktop): add Pulse social notes surface (#296)
  Fix flaky desktop smoke tests (#294)
  Add agent lifecycle controls to channel members sidebar (#291)
  Update nest_agents.md tagging info (#292)
  feat: add Sprout nest — persistent agent workspace at ~/.sprout (#290)
  Fix auth and SSRF vulns (#261)
  Add per-agent MCP toolset configuration to agent setup (#279)
  feat(desktop): team & persona import/edit flows (#288)
  Remove menu item subtitles and fix persona card overflow (#289)
  feat: Phase 1 video upload support (Blossom-compliant-ish) (#285)
  Add inline subtitles to menu items and field descriptions (#276)
  Improve ephemeral channel affordances and hide archived sidebar rows (#286)
  Fix @mention search to use word-boundary prefix matching (#278)
  Allow bot owners to remove their agents from any channel (#284)
  [codex] Polish agent selectors and settings layout (#283)

# Conflicts:
#	desktop/scripts/check-file-sizes.mjs
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