Repository navigation
fix: typing filters an open assignment menu - #182016
Conversation
Route printable keys to the active searchable submenu before parent shortcuts and composer focus. Cover hovered sidebar/header assignment and retain ordinary menu shortcuts. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: a00a696f-40aa-4d95-878d-0b3b2885f34f
|
🦞👀 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 changesTyping in an open assignment menu focuses its search field and filters people and agents before parent shortcuts or the chat composer handle the keys. Example: Hover Assign to in the chat header and type carol.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR fixes a concrete keyboard-routing defect still present on current main; no actionable correctness or security findings were identified. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI shares menu focus, overlay registration, and shortcut admission between sidebar and chat-header menus; keyboard input becomes search text or an existing menu action. flowchart TD
A[Keyboard input] --> B[Chat keyboard admission]
B --> C[Open overlay registry]
C --> D[Menu search focus]
D --> E[Filtered owner choices]
E --> F[Existing assignment operation]
Technical reviewBest possible solution: Keep searchable-menu keyboard priority in the existing Menu and overlay owners while preserving native editing and ordinary shortcuts elsewhere. Do we have a high-confidence way to reproduce the issue? Current-main source exposes the shortcut-versus-search conflict, and the PR records a bundled-app reproduction; this read-only review did not execute target code. Is this the best way to solve the issue? The patch is a focused repair: searchable menus retain printable input through their registered controls, without introducing another filtering implementation or assignment owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5e2f560194b1. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +62, Tests +32, Docs +2. Total +96 across 7 files. Added test files: 0. View PR surface stats
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 Reviewed October 23, 2026, 7:56 PM ET / 23:56 UTC. |
What Problem This Solves
Fixes typing closing an open Assign to submenu instead of filtering its people and agents.
User Impact
Users can hover Assign to and immediately type to filter, then use Escape to clear the search or Arrow Down and Enter to select an owner. Ordinary shortcuts in menus without an active search remain available. There is no visual layout change.
Why This Change Was Made
The active searchable submenu now receives printable keys before parent-menu shortcuts and chat-composer focus handling. This preserves native text insertion rather than copying keystrokes into a second input path.
Requested and co-authored by @steipete.
Work sessions
Evidence
Worked on by