Skip to content

feat: organize personal navigation in a compact sidebar rail - #168325

Merged
roboclaw-bot merged 24 commits into
mainfrom
openclaw/redesign-ui-with-visualizer-sections
Oct 10, 2026
Merged

roboclaw-bot merged 24 commits into
mainfrom
openclaw/redesign-ui-with-visualizer-sections

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #168053

What Problem This Solves

The sidebar mixes destinations, conversations, and online people, while shared session pins cannot express each person’s preferred shortcuts.

User Impact

A compact icon rail separates Pages, Sessions, and Online, keeps Home, Inbox, and account controls at the bottom, and supports personal shortcuts for pages, dashboards, conversations, and people. Drag or use menus to pin, reorder, and unpin. Collapsing the list retains the rail; narrow screens retain the drawer.

Mine means conversations owned by the current human. All means accessible conversations and preserves its saved owner/Involving me filters. Scope controls hide only when authoritative counts and filters prove equivalence. Resolved profileless connections show accessible conversations without overwriting saved Mine; unresolved identities remain private. Pins grant no access and never mutate shared pin/promotion metadata.

Write-capable profiles synchronize shortcuts and scope; read-only/profileless connections retain browser-local choices. Shared navigation imports once from a complete authorized inventory; explicit empty personal pins win. The unchanged 4 KiB value limit rejects oversized imports without blocking appearance hydration. Promotion, tree archive, and scoped Undo remain separate.

Upgrade recovery: pending shortcuts saved by v2026.9.9 are migrated using their valid same-profile, pre-upgrade last-seen baseline before hydration. No fresh remote snapshot or invented empty baseline is used. Missing/corrupt baselines retain the local choice, display a recovery notification, and no longer block later appearance saves. Editing a shortcut resumes synchronization; the browser proof exercises the actual Unpin action after reload.

Why This Change Was Made

Existing preference/session owners preserve concurrent, offline, cross-tab, profile-switch, compare-and-set/retry, and delayed-acknowledgment behavior. Ambiguous raced acknowledgments use one guarded fresh read because the public protocol has no revision; ordinary acknowledgments add no reads. Genuinely baseless new writes still fail closed.

Cold GitHub/hovercard English uses the existing lazy catalog while shared labels remain eager. Wording and ordered hovercard catalog are unchanged. Main’s browser-capability admission and modern browser target are preserved. No database/configuration option, budget increase, artificial delay, or weakened guard is introduced.

Maintainer-approved migration exception: @steipete authorized landing this existing Lit rail without expanding the PR into Solid infrastructure. Lit no-growth remains an approved exception—not a passing check.

Evidence

Locally verified candidate a9d0066, tree 241df3afc8c52ad0a1e20eea25282622f9838146. Published head 968087f has that exact tree and Peter’s coauthor credit. It retains the reviewed stable-outbox repair, main integration, and cold-copy reduction. The only change since green head 86c4396 is aligning the test readiness helper byte-for-byte with independently landed main commit ceea87b; no production files change. This resolves the sole merge conflict without importing unrelated main changes. All four readiness browser cases (25.29s), the E2E type graph, typed lint and formatting pass; Git proves a conflict-free merge with main 3a69600.

  • Stable pending-outbox defect reproduced through original adoption/flush and browser entry points. The six-file repair passes 176/176 preference tests and 6/6 upgrade/reload/recovery browser cases, plus independent P0–P2 review, production/app/E2E types, typed lint, formatting and relevant ratchets.
  • After integrating main 1a6d781 for an actual conflict: 324/324 Bun preference/sidebar tests (32.39s) and 12/12 browser cases (45.55s) covering stable upgrade and browser admission. Production, app-test and E2E-test type graphs pass. The sole textual conflict preserves the already-tested no-creator-chip metadata assertions from fix(ui): team agent headers show who created the main session #168575.
  • Cold-copy delta: 8/8 cold locale/consumer tests, 44/44 hovercard unit tests, 6/6 hovercard browser cases (25.30s), scoped independent P0–P2 review, production/UI-other types, four-file typed lint, i18n verification and formatting pass. The final type-only eager-key declaration strengthens the checked catalog contract; runtime bytes are unchanged from review.
  • Final enforced build: 374,815 B startup JavaScript gzip ≤ unchanged 374,861 B limit, down from the reproduced 374,926 B composition failure. Eight initial requests; /chat 34 and /new 26 boot requests pass. CSS 49,438 B ≤ 51,200 B hard ceiling; advisory warning retained.
  • Exact-head CI 968087f4, attempt 1: 50 successful, 21 skipped, 0 failed, 71 total; all three UI unit and eight scheduled E2E shards passed. CI-gate, security-sensitive-review and dependency-review are successful. ClawSweeper completed its exact-head review at 20:47 UTC with zero findings. Landed as fd018170 on main. The landed tree was verified against the exact prepared head merged with its actual landing parent; Peter’s coauthor credit is preserved. No deployment was performed.

Inspected comparisons delivered in chat and embedded in the PR:

Retained qualifications: the earlier full composed review completed in three passes; its stale selector and matching fixture were fixed and independently reviewed. Earlier CI metadata/archive/empty-hint timing failures were not independently reproduced; passing replays are not claimed as causal proof. A historical broader Bun shard passed 7,750 tests but had two dependency-cache suite-loading failures, so was not an aggregate pass. An interrupted child run, one declaration snapshot rejection, and corrected tool/fixture/type attempts are not successful proof.

Known local baseline: the last full Knip scan passed production but flagged the unused hiddenScopeUpgradeCapability re-export in ui/src/test-helpers/solid-application-context.tsx, byte-identical to integrated main. This is historical local evidence, not a new full-tree scan. The approved Lit exception remains separate. Earlier unchanged-contract proof includes 316 preference/settings cases and focused renderer/browser selections; their results are reused only where inputs are unchanged.

Worked on by

Work sessions


View the OpenClaw team session

roboclaw-bot and others added 3 commits October 10, 2026 06:42
Separate Pages, Sessions, and Online with ordered personal shortcuts and profile-scoped navigation preferences. Preserve browser-local fallback and reconcile concurrent profile edits without shared session pin mutations.

Co-authored-by: steipete <[email protected]>
Integrate main archive and promotion contracts without shared pin mutations. Guard detached catalog observers and saved All filters, apply changed confirmed navigation before local retention cleanup, and load cold GitHub English at its existing feature boundary.

Co-authored-by: steipete <[email protected]>
Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 495e6aec-57a8-4b83-a195-c3e4f058553f
@clawsweeper

clawsweeper Bot commented Oct 10, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts size: XL labels Oct 10, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Visual evidence

Actual Control UI rendered from the before/after source with a mocked Gateway and synthetic users and conversations—not a design mock or live deployment.

Before

Before: combined sidebar destinations and shared session pins

After

After: separate navigation rail, personal shortcuts, and scoped session list

Collapsed rail and narrow drawer

The rail stays available when the desktop list is collapsed.

Desktop with collapsed session list and retained personal rail

At 400px, navigation stays in the existing drawer. The visible Pages label is a hover tooltip.

Narrow navigation drawer with personal rail

The captured interaction run exercised native person/dashboard/conversation drag, reorder/unpin, Mine/All, collapse, and narrow layout. Personal pin actions made no shared session-pinning mutations.

roboclaw-bot and others added 2 commits October 10, 2026 07:53
Refresh the PR against current main and restore complete session and new-session guidance from the original reviewed source while retaining the personal rail and explicit promotion contract.

Co-authored-by: steipete <[email protected]>
Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 423ebe27-cf96-481c-99ee-90df232cf6ed
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 10, 2026 07:58
@clawsweeper clawsweeper Bot added 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. labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR separates Pages, Sessions, and Online into a compact sidebar rail with personal shortcuts and profile-synchronized navigation preferences.

Example: Alex pins the Plugins page and collapses the desktop sidebar.

  • Before: Collapsing hides navigation, and session pin actions change shared session metadata.
  • After: The rail retains Alex’s shortcuts, and personal pin actions leave shared session metadata unchanged.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Approved user value, directly inspected browser evidence, and stable-upgrade coverage support landing; no actionable finding remains in the reviewed paths.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected actual Control UI browser captures showing the rail, collapse, narrow drawer, profileless fallback, and visible stable-outbox recovery; supplied interaction and upgrade results exercise the production UI with a mocked Gateway and synthetic identities.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Destinations, conversations, and online people compete in one sidebar, and shared pins cannot express each person’s preferred navigation.
Reason: The collaborator-authored change implements recorded owner direction and provides personal navigation through the existing persistence owner.

Merge readiness

✅ Ready for maintainer review

Keep this approved, collaborator-authored feature open; current main still uses shared session pins, and I found no actionable defect in the reviewed changes.

Priority: P2
Reviewed head: 968087f45c5aab2f66857f3343c2e145addffb0d

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI sidebar projects accessible Gateway sessions, plugin destinations, and people into navigation; the existing profile preference APIs persist personal references while browser storage retains local presentation and pending edits.

flowchart LR
  A[User navigation actions] --> B[Sidebar rail]
  B --> C[Navigation preference owner]
  C --> D[Browser mirror and outbox]
  C --> E[Authenticated profile preferences]
  F[Accessible Gateway catalogs] --> B
Loading

Technical review

Best possible solution:

Land the approved personal-navigation cutover through the existing preference and session owners once the enforced current-head gates pass.

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

This is a feature request; current-main source confirms the shared pin behavior being replaced, and supplied browser evidence demonstrates the proposed navigation.

Is this the best way to solve the issue?

The implementation follows the approved design by reusing authenticated profile preferences, preserving browser-local fallback, and keeping personal shortcuts separate from shared session promotion and archive actions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9cf7fc279c26.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit a4c01c1 adds ui/src/app/server-prefs.ts:60 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a4c01c1a77ac; files: ui/src/app/server-prefs.ts)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Persistent navigation preference 1 new Mine/All setting; 2 profile navigation keys navigationScope defaults to mine, while sidebarEntries moves to the existing profile preference store without adding a database table or raising the value limit.

Labels

Label changes:

  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: This is an approved navigation improvement with meaningful preference and upgrade behavior, without evidence of an urgent production outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (8 earlier review cycles)
  • reviewed 2026-10-10T08:07:04.443Z sha c951f53 :: blocked before merge. :: [P2] Preserve visible sessions for resolved profileless connections
  • reviewed 2026-10-10T09:05:44.542Z sha c951f53 :: blocked before merge. :: [P2] Preserve visible sessions for resolved profileless connections | [P2] Migrate the split-pane browser flow off the removed Home row
  • reviewed 2026-10-10T10:19:46.471Z sha c951f53 :: blocked before merge. :: [P2] Preserve visible sessions for resolved profileless connections | [P2] Migrate browser flows off the removed Home row | [P2] Render Home draft and outbox indicators in the rail | [P3] Drive pinned-row styling from personal pin membership | [P3] Render each plugin child destination once in Pages
  • reviewed 2026-10-10T10:45:09.164Z sha c951f53 :: blocked before merge. :: [P2] Preserve visible sessions for resolved profileless connections | [P2] Migrate browser flows off the removed Home row | [P2] Render Home draft and outbox indicators in the rail | [P3] Drive pinned-row styling from personal pin membership | [P3] Render each plugin child destination once in Pages
  • reviewed 2026-10-10T18:16:46.295Z sha 39b4a23 :: blocked before merge. :: [P2] Reserve the child toggle when positioning mobile session actions | [P3] Render plugin child destinations only once in Pages | [P2] Restrict owner-roster assertions to roster requests | [P2] Update the remaining assertion for personal pin styling | [P2] Open Pages before returning to the X plugin destination
  • reviewed 2026-10-10T19:06:12.697Z sha 1437c68 :: blocked before merge. :: [P2] Migrate pending navigation edits from the stable outbox format | [P2] Update the shard-routing assertion for the moved helper tests
  • reviewed 2026-10-10T19:28:15.248Z sha e567f20 :: blocked before merge. :: [P2] Migrate pending navigation edits from the stable outbox format
  • reviewed 2026-10-10T20:33:33.050Z sha 86c4396 :: needs maintainer review before merge. :: none

Reviewed October 10, 2026, 4:47 PM ET / 20:47 UTC (Revision 9).

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Profileless navigation fallback

Before: published c951f53 leaves the sidebar empty after identity is definitively profileless.

After: the reviewed local repair projects accessible All sessions without writing profile preferences or replacing the saved Mine preference. Pending identity remains private; identifying the user restores Mine.

Actual Control UI, synthetic data, matching light-theme viewport. Related upgrade proof exercises the v2026.9.9 stored settings shape through the mocked preference RPC boundary, including explicit-empty profile pins. Reconnect retention and remaining CI repairs are still in progress; this is not a landing or CI-green claim.

Before: profileless connection hides accessible sidebar conversations

After: accessible conversations appear without replacing the saved Mine preference

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Personal pin and Home attention repair

Inspected same-frame sidebar crops from the actual Control UI with synthetic data. Before uses the published c951f53 renderer; after uses the current local repair. The ordinary conversation pin now reflects personal pin state, and Home keeps its outbox/draft indicators alongside the centered activity glyph. No shared session pin write is introduced.

The pin/Home/filter browser regressions pass (3/3), as do 108 related unit tests. Broader CI repairs and final landing gates remain in progress. These crops intentionally exclude unrelated model and transcript surfaces.

Before: outline personal pin and missing Home outbox attention

After: filled personal pin and restored compact Home attention badge

@roboclaw-bot

roboclaw-bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator Author

Mobile navigation and widget control repairs

Actual mocked Control UI captures from the integrated repair candidate. The six targeted browser cases pass. Final combined review, main conflict resolution, and publication are still pending.

Mobile navigation

The 336px drawer and 52px rail are unchanged. Reorder targets now occupy a separate slot; ordinary mobile rows are taller so titles retain reading width and the 44px menu sits below rather than over the title. Same 390×844 viewport, 336×828 drawer crops.

Before
Mobile navigation before

After
Mobile navigation after

Widget controls

Uses the landed fix from #168328: the narrow widget toolbar aligns left, leaving Details clear without changing transcript position. This replaces the interim reserved-header approach. Same 1280×900 viewport, 484×200 conversation crops.

Before
Widget controls before

After
Widget controls after

roboclaw-bot and others added 6 commits October 10, 2026 10:51
Preserve scoped preference and reconnect display ownership, queue automatic roster reads, and use canonical pane navigation for Home. Update retired sidebar fixtures and enforce usable mobile controls. Retain the upstream widget-toolbar repair from dd036a4 (#168328), without a transcript shift.

Co-authored-by: steipete <[email protected]>
Preserve the personal-navigation lifecycle while integrating the background-preference outbox, readiness, and communication controls from main. All conflict resolutions passed full independent review, 316 affected preference tests, and 15 browser flows. Final publication remains held for a 146-byte startup-budget overage and the remaining publication gates.

Co-authored-by: steipete <[email protected]>
Preserve eager session-row state labels, nested translation identities, and the complete ordered English catalog. The exact build passes the unchanged 374861-byte startup limit at 374795 bytes.

Co-authored-by: steipete <[email protected]>
Extract the header metadata mapping with exhaustive action checking, remove its retired settings re-export, and rebalance existing helper test roots without dropping coverage. Include the exact upstream public-reader test narrowing from 8420f82. All 27 core test graphs passed across the original and resumed selections; focused header and public-reader tests pass.

Co-authored-by: steipete <[email protected]>
Retain navigationScope in the upstream context-types owner, keep test-root coverage balanced, and compose updated plugin routes and bootstrap identity. Resolve the reviewed stale pin lookup on a newer Home action with a boundary regression. Peter explicitly overrides the Solid-migration hold for this rail; no ratchet or performance thresholds are changed.

Co-authored-by: steipete <[email protected]>
Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 4e80094b-c558-4dc8-9182-b7526b8af3d0
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 10, 2026 18:09
@roboclaw-bot
roboclaw-bot disabled auto-merge October 10, 2026 18:11
Assert personal pin styling and exact cross-agent membership, wait for committed main metadata, and deliver synthetic radio changes without an async value-reset gap. Node and Bun affected suites pass 148 cases each. Timing-failure replays are not claimed as causal proof; the broad Bun selection retained two dependency-cache setup failures.

Co-authored-by: steipete <[email protected]>
@roboclaw-bot

roboclaw-bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator Author

Mobile child controls — CI repair

At a 390px viewport, the 44px menu target overlapped the child-expansion control. The repair preserves the horizontal offset owned by the shared row layout and changes only the vertical inset. Both controls are now separately hit-testable; drawer and rail widths are unchanged.

Before

Before: overlapping menu and child controls

After

After: separate menu and child controls

Actual Chromium row crops from the same scenario. All four light/dark and fine/coarse-pointer mobile cases reproduced before the fix and passed afterward.

Preserve shared horizontal menu clearance, wait for the lazy readiness hook, and retain exact filtered-lineage and owner-query assertions. Combined proof: 14 Bun unit cases and 18 Chromium cases; the final feedback assertion variant passes six cases. UI test type graphs, scoped typed lint, styles, formatting, and independent delta review pass. Timing-only CI failures remain qualified, not claimed as causally reproduced.

Co-authored-by: steipete <[email protected]>
steipete added a commit that referenced this pull request Oct 12, 2026
The personal rail stored its shortcuts under identities that already held
data with a different meaning. On Team, every saved `ui.sidebarEntries`
profile row came from #168325's since-deleted first-run import (the old
shared sidebar order with all pages, plugin pages, and every shared-pinned
session), and stable's browser-local `sidebarEntries` was the old
sidebar's full page order. Read as shortcuts, both fill the rail with
pages; sessions resolve later, so the rail sometimes shows only pages.

Rail shortcuts now persist under a fresh identity (`ui.railShortcuts` and
browser-local `railShortcuts`). The retired keys, the per-profile mirror's
old field, and the `sidebarPinnedRoutes` shape are no longer read, and the
sidebar boot snapshot cache is invalidated so stale entries never flash.
Old values are left in place and ignored. Shortcuts saved before this
change are not carried over; the rail starts with only its fixed controls
until the user drags something in.
steipete added a commit that referenced this pull request Oct 12, 2026
…169447)

* fix(ui): keep the personal rail clean instead of listing every page

The personal rail stored its shortcuts under identities that already held
data with a different meaning. On Team, every saved `ui.sidebarEntries`
profile row came from #168325's since-deleted first-run import (the old
shared sidebar order with all pages, plugin pages, and every shared-pinned
session), and stable's browser-local `sidebarEntries` was the old
sidebar's full page order. Read as shortcuts, both fill the rail with
pages; sessions resolve later, so the rail sometimes shows only pages.

Rail shortcuts now persist under a fresh identity (`ui.railShortcuts` and
browser-local `railShortcuts`). The retired keys, the per-profile mirror's
old field, and the `sidebarPinnedRoutes` shape are no longer read, and the
sidebar boot snapshot cache is invalidated so stale entries never flash.
Old values are left in place and ignored. Shortcuts saved before this
change are not carried over; the rail starts with only its fixed controls
until the user drags something in.

* test(ui): expect retired rail outbox to clear after sync

The legacy sidebar intent is discarded when parsed. Once the remaining accent preference is acknowledged, the empty pending record is removed. Require that observable cleanup in all four upgrade cases.

* test(ui): use rail storage key in reconnect assertion

Preserve main’s reconnect conflict behavior while checking its pending record under the new railShortcuts identity.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…debar header (openclaw#168997)

* feat(ui): clean personal rail and single-row sidebar header

The personal navigation rail from openclaw#168325 rendered every saved entry and
fell back to a pushpin glyph for anything outside the loaded session list,
while its first-run import seeded each profile with every shared-pinned
session. Together that produced a wall of identical pins. The Mine/All
scope also overrode the owner filter, so two controls owned one decision.

- Rail starts empty; users add shortcuts by dragging sessions, pages,
  plugins, or people onto it, with a drop zone only while dragging.
- Pinned sessions resolve through sessions.describe once per connection
  and render their icon or a title monogram; unresolvable refs stay saved
  but hidden. The generic pin fallback and the legacy pinned import are
  removed.
- Reorder by direct drag; Move/Unpin via right-click, Shift+F10, or touch
  long-press. The per-pin reorder control is gone.
- Agent avatar and search move to the top of the rail; the Sessions panel
  has one header row whose title chip is the only owner filter. The
  Mine/All scope and its synced navigationScope preference are deleted.
- Clicking the active rail view toggles the panel; opening a rail shortcut
  collapses it on desktop.
- Fix owner-filter oscillation while a replacement list loads without its
  owner facet, and keep the known identity during reconnect so the filter
  does not widen to all owners.

* fix(ui): document rail event target invariants

Document the DOM bindings behind rail gesture casts and remove the obsolete menu assertion allowance. Fixes the PR baseline-ratchet failure without changing runtime behavior or weakening the guard.

* refactor(ui): keep owner picker in session filter renderer

Fold the single-use owner picker into its existing rendering owner without changing its implementation. Removes the extra Lit module and passes the migration guard. Verified by focused tests, UI build and types, the complete changed-lint path, and isolated Codex autoreview.

* fix(ui): isolate rail menu target lifetimes

Key each rail dropdown by its captured position so late hide events from a previous pin cannot close the replacement menu. Drive transient-menu regressions through the actual context-menu surface and cover the replacement in Chromium.

* test(ui): align navigation proofs with the personal rail

Open destinations through Pages, use the active rail view for collapse, and keep layout assertions on the current controls. Preserve draft, archive, plugin lifecycle, overflow, and Workboard invariants without restoring removed pins or reorder grips.

* test(ui): preserve empty-list owner proof in the header

* test(ui): use rail action in pending Inbox proofs
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…penclaw#169447)

* fix(ui): keep the personal rail clean instead of listing every page

The personal rail stored its shortcuts under identities that already held
data with a different meaning. On Team, every saved `ui.sidebarEntries`
profile row came from openclaw#168325's since-deleted first-run import (the old
shared sidebar order with all pages, plugin pages, and every shared-pinned
session), and stable's browser-local `sidebarEntries` was the old
sidebar's full page order. Read as shortcuts, both fill the rail with
pages; sessions resolve later, so the rail sometimes shows only pages.

Rail shortcuts now persist under a fresh identity (`ui.railShortcuts` and
browser-local `railShortcuts`). The retired keys, the per-profile mirror's
old field, and the `sidebarPinnedRoutes` shape are no longer read, and the
sidebar boot snapshot cache is invalidated so stale entries never flash.
Old values are left in place and ignored. Shortcuts saved before this
change are not carried over; the rail starts with only its fixed controls
until the user drags something in.

* test(ui): expect retired rail outbox to clear after sync

The legacy sidebar intent is discarded when parsed. Once the remaining accent preference is acknowledged, the empty pending record is removed. Require that observable cleanup in all four upgrade cases.

* test(ui): use rail storage key in reconnect assertion

Preserve main’s reconnect conflict behavior while checking its pending record under the new railShortcuts identity.
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 docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: personalize the sidebar rail and separate navigation views

1 participant