Skip to content

Size popover width to fit worktree names, truncate from middle - #5

Merged
nnutter merged 2 commits into
masterfrom
content-size
Oct 3, 2026
Merged

nnutter merged 2 commits into
masterfrom
content-size

Conversation

@nnutter

@nnutter nnutter commented Oct 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

@nnutter
nnutter force-pushed the content-size branch 2 times, most recently from f7be3cf to f5d8cf4 Compare October 3, 2026 22:46
@nnutter
nnutter enabled auto-merge October 3, 2026 22:46
The pi mise-hooks extension runs mise run on-stop once the agent
settles, so hook failures surface automatically instead of needing
manual validation runs.
The popover was fixed at 400pt so long worktree@repo names cut off
the repo half. Measure the longest row text, including the icon
cluster chrome, and clamp the width to 300-600pt, using middle
truncation so both ends stay visible.
@nnutter
nnutter merged commit b56a6b3 into master Oct 3, 2026
1 check passed
@nnutter
nnutter deleted the content-size branch October 3, 2026 23:34
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