Repository navigation
feat(ui): stack the agent log panel in narrow panes - #1787
Merged
trunk-io[bot] merged 1 commit intoOct 7, 2026
Merged
trunk-io[bot] merged 1 commit into
trunk-io[bot] merged 1 commit into
Conversation
A view panel is now a named inline-size container. Below 560px, the agent view moves its log panel from a 340px right column into a bottom row capped at 40% of the height. The handle stays whole, the model and cwd truncate so Share stays in view, and the minimize caret points down/up. A ~318px split pane no longer clips the body or header. Adds the narrow-pane visual shot and refreshes split-view.png, whose right pane is the narrow agent view. Both are local captures under the pinned dev shell (DL-399). Spec-impact: none Refs RIG-4682 Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
rigel-mintaka
changed the base branch from
main
to
compass-ui/rig-4446-split-pane
October 6, 2026 12:56
|
Compass engineering docs preview: https://compass-ux-4682-narrow-agent.compass-eng-docs.pages.dev Deployed from |
rigel-mintaka
marked this pull request as ready for review
October 6, 2026 13:23
rigel-mintaka
changed the base branch from
compass-ui/rig-4446-split-pane
to
main
October 6, 2026 18:13
rigel-mintaka
changed the base branch from
main
to
compass-ui/rig-4446-split-pane
October 6, 2026 18:13
rigel-mintaka
changed the base branch from
compass-ui/rig-4446-split-pane
to
main
October 6, 2026 23:46
rigel-mintaka
changed the base branch from
main
to
compass-ui/rig-4446-split-pane
October 6, 2026 23:46
mattwilkinsonn
added this pull request to stack #1838
October 7, 2026 00:43
mattwilkinsonn
approved these changes
Oct 7, 2026
|
This pull request was merged into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of a stack containing 3 PRs:
mainA view panel is now a named inline-size container. Below 560px, the agent
view moves its log panel from a 340px right column into a bottom row
capped at 40% of the height. The handle stays whole, the model and cwd
truncate so Share stays in view, and the minimize caret points down/up.
A ~318px split pane no longer clips the body or header.
Adds the narrow-pane visual shot and refreshes split-view.png, whose
right pane is the narrow agent view. Both are local captures under the
pinned dev shell (DL-399).
Spec-impact: none
Refs RIG-4682
Co-authored-by: Matt Wilkinson matt@rigel.build
Summary
The agent view now fits narrow split panes. Before, a ~318px pane clipped it, because the 340px log panel sat in a right-hand column.
.view-panelis now a named inline-size container (view-panel). It is the box every routed view fills, in both single and split layouts. An element cannot query its own size, so the query sits on the panel rather than on.agent-view..agent-viewstacks its log panel as a bottom row capped at 40% of the height. The trace scrolls inside that cap. The minimized rail becomes a one-line bottom bar, and the caret points down to minimize and up to expand.logOpenis one store signal shared by every pane, so minimizing it for a narrow pane would also close the panel in a wide one.Verification
visual-gate: 15 passed.narrow-pane.png: the agent pane of a W V split.split-view.png: its right pane is the narrow agent view.agent.png(the wide agent view), still match..agent-viewscrollWidthequalsclientWidth(318) with the log panel open and minimized. Before the change,scrollWidthwas 441.compass-ui:stylelint,typecheckanddev-smokepass, and Biome is clean on the spec.compass-ui:testpasses 1292; the 4 env-secrecy tests fail only because a jj workspace has no.git.Risks
.view-panel. Each panel takes its width from its flex parent, never from its content, and overlays render outside it. The 13 unchanged shots cover the other views.Compatibility
CSS only. No API or store change.
Documentation
None.
Refs RIG-4682