Skip to content

Truncate long transcripts in menu bar to 35 characters#60

Merged
zachlatta merged 2 commits intozachlatta:mainfrom
zodwick:design-improvements
Apr 4, 2026
Merged

Truncate long transcripts in menu bar to 35 characters#60
zachlatta merged 2 commits intozachlatta:mainfrom
zodwick:design-improvements

Conversation

@zodwick
Copy link
Copy Markdown
Contributor

@zodwick zodwick commented Apr 3, 2026

Summary

  • Truncate last transcript text in the menu bar to 35 characters with an ellipsis to prevent horizontal overflow (NSMenu ignores SwiftUI frame/layout constraints)
  • Add CLAUDE.md with project context and build instructions

Test plan

  • Run the app and dictate a transcript longer than 35 characters
  • Verify the menu bar item shows the truncated text with "…" suffix
  • Verify short transcripts (≤35 chars) display in full without ellipsis

🤖 Generated with Claude Code

The MenuBarExtra .menu style renders through NSMenu which ignores SwiftUI
frame/layout constraints, causing long transcripts to overflow horizontally.
Truncate the string in code with an ellipsis instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@zodwick
Copy link
Copy Markdown
Contributor Author

zodwick commented Apr 3, 2026

Slightly opinionated. wdyt @zachlatta

Before
image

After
image

@zachlatta
Copy link
Copy Markdown
Owner

Please remove CLAUDE.md, then otherwise LGTM!

@zodwick
Copy link
Copy Markdown
Contributor Author

zodwick commented Apr 4, 2026

@zachlatta done !

@zachlatta zachlatta merged commit c01d67f into zachlatta:main Apr 4, 2026
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