Skip to content

improve(ui): keep panel tab controls visible during navigation - #176323

Merged
vyctorbrzezowski merged 11 commits into
mainfrom
brzezowski/session-ui-v3/panel-tabs-and-file-contracts
Oct 21, 2026
Merged

vyctorbrzezowski merged 11 commits into
mainfrom
brzezowski/session-ui-v3/panel-tabs-and-file-contracts

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Changing tabs in an overflowing panel can leave the active tab's close button outside the visible row.

User Impact

The active tab and its close action remain visible during keyboard and pointer navigation, without scrolling the surrounding page. Fixed tabs remain selectable without exposing a close action.

Why This Change Was Made

Scrolls the tab and close control as one visual unit, preserves the existing generic tab layout, and adds explicit desktop presentation. File navigation and draft contracts keep reader state separate from tab selection.

Risk and coverage

This also changes file-navigation and draft contracts used by the reader layers.

Recorded CI run 39339133321, job 118356841461, timed out waiting for “Update Mac app and restart” after Retry in the skipped-update scenario. The update-confirmation, native bridge, fixture, and runtime inputs match upstream; this PR's shared menu and style changes do not affect that dialog. This is classified as unrelated by source and execution-path scope, not by a successful rerun. The exact trigger remains unknown; scheduled main ran the same case successfully, and no update-flow repair is included.

Evidence

Workspace view contracts now use one type-only owner, removing the shared file-state import cycle without changing runtime output. Import-cycle checks, the selected type-check graphs, scoped lint, formatting, and independent review passed.

  • Tab-strip selection and keyboard/overflow checks passed: 17 unit and six Chromium cases (3.37 s command wall).

Visual evidence

Captured before: dccff201b07e. Captured after: 5856f7237579.

Synthetic fixtures and a mock Gateway show the integrated session UI at these revisions. These images are not isolated proof of this PR; stills do not establish interaction or live-service results.

Published comparisons: Files and mobile conversation.

Files on desktop — dark

The baseline reader replaces the catalog; the updated view keeps the populated catalog beside the reader. Full views include both file tabs; crops focus on the catalog and reader.

Full view

Before After
Files on desktop — dark: Before — full view Files on desktop — dark: After — full view

Detail 1

Before After
Files on desktop — dark: Before — detail 1 Files on desktop — dark: After — detail 1
Additional views and states

Files on desktop — light

The same file and tabs in light mode. The baseline long line clips horizontally; the updated reader wraps it. This does not claim identical wrapping.

Full view

Before After
Files on desktop — light: Before — full view Files on desktop — light: After — full view

Detail 1

Before After
Files on desktop — light: Before — detail 1 Files on desktop — light: After — detail 1

@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 18, 2026
@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 6458785a7f09a70eec16bc23a7a26cf0d3af3033, but the PR head is now eeb8a946b2a1ee2fcb4ce8a03d6bef15bdb77402. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-10-18T18:38:57.327Z sha 6458785 :: needs changes before merge. :: [P2] Route keyboard reveal through the row-only scrolling boundary | [P3] Move unused reader contracts alongside their production consumers

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from 6458785 to 323903d Compare October 19, 2026 11:37
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 19, 2026 11:39
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from 323903d to a983fa2 Compare October 19, 2026 11:44
@vyctorbrzezowski vyctorbrzezowski added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 19, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from 8abca1d to 7a29ade Compare October 19, 2026 18:51
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from 7a29ade to d6103b9 Compare October 19, 2026 20:08
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from d6103b9 to eeb8a94 Compare October 19, 2026 21:11
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 19, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from eeb8a94 to 666ccce Compare October 19, 2026 23:01
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from fcf9716 to f57ff19 Compare October 20, 2026 14:52
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch 2 times, most recently from c1839cc to c40c015 Compare October 20, 2026 19:56
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch from c40c015 to afba48f Compare October 21, 2026 01:20
Base automatically changed from brzezowski/session-ui-v3/shared-session-controls to main October 21, 2026 01:22
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL and removed size: L labels Oct 21, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit d41a1fd into main Oct 21, 2026
57 of 99 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/session-ui-v3/panel-tabs-and-file-contracts branch October 21, 2026 01:24
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…law#176323)

* feat(ui): add shared session panel presentation primitives

* fix(test): preserve viewport geometry during UI captures

* fix(ui): temporarily allow current chat boot size

* test(ui): let manual startup retry receive its click

* improve(ui): keep panel tab controls visible during navigation

* refactor(ui): narrow workspace state exports

* fix(ui): confine keyboard tab reveal to its row

* refactor(ui): centralize workspace presentation contracts

* style(ui): format workspace contract imports

* refactor(ui): derive workspace view contract at its shared owner

* refactor(ui): separate sidebar view contracts from content types
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant