Repository navigation
feat(bay): focus the crustacean finder with the / shortcut - #1182
Conversation
Pressing / anywhere outside a form control focuses the Bay search box, and the finder hint advertises the shortcut.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 2, 2026, 3:23 PM ET / 19:23 UTC. ClawSweeper reviewWhat this changesThe PR adds a Merge readiness✅ Ready for maintainer review Keep open for maintainer review: current main does not contain the shortcut, and the updated guard resolves the prior button and Shift concerns with sufficient exact-head browser proof. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw Bay is the public observer page for bounded, verified GitHub work. Browser interactions search and open visible references while the page reads status from the Worker API. flowchart LR
A[Public status API] --> B[OpenClaw Bay page]
C[Keyboard input] --> D[Shortcut guard]
D --> E[Finder input]
E --> F[Visible reference search]
F --> G[Reference detail dialog]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Land the narrow guarded shortcut and its matching observer-guide wording, preserving the existing no-action public Bay boundary. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction; the relevant evidence is the supplied exact-head browser proof of the newly added keyboard interaction. Is this the best way to solve the issue? Yes. A small page-level listener with explicit modifier, interactive-target, and dialog guards is the narrowest maintainable way to provide the finder shortcut. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f5d72d059cae. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
…ests everywhere (#1184) The exact-event review lane delivers GitHub effects directly and skips the artifact publication job, so its recommended live proofs never dispatched (observed on #1182, run 32002395638). Both lanes now share a repair-built candidates CLI, which the conditional build-script emits in every branch, and dispatch with a host-repo app token. live_test is now inherited from generic fallback profiles, enabling terminal-surface live proofs for every openclaw/* and steipete/* target (including openclaw/openclaw), with browser configs for ClawHub and the ClawSweeper bay demo. A recommended browser plan for a terminal-only repository is a logged skip instead of an error.
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…1198) The attach job hydrates the CURRENT record straight from the canonical store, but repair:publish-main fell back to the intentionally unhydrated CLAWSWEEPER_STATE_DIR for its three-way baseline, so every publication looked like a same-section concurrent edit and conflicted deterministically (#1182 run 32031655761). Each retry attempt now captures the freshly hydrated record as an explicit baseline for the unchanged strict fence, matching exact review's capture-before-mutate idiom.
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Integrate current main while preserving the original shortcut contribution. Keep normal typing, button focus, modifiers, composition, and open dialogs outside the shortcut path. Real Chrome browser proof covers finder focus, typing, search, dialog handling, and Clear.
What Problem This Solves
Bay users currently need the mouse or several Tab presses to reach “Where’s my crustacean?” Pressing
/from ordinary page content now focuses the finder without inserting a slash.Why This Change Was Made
The change remains one small listener in
dashboard/bay-page.ts, plus the existing hint and observer-guide text. It preserves the original contribution and integrates the current Bay behavior without adding a keyboard registry or another UI module.User Impact
Users can start searching immediately. The same key keeps its normal behavior in typing controls and on buttons. The shortcut stays inactive during modified/composing/already-handled events or while a detail blade is open; both the initial and Clear hints advertise it.
OpenClaw Bay Impact
The finder is the affected Bay surface. Its public observer behavior, status data, and reference links are unchanged; the browser proof below exercises the actual page and detail blade.
Documentation Impact
Updated the finder description in the active observer guide,
docs/openclaw-bay-demo.md. Its existing maintainer owner, page/Worker source of truth, and navigation update trigger still apply.Evidence
Main, repair, and dashboard TypeScript builds passed; the focused public Bay route test passed (1/1). Precommit and committed-branch Codex reviews were clean at P0 scope. The repository’s required CI runs the full
pnpm run checkon the updated PR.Real Behavior Proof
Controlled browser proof on September 2 used macOS with Node 24.20.0, the actual Worker
/bayroute and artwork in local Wrangler 4.107.0/workerd, and the connected Chrome 152.0.7977.65 profile. Both baseline and candidate received the same synthetic public-status fixture containingopenclaw/openclaw#123andopenclaw/clawhub#456. Seven observed checks passed: baseline/leaves page focus; candidate/focuses an empty finder;/types inside the finder; button focus is preserved; search finds the supplied reference; its real detail dialog stays open after/; Clear restores the empty field and shortcut hint. No browser console errors were recorded.The previous review’s button and Shift findings are addressed by the ancestor-aware button exclusion and explicit
event.shiftKeyguard. Fresh native proof covers allowed page focus and the excluded input/button/dialog cases. The optional coverage recommendation is satisfied for those rendered paths; Shift’s explicit guard is source-reviewed, because a normal US-layout Shift+/ emits?and would not prove the alternate-layout/event described by the finding. This proof does not claim that cross-layout case was exercised.690d0a38f4c1a5edc50686cbabc4367a5410c27b, treef76f07d89f9f38771e0a0420cac35927c3d0beba.56ccb516ab9d24031ed69bf4449b9916d2153367.39ac7ecd3190eb047c3e9616810d8b5f3ac4c29bebbf07f1604a6eb291b512a3.wrangler dev --local, serving the production Worker and artwork with a loopback fixture wrapper; actual Chrome keyboard input and accessibility observations at/bay.Baseline after pressing
/:After pressing
/on the candidate: