Skip to content

Clip branch picker labels from left#10788

Draft
moirahuang wants to merge 1 commit into
masterfrom
oz-agent/clip-branch-picker-left
Draft

Clip branch picker labels from left#10788
moirahuang wants to merge 1 commit into
masterfrom
oz-agent/clip-branch-picker-left

Conversation

@moirahuang
Copy link
Copy Markdown
Contributor

Description

  • Updates the branch picker so long branch names clip from the left, preserving the rightmost/suffix portion that usually disambiguates branches.
  • Applies the existing render-time ClipConfig::start() pattern used by repo picker rows to branch picker menu rows.
  • Adds narrowly scoped text-clip plumbing for text+icon button labels so the collapsed branch picker top bar also clips from the left.

Linked Issue

Slack feedback: "we should clip from left in the branch picker dropdown"

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warpui_core

  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warp --lib (passes; existing slash command unused-variable warnings remain)

  • Attempted targeted rustfmt on touched files, but rustfmt is not installed for the sandbox toolchain.

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

Not captured in this sandbox environment.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Co-Authored-By: Oz [email protected]

Conversation: https://staging.warp.dev/conversation/2dc48d02-eeeb-4dcd-909c-d0547e7bfd81
Run: https://oz.staging.warp.dev/runs/019e1f0e-14bc-7551-85fe-0c0df19f3a21
This PR was generated with Oz.

@cla-bot cla-bot Bot added the cla-signed label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant