Repository navigation
improve(ui): keep personal collections quiet until used - #185632
roboclaw-bot wants to merge 2 commits into
Conversation
Hide the unused collection section and add discovery through native sidebar and session menus. Preserve shared grouping, browser-local guest preferences, and descriptor-backed session scopes. Co-authored-by: shakkernerd <[email protected]>
Worked on by: - @shakkernerd Co-authored-by: shakkernerd <[email protected]> OpenClaw-Publication: 75583268-3e14-4386-b415-7172376ce3df
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR hides unused personal collections and adds creation and membership actions to existing sidebar and session menus. Example: A user organizes Reliability Tracker into a collection named Focus.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open: it provides a distinct sidebar improvement, and no concrete production defect was identified. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI turns accessible session rows and personal navigation preferences into sidebar collections; edits use the existing preference owner without changing shared session groups. flowchart LR
A[Sidebar filter menu] --> C[Collection actions]
B[Native session menu] --> C
D[Session capability] --> C
C --> E[Existing collection dialog]
E --> F[Navigation preferences]
F --> G[Sidebar collections]
Technical reviewBest possible solution: Keep the shared editor and existing preference owner, complete the browser qualification, and retain the draft until its author finishes naming review. Do we have a high-confidence way to reproduce the issue? Current main unconditionally renders the personal-groups heading, and the inspected matched screenshots independently demonstrate the unused-section behavior. Is this the best way to solve the issue? The implementation is appropriately scoped: one extracted action owner serves existing menus and preserves personal preference identities, shared grouping, and session-tree ownership. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6705c8b73782. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +233, Tests +197, Docs +7. Total +437 across 15 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 Reviewed October 27, 2026, 3:43 AM ET / 07:43 UTC. |
|
Closing as superseded. Superseded by faaec72. The current personal Sections UI hides unused sections and retains creation, deliberate empty sections, personal preferences and stale-edit protection. This closes the PR without deleting its branch. |
Related: #181680, #185348
What Problem This Solves
An unused personal-groups section adds sidebar clutter, while first-time setup needs a discoverable path that does not look like moving a shared session.
User Impact
The section stays hidden until a collection exists; deliberately empty collections remain visible. Users can create one from Filter & sort without selecting a session, or choose Add to my collections in the existing native session menu to add a session or create a collection with it selected.
“My collections” is provisional naming for human review. This PR intentionally remains a draft. The feature remains available to solo users and guests; there is no multi-user-only gate. Shared Move to group, its guest disabled state, and session access are unchanged. No migration or permission change is required.
Why This Change Was Made
The existing native menu and compact Back behavior remain in charge; the session menu gains one organization entry, not a replacement menu. Creation, editing, and adding use the existing personal navigation preference and scoped session owner. Descriptor-only/off-page targets remain eligible, and their observation and explicit agent scope survive menu dismissal through dialog submission.
The explanation is: “Only your sidebar changes. Sessions stay in their groups.” Removing a collection never deletes sessions or changes shared group membership. Existing preference identities, browser-local guest storage, child trees, and offline presentation are retained.
Evidence
Remaining qualification: Chromium is covered; WebKit was not run. Broad PR CI and final product/naming review remain separate from this draft’s focused proof.
Visual evidence
Matched synthetic fixtures in the actual Control UI, light theme, 1280×900. The narrow native menu is 390×844. The representative pair was also delivered in the originating discussion.
Native discovery, creation, empty collections, children, and narrow menu
Existing native session menu with one additive collection action
New collection with the selected session preselected
Populated and deliberately empty collections
Children remain in both collection and original shared-group placement
Existing compact native Back navigation
Implementation scope
The existing scoped editor was extracted for reuse rather than adding a second preference or menu owner. Growth is +233 production lines, +197 test lines, and +7 documentation lines against the base; it covers discovery, preselection, and retaining the session owner’s observation while the native menu closes. No CSS, persistence identities, schemas, or performance budgets changed.
Worked on by
Work sessions