Repository navigation
feat: add personal session groups - #181680
Conversation
|
🦞👀 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 adds personal sidebar session groups with editable membership, ordering, profile synchronization, and browser-local guest persistence. Example: A guest adds Reliability Tracker to a personal group named Focus.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: the maintainer-directed feature fills a distinct gap on main, and the integrated patch has no actionable findings. The earlier conflict is resolved; exact-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI stores personal navigation through its existing Gateway-and-profile preference owner, resolves session references through the session capability, and renders accessible conversations through the shared sidebar tree projection. flowchart TD
A[Group editor] --> B[Navigation preference owner]
B --> C[Scoped browser storage]
B --> D[Existing profile preference sync]
B --> E[Access checked session owner]
E --> F[Shared sidebar tree projection]
F --> G[Personal group rows]
Technical reviewBest possible solution: Merge the integrated feature through the normal exact-head CI gates while retaining the existing preference and session owners. Do we have a high-confidence way to reproduce the issue? Main provides personal pins and shared groups but lacks the personal-group preference and renderer added here. Is this the best way to solve the issue? The implementation uses the existing navigation persistence, session access checks, tree projection, and selection owners; the added editor and presentation serve the requested feature without a competing shared-group path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 50b9e88fd3c3. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +872, Tests +1329, Docs +13. Total +2214 across 35 files. Added test files: 5. View PR surface stats
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 (6 earlier review cycles)
Reviewed October 26, 2026, 8:08 PM ET / October 27, 2026, 00:08 UTC (Revision 7). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
33f3c8d to
60de397
Compare
407aad4 to
bf8729e
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Added: personal sidebar groups that keep child conversations and live updates available without changing shared organization. With thanks to @TheAngryPit. |
Keeps the real-Gateway inventory contract aligned with the guest personal-groups scenario while preserving its serial shared-preview classification. Refs #181680
Add personal sidebar groups for accessible conversations while preserving child conversations, live updates, and independent shared organization. Refs openclaw#181038. Reviewed-by: @shakkernerd Co-authored-by: Shakker <[email protected]>
Keeps the real-Gateway inventory contract aligned with the guest personal-groups scenario while preserving its serial shared-preview classification. Refs openclaw#181680
Related: #181038
What Problem This Solves
Guests and members need to organize accessible conversations into their own sidebar groups without changing shared groups or another person's layout. Grouping a parent conversation must also preserve its child conversations and their live updates.
User Impact
Users can create personal groups, edit names and membership, reorder them by dragging or menu actions, and remove groups without deleting conversations. Pins and shared groups remain independent. Parent conversations retain their loaded children, expansion behavior and child updates in both personal and canonical sidebar placements.
Groups are scoped to the current Gateway and profile. Connections with general Gateway write access synchronize through personal preferences; session-only, read-only, and profileless connections retain browser-local behavior. Saved references do not grant access, and unavailable sessions stay hidden. The existing 4 KiB preference limit produces a visible error rather than silently truncating an edit. No migration or permission upgrade is introduced.
Why This Change Was Made
The existing navigation-preference owner stores group labels and session references, including bootstrap, identity changes, offline replay and storage recovery. Group edits persist only their own preference field, preserving independently authored pins.
Personal group occurrences consume the sidebar's reconciled canonical rows. Off-page references use the same tree projection and retain their expansion state and child observations across updates. The earlier lookup rebuilt a basic row without its child tree and observation metadata; because personal occurrences appeared first during deduplication, that also displaced the normal row used for child refresh. Separate appearance keys still preserve Alt/Shift range selection, while batch operations target each session once.
The group editor retains the native modal height limit and keeps its membership list scrollable with the name and completion actions visible. Its small sizing rules load with the lazy dialog, preserving the upstream removal of optional approval styles from initial page loading.
Evidence
Startup acceptance uses the maintained
ui:check-performance:baseproduction-sidecar comparison: startup JavaScript must stay within the existing baseline plus 512-byte growth allowance and 64-byte build variance, with all request, route, and style ceilings unchanged. The initial measurement was 272,332 gzip bytes, 106 bytes over the enforced limit. Reusing the existing string normalizer and one authored-field comparison reduced the production measurement to 272,018 bytes; five startup requests and all limits are unchanged. The affected settings and guest proof passed 67 cases. The final target integration measures 270,961 production gzip bytes with the same five requests and limits.operator.sessions.read/write: create/edit/reorder/reload/remove, live child updates in both placements, browser-local persistence, no shared writes, and denial of another guest's parent. It does not run a model turn.Visual evidence
Personal group interactions (one-third speed)
personal-groups-slow.mp4
Visual verification
bf8729ebba52f8646431c271c45d698c3380410fShipped-app compatibility
The actual published
[email protected]UI passed an in-place browser upgrade against an isolated real Gateway on407aad4. That result is qualified to the final integration by unchanged persistence owners and repeated guest reload proof. The package integrity was verified; the same origin, browser context, profile and stored bytes were retained. Shipped navigation controls’ owner wrote the existing navigation preferences, and visible appearance controls created an offline pending dark-theme edit.After the first personal-group save and reload, the dark theme, 320px sidebar width, agent pin and new group remained. Legacy
sidebarEntriesstayed recoverable without being revived as new shortcuts. The session-only guest kept server preferences unchanged and emitted zero privileged writes, preserving the existing browser-local policy. No storage payload was reconstructed, and this proof does not claim a Gateway migration or model turn.Visual illustrations from the original contribution
These captures predate the child-tree and integrated dialog corrections; the qualified comparison and recording above show the corrected behavior.
Earlier style comparison: before, after. Original long-list capture.
Co-author credit
Proposed and directed by Vitor Cepeda Lopes (@TheAngryPit).
Worked on by
Work sessions