Fix New worktree config clipping in tab config menu#10542
Fix New worktree config clipping in tab config menu#10542SagarSDagdu wants to merge 1 commit intowarpdotdev:masterfrom
Conversation
The horizontal tab-bar chevron menu used the 186px default width while the vertical-tab variant used 268px. Both render the same unified_new_session_menu_items, and 186px is too narrow for the "New worktree config" label. Always use 268px. Fixes warpdotdev#10269
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I reviewed this pull request and requested human review from: Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the unified new-session/tab config menu to use the same 268px width for both horizontal chevron and vertical-tab entry points, which addresses clipping for the longer New worktree config label. The removed MENU_DEFAULT_WIDTH import follows from no longer using the narrower default in this path.
Concerns
- None.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Description
Fixes the clipping of
New worktree configin the unified new-session/tab config menu opened from the horizontal tab-bar chevron.The chevron variant used
MENU_DEFAULT_WIDTH(186px) while the vertical-tab+variant already used 268px. Both branches render the sameunified_new_session_menu_items, and 186px is too narrow for the longer label. Both variants now use 268px.Linked Issue
Fixes #10269
ready-to-implement.Screenshots / Videos
Before
After
Testing
cargo check -p warppasses.cargo run -p warp --bin warp-oss) launches; attached before/after screenshots of the chevron menu in horizontal-tab mode withTabConfigsenabled.Agent Mode
CHANGELOG-BUG-FIX: Fix
New worktree configclipping in the tab-bar new-session menu.