Repository navigation
improve(ui): cap long session menus and search groups - #197653
Conversation
Move to group now scrolls at a shared height with Assign to and Add to section, and long group lists get a search field. The numbered key hints are gone and the Remove/New group commands sit below a divider. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: bf889a1e-01c3-445e-ad5a-f41be1d96336
|
🦞👀 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. |
ScreenshotsBundled Control UI with a mocked Gateway, 1280×800, fixture groups and people. "Before" is Move to group, 29 groups
Searching, and no match (dark)
Assign to…, same height cap
Short group list (no search)
|
|
Codex review: needs changes before merge. What this changesThis PR caps session list submenus, adds search for long group lists, and removes numbered group shortcuts. Example: Open Move to group with 29 groups at 1280×800.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 5 items remain Keep this PR open: the desktop improvement is useful, but mobile search ownership, compact query reset, and two patch-caused CI failures need correction. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe shared session-menu renderer turns session state and group names into desktop submenu entries and compact views consumed by sidebar and chat-header menus; existing action owners dispatch selections. flowchart TD
A[Session state and groups] --> B[Shared session menu entries]
B --> C[Desktop native menus]
B --> D[Compact sidebar menu]
B --> E[Mobile header page]
C --> F[Session action owner]
D --> F
E --> F
Technical reviewBest possible solution: Keep the shared height cap and desktop search, integrate the existing mobile search owner, reset compact searches on entry, and repair the affected tests and CSS budget. Do we have a high-confidence way to reproduce the issue? The supplied screenshots establish the original tall-menu behavior; source tracing establishes the introduced mobile and compact paths, and exact-head CI annotations establish the validation failures. Is this the best way to solve the issue? Reusing HeaderSearch and the existing menu renderer is appropriate, but the shared change must account for the mobile page's existing search and compact navigation lifecycle. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7c36f1a9d92c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +62, Tests +29. Total +91 across 5 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label 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 Reviewed November 12, 2026, 4:17 AM ET / 09:17 UTC. |
|
Maintainer verification caught and repaired three interaction defects: reopening the compact group picker retained the previous query; the phone sheet received a second search field; and a focused desktop row could cover the sticky search field while scrolling. All entry paths now use the same submenu preparation. The phone keeps its existing search owner, and desktop rows and focus outlines stay below the sticky search. The approved menu height and structure are preserved. Passed: 92 focused tests, three browser interaction cases, production-UI group search/selection on desktop and phone, UI typechecking, scoped lint/format, and the test-line guard. Independent final review found no actionable P0–P2 issues. These captures use the production UI and synthetic Gateway data. |
|
Merged via squash with the approved CSS-size exception. Functional and security checks passed; the remaining size gate is recorded as waived, not passed.
|
Bound long session menus and keep group search usable across desktop, compact and phone surfaces. Reopening resets the query, phone keeps its single search field, and focused rows scroll beneath the sticky desktop search. Co-authored-by: vyctorbrzezowski <[email protected]>










What Problem This Solves
With many shared groups, the Move to group submenu grew to the full window height, and finding one group meant scanning a long list. Its 1–9 key hints also crowded the check mark.
User Impact
User impact: Move to group stays at a compact height and scrolls. When there are more than eight groups, a search field at the top filters the list.
No change to short group lists beyond the divider and the removed number hints.
Why This Change Was Made
The group list is a flat list, and shared groups have no owner, so it cannot be split into “mine” and “everyone’s”. A height cap and the existing search pattern are enough for long lists. Search only appears once the list scrolls, so small workspaces keep a plain menu.
Evidence
Screenshots are from the bundled Control UI with a mocked Gateway at 1280×800, using fixture groups and people. “Before” is
mainat 945efbb.Move to group, 29 groups
Search, the no-match state in dark theme, Assign to…, and the short list are in the screenshot comment.
pnpm tsgo:ui, oxlint, oxfmt, stylelint, andpnpm ui:i18n:verify: pass.Maintainer verification
The published correction fixes compact-menu query retention, a duplicated phone search field, and focused desktop rows covering the sticky search while scrolling. All menu entry paths share the existing preparation owner. The phone keeps its own search field; desktop search covers the scroll gutters and focused-row outline.
Passed 92 focused tests, three browser interaction cases, desktop/phone production-UI flows, UI typechecking, scoped lint/format and the test-line guard. Independent review of the final correction found no actionable P0–P2 findings. Browser scenarios use synthetic Gateway data.
Inspected current desktop and phone screenshots. Earlier author evidence is retained above; it is not a claim that the maintainer reran every historical suite.
The final CI run passed its functional and security checks. The sole underlying failure is the approved CSS-size exception: +424 raw bytes and +56 gzip bytes; startup/route JavaScript and request counts did not grow. The size failure is recorded as waived, not as a passing check.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by