Repository navigation
feat: organize personal navigation in a compact sidebar rail - #168325
Conversation
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
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Visual evidenceActual Control UI rendered from the before/after source with a mocked Gateway and synthetic users and conversations—not a design mock or live deployment. BeforeAfterCollapsed rail and narrow drawerThe rail stays available when the desktop list is collapsed. At 400px, navigation stays in the existing drawer. The visible Pages label is a hover tooltip. 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. |
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
|
Codex review: needs maintainer review before merge. What this changesThis 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.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe 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
Technical reviewBest 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
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (8 earlier review cycles)
Reviewed October 10, 2026, 4:47 PM ET / 20:47 UTC (Revision 9). |
Profileless navigation fallbackBefore: published 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. |
Personal pin and Home attention repairInspected same-frame sidebar crops from the actual Control UI with synthetic data. Before uses the published 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. |
Mobile navigation and widget control repairsActual 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 navigationThe 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. Widget controlsUses 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. |
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
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]>
Mobile child controls — CI repairAt 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 After 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]>
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.
…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.
…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
…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.














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.
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