Skip to content

Add horizontal scrolling for orchestration pill bar#10957

Merged
advait-m merged 2 commits into
masterfrom
advait/orchestration-pill-bar-scrolling
May 14, 2026
Merged

Add horizontal scrolling for orchestration pill bar#10957
advait-m merged 2 commits into
masterfrom
advait/orchestration-pill-bar-scrolling

Conversation

@advait-m
Copy link
Copy Markdown
Member

@advait-m advait-m commented May 14, 2026

Loom: https://www.loom.com/share/d084bf3c39814a459ad0f3bfc3cda539
Fixes https://linear.app/warpdotdev/issue/QUALITY-710/add-horizontal-scroll-bar-to-pill-bar

Description

Makes the orchestration pill bar horizontally scrollable when it overflows the pane width via scrollbar drag, trackpad swipe, or vertical mouse wheel. Scrollbar is a 4px overlaid hairline so the bar height stays constant. Same treatment applied to the breadcrumb row in split-off panes for visual consistency.

Scroll position is shared across sibling panes in the same orchestration tree (different orchestrators each get their own). The mouse-wheel-to-horizontal-scroll behaviour is a new opt-in builder flag on the shared scrollable element — no-op for everyone who doesn't ask for it. Also narrows the pane header's drag region to just the title row so the new scrollbar thumb isn't eaten by the drag handler (mirrors the code view's tabbed header pattern).

Testing

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

Makes the orchestration pill bar horizontally scrollable when there
are more child agents than the pane can fit. Adds click-and-drag,
trackpad side-swipe, and bare mouse-wheel panning. Pull the scroll
position into the shared singleton so navigating between sibling
panes preserves the user's scroll offset, and apply the same thin
hairline scrollbar to the split-off pane breadcrumb row.

Also fixes a hit-target collision between the pane's drag handler
and the new scrollbar by narrowing the draggable region to just the
title row, mirroring the pattern already used by the code view.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 14, 2026
@advait-m advait-m changed the title Orchestration pill bar: scrollable row + shared scroll state Add horizontal scrolling for orchestration pill bar May 14, 2026
…remap intent

Co-Authored-By: Oz <oz-agent@warp.dev>
@advait-m advait-m marked this pull request as ready for review May 14, 2026 22:25
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 14, 2026

@advait-m

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@advait-m advait-m requested a review from cephalonaut May 14, 2026 22:25
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

Reviewed the horizontal scroll support for the orchestration pill bar and breadcrumbs, the shared pill-bar model state, the narrower pane-header drag region, and the opt-in cross-axis wheel remapping.

Concerns

  • None found in the changed lines. The user-facing visual evidence requirement is satisfied by the Loom link in the PR body.

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

.with_horizontal_scrollbar(ScrollableAppearance::new(ScrollbarWidth::Custom(4.), true))
// Let a standard vertical mouse wheel pan the bar horizontally;
// trackpad horizontal swipes already work through the default path.
.with_remap_cross_axis_wheel_to_main_axis(true)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a scroll wheel user, this is great!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fellow mice users unite!!

@advait-m advait-m merged commit cc9ef06 into master May 14, 2026
53 of 55 checks passed
@advait-m advait-m deleted the advait/orchestration-pill-bar-scrolling branch May 14, 2026 23:06
lawsmd pushed a commit to lawsmd/cortex that referenced this pull request May 22, 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.

2 participants