Skip to content

improve(ui): polish rail and sidebar navigation - #200011

Merged
vyctorbrzezowski merged 16 commits into
mainfrom
brzezowski/side-rail-15-navigation-polish
Nov 17, 2026
Merged

vyctorbrzezowski merged 16 commits into
mainfrom
brzezowski/side-rail-15-navigation-polish

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Several rough edges remained after the section sidebars: the pages menu did not show where you are, Sessions sat in the pages menu, phone headers differed from desktop, Plugins and Skills grabbed focus, dashboards had no author, and a chat opened after a page without a sidebar kept the Dashboards list.

User Impact

⋯ marks a page that lives in its menu; Sessions opens from its sidebar group headings; the People sidebar reads the same on phones; Remote access is named consistently; Plugins and Skills leave focus alone; Sessions groups use the side panel expand icon; dashboard rows read "Mira · 2h ago" and agent-made dashboards use the agent's name; a conversation returns to the Sessions list after a page without a sidebar.

Why This Change Was Made

Small independent fixes that share the rail, the pages menu and the section sidebars. The website-dashboard and sidebar-customization e2e tests now reach Sessions and Usage without the pages menu.

Evidence

Screenshots come from the Control UI mock at the end of the series, so the after image can show later parts too.

Dashboards before, and the pages menu marking Dashboards after (left: main, right: after):

Dashboards before, and the pages menu marking Dashboards after

Dashboard rows with their author (left: main, right: after):

Dashboard rows with their author

  • pnpm tsgo:ui passes at this PR's head.
  • The unit tests of the files this PR touches pass at its head; the full UI unit suite passes at the end of the series (one failure also on main: a Workboard German relative-time string, "vor 1min", from the local ICU).
  • dashboard-website and sidebar-customization UI e2e pass at this head.
  • Local autoreview (Codex) over the whole series; its three findings are fixed in this series.
  • The full UI e2e suite was not run locally.

Update: Dashboards stays a gallery

With Dashboards back to a gallery without a sidebar, this PR no longer adds the author byline or grouping to a Dashboards sidebar, and no longer removes the gallery. The agent-name fix now applies to gallery cards and the gallery's author filter. It also registers the "Open Sessions" group-header label in the English catalog, which pnpm ui:i18n:verify required.

Side rail series, part 14 of 16. Stacked on #200010; review only this PR's commits.

Update: e2e repair

The full Control UI e2e run on the stack found tests this PR broke or product gaps it introduced; this PR now carries their fixes:

  • feat(ui): group the Dashboards sidebar like the gallery
  • test(ui): open the Sessions page in-app where the roster has no group heading
  • test(ui): pin only menu pages in the pin-menu focus e2e
  • test(ui): choose People presence from the filter on phones in the users filter e2e
  • test(ui): drop the Skills search focus check from the Plugins hub e2e

Update: review follow-up

  • feat(ui): open the Sessions page from the Sessions filter menu — a View all sessions link before Session sources, so the Sessions page is reachable when no group heading shows.

Approved navigation-stack JS budget

Vyctor approved the measured JavaScript byte cost for this navigation stack. These cumulative measurements compare this layer with paired main base 1d82bed0a7fef79012c38ea7e6184911aba27e63. Each cap equals the original main cap plus the measured delta, preserving existing headroom without adding another margin.

Metric Cumulative gzip delta Cap
Largest JS asset +3,932 B 576,372 B
Chat boot JS +4,089 B 1,329,669 B
New Session boot JS +4,338 B 820,970 B

CSS ceilings, request counts, startup ceilings and gate logic are unchanged. Byte measurements are delivery-size evidence, not latency measurements.

Maintainer benchmark compatibility

Kept the navigation benchmark aligned with the stack’s route catalog: removed retired Templates/Claws and Activity sidebar paths, and made Sessions use its real All Sessions action when the older Pages link is absent. Menu preparation stays outside the measured interval; the final navigation click remains inside it. Historical catalog fixtures are retained.

Script types, focused lint/format and independent code review pass. The final Sessions click smoke is still pending: the macOS production bundle emits a missing runtime-chunk import, also reproduced on the pre-stack baseline with matching dependencies. An exact-head Linux CI artifact will be used for that remaining proof. This PR remains a draft and must land after its stack predecessors.

Maintainer validation

Reviewed and rebased this layer on predecessor d1039972ec29bf7db922b0fb917713bc09f8cc3b; current head is f231beb97360548e1f7a072f22d9bd541f9806a4. The own-layer tree, original human authors and signatures were checked. UI typechecking passed on this candidate. Previously verified functional and integrated visual proof was reused where inputs are unchanged; the maintainer also exercised the integrated stack on a real Gateway.

The navigation benchmark uses the actual Sessions entry point and preserves its final-click timing boundary. Full CLI benchmark execution remains unverified because the same bundle bootstrap failure reproduced on the pre-stack baseline.

The maintainer authorized sequential CI bypass after repairing known PR-caused failures. Hosted CI may still be running; this is not a claim of full hosted CI success. The unrelated owner-approval timing failure is tracked separately in #200810.

@clawsweeper

clawsweeper Bot commented Nov 16, 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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 Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR refines rail highlighting, Sessions navigation, phone People filters, catalog focus, and dashboard author labels.

Example: Open Dashboards, then Usage, then a conversation.

  • Before: The conversation retains the Dashboards sidebar.
  • After: The conversation returns to the Sessions sidebar.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful, focused navigation work that is not ready to merge.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Navigation location is unclear, section sidebars can persist beside unrelated conversations, and dashboard authors and phone People controls are inconsistent.
Reason: The maintainer-authored direction improves existing navigation through small changes to established owners without adding configuration or persistence.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep open: this maintainer-authored navigation improvement has clear value, but the People-filter cutover introduces two actionable defects.

Priority: P2
Reviewed head: 4f7117bea9085b8391378d1b1092dc966f50783e

Before merge

  • Reset the presence selection on phones too (P2) - At phone width, select All users in the newly relocated People filter, reopen the filter, and press Reset. The changed predicate now offers Reset for this selection, but its handler still sets presenceFilter to online only when !sheet(). SidebarPeoplePreferences.resetView() resets only statusFilter and sortMode, so Reset leaves All users selected and the filter indicator active. Remove the desktop-only condition from the presence reset.
  • Migrate the existing mobile filter E2E interaction (P2) - Replacing the mobile header picker leaves the existing filtering scenario targeting an element that no longer exists. In ui/src/e2e/sidebar-users-filter.e2e.test.ts:290, the test resizes to 390 × 844 and clicks .sidebar-panel-header #sidebar-people-presence; that selector cannot match after this change, so the scenario times out before testing offline profiles or resizing back to desktop. Open the filter menu and select presence there, retaining the existing assertions.

Findings

  • [P2] Reset the presence selection on phones too — ui/src/components/app-sidebar-people-filter-menu.tsx:42
  • [P2] Migrate the existing mobile filter E2E interaction — ui/src/components/app-sidebar-panel-headers.tsx:114

Tests

  • Missing end-to-end proof: Provide redacted product evidence for the phone presence selection and Reset flow, Sessions-group navigation, retained catalog focus, and Dashboards → Usage → conversation recovery, plus the regression's base-fail/head-pass result.
Agent review details

How this fits together

The Control UI sidebar combines route selection, Gateway session and agent data, and user navigation preferences into rail controls, section lists, and page links.

flowchart LR
  A[User navigation] --> B[Route selection]
  B --> C[Sidebar owner]
  D[Gateway sessions and agents] --> C
  C --> E[Rail and section lists]
  E --> F[Page content]
Loading

Technical review

Best possible solution:

Keep the existing navigation owners, reset People presence on every layout, and migrate the mobile E2E interaction to the filter menu.

Do we have a high-confidence way to reproduce the issue?

Source inspection establishes both introduced failures on the pinned PR head; no runtime reproduction or tests were run during this read-only review.

Is this the best way to solve the issue?

The shared dashboard-author resolver and removal of autofocus fit the existing owners, but the People-selector move needs its reset behavior and browser-test caller migrated together.

Full review comments:

  • [P2] Reset the presence selection on phones too — ui/src/components/app-sidebar-people-filter-menu.tsx:42
    At phone width, select All users in the newly relocated People filter, reopen the filter, and press Reset. The changed predicate now offers Reset for this selection, but its handler still sets presenceFilter to online only when !sheet(). SidebarPeoplePreferences.resetView() resets only statusFilter and sortMode, so Reset leaves All users selected and the filter indicator active. Remove the desktop-only condition from the presence reset.
    Confidence: 1
  • [P2] Migrate the existing mobile filter E2E interaction — ui/src/components/app-sidebar-panel-headers.tsx:114
    Replacing the mobile header picker leaves the existing filtering scenario targeting an element that no longer exists. In ui/src/e2e/sidebar-users-filter.e2e.test.ts:290, the test resizes to 390 × 844 and clicks .sidebar-panel-header #sidebar-people-presence; that selector cannot match after this change, so the scenario times out before testing offline profiles or resizing back to desktop. Open the filter menu and select presence there, retaining the existing assertions.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 39c25a39cdee.

Provenance checked

Testing

Proof path: unit tests only.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test:ui:e2e ui/src/e2e/sidebar-users-filter.e2e.test.ts
  • pnpm tsgo:ui
  • pnpm exec oxlint ui/src/components/app-sidebar-people-filter-menu.tsx ui/src/e2e/sidebar-users-filter.e2e.test.ts
  • pnpm exec oxfmt --check ui/src/components/app-sidebar-people-filter-menu.tsx ui/src/e2e/sidebar-users-filter.e2e.test.ts
  • git diff --check

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 3fbdef3 adds ui/src/components/app-sidebar-people-filter-menu.tsx:127 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3fbdef3478a7; files: ui/src/components/app-sidebar-people-filter-menu.tsx)

PR surface

Source +4, Tests +20. Total +24 across 33 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 17 121 117 +4
Tests 16 91 71 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 33 212 188 +24

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Useful navigation improvements with a recoverable phone-filter defect and a source-confirmed broken browser-test interaction.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: Useful navigation improvements with a recoverable phone-filter defect and a source-confirmed broken browser-test interaction.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 16, 2026, 2:26 AM ET / 07:26 UTC.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from 5227dac to fdc2493 Compare November 16, 2026 16:09
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from 4f7117b to d63f9d7 Compare November 16, 2026 16:09
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from fdc2493 to 162e340 Compare November 16, 2026 16:34
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from d63f9d7 to 8b5753b Compare November 16, 2026 16:34
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from 162e340 to b894f61 Compare November 16, 2026 18:12
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from 8b5753b to 16b561f Compare November 16, 2026 18:12
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from b894f61 to a717b94 Compare November 16, 2026 22:53
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from 16b561f to 386e3bd Compare November 16, 2026 22:54
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from a717b94 to 5334373 Compare November 17, 2026 00:44
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch 2 times, most recently from 6221cd0 to 54d6062 Compare November 17, 2026 16:37
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-14-automations-details branch from 7b72846 to 8a8a4d9 Compare November 17, 2026 16:54
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from 54d6062 to 4ea8408 Compare November 17, 2026 16:54
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: workboard extensions: clawrouter Extension: clawrouter channel: x plugin: knowledge size: XL and removed size: M labels Nov 17, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-15-navigation-polish branch from 9a869a8 to f231beb Compare November 17, 2026 22:20
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 17, 2026 22:20
@openclaw-barnacle openclaw-barnacle Bot added size: M and removed docs Improvements or additions to documentation plugin: workboard extensions: clawrouter Extension: clawrouter channel: x plugin: knowledge size: XL labels Nov 17, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 53d9315 into main Nov 17, 2026
100 of 104 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/side-rail-15-navigation-polish branch November 17, 2026 22:21
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged as 53d9315 after reviewing the layer and its integration with main. Preserved the approved design and human credit. Known PR-caused failures were repaired and focused checks passed; CI bypass was explicitly authorized by the maintainer. The inherited owner-approval test timing issue is tracked separately in #200810.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
Preserve the approved navigation design. Reviewed the own-layer change, current main integration and applicable focused proof. Known PR-caused failures were repaired before landing; the maintainer explicitly authorized CI bypass. The unrelated owner-approval test timing issue is tracked separately in openclaw#200810.

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
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 P2 Normal backlog priority with limited blast radius. plugin: openclaw-id-access rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant