Skip to content

fix: typing filters an open assignment menu - #182016

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/good-shell
Oct 24, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/good-shell

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Reproduced in the bundled Control UI before the fix: hovering Assign to and typing carol invoked Copy link, closed the menu, and sent the remaining text to the composer.
  • 32 Chromium checks passed: 29 menu/navigation/people-search tests, two bundled-app sidebar/header regressions, and the existing compact archive-shortcut regression.
  • The bundled-app regressions verify empty results, Escape clearing, filtering without clicking search, focus, and the actual owner-assignment request after Arrow Down/Enter.
  • UI and component/E2E TypeScript checks, focused formatting/lint, documentation formatting, controller guardrails, and diff whitespace checks passed. Focused lint reports two existing warnings in unchanged code.
  • Independent review found no actionable P0–P2 findings.
  • Current-head WebKit CI passed: 648 tests across 66 files, including assignment, compact assignment, and members-search keyboard tests at 60 and 101 entries. Local proxy startup remains a separately investigated environment limitation; it did not prevent the CI WebKit run.

Worked on by

roboclaw-bot and others added 2 commits October 23, 2026 23:30
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
@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Oct 23, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 23, 2026 23:31
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Oct 23, 2026
@clawsweeper

clawsweeper Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

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

  • Before: Copy link handles c, closes the menu, and subsequent letters reach the composer.
  • After: The search contains carol, shows Carol, and Arrow Down followed by Enter requests assignment to profile-carol.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, apparently correct repair with useful browser coverage and green exact-head checks; independently inspectable behavior evidence remains limited to automated scenarios.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored bot PR is outside the ordinary contributor proof gate; inspected browser scenarios exercise the changed menu owner, and exact-head WebKit CI passed, while the linked work-session discussion was not inspected.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Typing after hovering Assign to can close the menu, invoke Copy link, and put text in the composer.
Reason: The maintainer-authored PR restores useful search behavior with a narrow change and preserves the established menu ownership design.

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
Reviewed head: 5d3be8046e7328481f8bc0044ccb80789f0f294c

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The inspectable evidence consists of browser tests and CI; no separately viewable shipped-app trace or base-red test output was supplied.
Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source +62, Tests +32, Docs +2. Total +96 across 7 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 79 17 +62
Tests 2 33 1 +32
Docs 1 3 1 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 115 19 +96

Labels

Label changes:

  • add P2: Assignment-menu typing triggers an unintended action, but clicking the search field provides a workaround.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Assignment-menu typing triggers an unintended action, but clicking the search field provides a workaround.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

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

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 23, 2026, 7:56 PM ET / 23:56 UTC.

@roboclaw-bot
roboclaw-bot merged commit c07c615 into main Oct 24, 2026
166 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/good-shell branch October 24, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant