Repository navigation
Keyboard control wave 2: F6 areas, sidebar arrows, Bot keys, ↑ to resend, ⌘F - #641
Conversation
…end, ⌘F - F6 / ⇧F6 move between the sidebar, conversation, message box and side panel; ⌘K gains Focus sidebar / conversation / side panel. - The sidebar chat list and the Bot list are one Tab stop with ↑ ↓ Home End, and ← → for project folders. - Bots get ⌘1–9 and ⇧⌘[ / ⇧⌘] with hold-⌘ hints; these chat keys now also work while typing in the message box. - ↑ in an empty message box edits the last message in a fork; ⌥↑ / ⌥↓ step between replies and land on Copy. - ⌘F finds text in the open chat with the CSS Highlight API (new default yields to a saved Command+F). - Tests, CI registry, docs/keyboard.md and README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RFnvTu7rNwP4JpjJMZ
There was a problem hiding this comment.
Important
Find in chat has three reproducible correctness issues: Unicode searches can throw, navigation can leave matches offscreen, and continuous streaming postpones match-count updates until the stream pauses.
Reviewed changes across the full keyboard-control wave, including shared focus/navigation helpers and local/remote chat and Bot integrations.
- Window navigation: F6 region cycling, explicit focus commands, and reply-action traversal.
- Sidebar and composer: Roving row focus, Bot jump shortcuts and hints, editable-target chat shortcuts, and ArrowUp Edit in fork.
- Conversation search: Find-bar lifecycle, text matching, highlight painting, match navigation, shortcut migration, and documentation.
- Validation: All 335 tests in the focused command-system, sidebar, Bot, remote-chat, and chat-transition runs passed, as did application and e2e type-checks. Additional targeted probes reproduced the inline findings; full Electron e2e execution was not possible on this Linux runner because the repository harness requires macOS.
gpt-6.1-sol | 𝕏
…elf, refresh while streaming - Lowercasing can lengthen a character (İ), so folded offsets are mapped back to the original text node before building ranges. - Next / previous centre the match's own rectangle in each scroller out to the conversation, so matches far apart in one tall code block are shown. - The transcript observer keeps at most one refresh pending instead of restarting the delay on every mutation, so a fast stream is still counted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RFnvTu7rNwP4JpjJMZ
There was a problem hiding this comment.
Important
The offset fix introduces a reproducible Unicode search regression: an exact Greek query can return no matches when the same text node contains İ.
Reviewed changes since the prior Pullfrog review at 06c0dabac, scoped to the find-in-chat fixes in 755b96464.
- Mapped search offsets: Added original-text offsets for length-expanding lowercase conversions and dotted-I matcher coverage.
- Revealed matched ranges: Replaced parent-element scrolling with range-based positioning through nested scroll containers, with a tall-code-block visibility e2e.
- Refreshed streaming matches: Replaced the trailing debounce with a bounded refresh timer and added sustained-stream behavior coverage.
- Validated the delta: Passed all 126 command-system tests, application type-checking, and e2e type-checking. Full Electron e2e execution remains unverified on this Linux runner because the repository harness requires macOS.
gpt-6.1-sol | 𝕏
Whole-string lowercasing is context-sensitive (a word-final capital sigma becomes ς), so the per-character fallback could disagree with the query. Both sides now fold per character, with ς folded to σ; ASCII text keeps the in-place fast path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RFnvTu7rNwP4JpjJMZ
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review at 755b96464, scoped to the case-folding fix in d6444f9c2.
- Unified search folding: Applied the same per-character transformation to queries and transcript text, normalized Greek sigma variants, and retained original-text offset mapping and the ASCII fast path.
- Extended matcher coverage: Added mixed dotted-I/Greek assertions that reproduce the previous failure and now pass.
- Validated the delta: Passed all 126 command-system tests, application type-checking, and nine additional real-matcher probes covering sigma variants, dotted-I offsets, and supplementary characters. Electron e2e was not rerun on this Linux runner.
gpt-6.1-sol | 𝕏
Hermes Review BotConfidence: 5 Engine: SummaryWave 2 delivers the second phase of the keyboard-control audit, introducing cross-region navigation ( Confidence Score: 5/5Fully traced all navigation paths, event dispatching, DOM range queries, roving tabindex muting, and command registrations across all views and tests. 📁 Important Files Changed
FindingsNo findings. Sequence DiagramsequenceDiagram
autonumber
actor User
participant Window as Window Keydown Listener
participant FindBar as ChatFindBar
participant Engine as ChatFind (DOM Walker)
participant HighlightAPI as CSS.highlights
participant Scrollport as ScrollArea Scrollport
User->>Window: Press ⌘F
Window->>FindBar: Execute "chat.find" command
FindBar->>FindBar: Mount overlay & focus searchbox
User->>FindBar: Type search query
FindBar->>Engine: findChatMatches(transcript, query)
Engine-->>FindBar: Range[] matches
FindBar->>HighlightAPI: paintChatMatches(ranges, activeIndex)
FindBar->>Scrollport: revealMatch(matchRange, scrollport)
User->>FindBar: Press Enter / ⌘G
FindBar->>FindBar: Advance active index (wrap around)
FindBar->>HighlightAPI: Update current highlight
FindBar->>Scrollport: revealMatch(nextRange, scrollport)
User->>FindBar: Press Escape
FindBar->>HighlightAPI: clearChatMatches()
FindBar-->>User: Restore previous focus & unmount
[]
|
|
Linux build x64 failed on d6444f9 because of one flaky e2e test, which
I'll re-run the failed jobs once, after the rest of this run finishes. Generated by Claude Code |
very-hermes-bot
left a comment
There was a problem hiding this comment.
Inline review — 1 finding(s) anchored to the diff. See the pinned summary comment for the overview.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RFnvTu7rNwP4JpjJMZ
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review at d6444f9c2, scoped to the Escape-handling fix in f6bf4955c.
- Extended Escape dismissal: Moved the handler to the find-bar container so Escape closes from its buttons as well as the search field, preserving the composition guard and focus restoration.
- Expanded behavioral coverage: Extended the mounted test to dismiss from the Close button and verify that focus returns to the original message box.
- Validated the delta: Passed all 126 command-system tests and application TypeScript checking. Electron e2e was not rerun for this narrow handler change on the Linux runner.
gpt-6.1-sol | 𝕏
very-hermes-bot
left a comment
There was a problem hiding this comment.
Inline review — 1 finding(s) anchored to the diff. See the pinned summary comment for the overview.
…reopen it The chat pane stays mounted across chats, so the hook's state for the old chat matched again on return and the bar reopened and took focus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RFnvTu7rNwP4JpjJMZ
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review at f6bf4955c, scoped to the find-bar lifecycle fix in 561cfe608.
- Cleared stale find state: Reset the remembered open state when the chat scope changes, preventing the bar from reopening when returning to a previously searched chat.
- Added navigation coverage: Mounted the real command provider with a persistent pane to verify opening, leaving, returning with the bar closed, and explicitly reopening it.
- Validated the delta: Passed all 127 command-system tests and application TypeScript checking. Electron e2e was not rerun for this narrow lifecycle change on the Linux runner.
gpt-6.1-sol | 𝕏
…-aiyeon # Conflicts: # renderer/main/bots/bot-chat-pane.tsx

Wave 2 of 3 from the keyboard-control audit. Wave 1 was #619. The owner chose all three waves ("1c 2a 3a").
What changes for the person
•••.Implementation notes
renderer/lib/focus-regions.ts: areas are marked withdata-focus-region.renderer/lib/roving-rows.tsrenderer/lib/chat-find.tswithrenderer/components/chat-find-bar.tsxrenderer/components/keyboard-regions.tsx, mounted in the root view.ScrollAreaprops:focusRegion="chat"makes the scrollport a labelled "Conversation" region. Its focus ring is drawn as a sibling below the overlaid toolbar.overlayfloats the find bar under the toolbar.data-state="closed", which the area check wrongly treated as a closed panel. That check is now applied only to the area element.Screenshots (light and dark)
They are in the project files under
keyboard-control/wave2/:Tests
roving-rows(7) andfocus-regions(5)chat-find-bar(5)composer-edit-last(4): mounts the real Composer.test:sidebarandtest:command-system, and inscripts/ci-test-registry.json(renderer-other lane).chat-shell-interactions.spec.ts: ⇧F6 / F6 through the areas, ↓ and ↩ in the sidebar, and ⌘F with Esc.chat-shell-interactions,bots-sidebar-panel,chat-top-bar,app-controls,chat-message-queue,workspace-panelandbots-persistence.prepare-macos-dev-runtime(no/usr/bin/plutilin the Linux container).tscand eslint are clean.workspace-panel.spec.ts› "the shared browser strip ignores a delayed command snapshot after a newer close event" failed once withelectronApplication.evaluate: Resulting promise was garbage collected.It then passed 3/3 with--repeat-each=3.chat-shell-interactions+bots-sidebar-panelreported 1 failure. I cleared the results before reading which spec it was, and the next two full runs passed 29/29.Docs
docs/keyboard.mdadds a "Moving around the window" section plus the new chat keys and rules, and the README's keyboard line is updated.Generated by Claude Code