You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(native-chat): use quote icon for Add to chat - #27631
Selecting text in an agent reply offers an “Add to chat” button that inserts the selection as a quote. Its chat bubble with a plus suggested a new chat message, so the button now shows a quote mark.
What Changed
Before: The button showed a chat bubble with a plus.
After: The button shows a quote mark. The label, quotation text, and timing are unchanged. In particular, a double-clicked word still waits 500 ms so a third click can finish selecting the paragraph before the button appears.
Mechanism: Replaced the button’s Lucide icon in NativeChatSelectionQuote.tsx. No selection or composer logic changed.
Why
The action inserts selected text into the composer as a blockquote, so a quote mark describes it more clearly. We kept the existing timing after reviewing a shorter wait: that wait could briefly show the word button during a slower triple-click before replacing it with the paragraph button.
Linked Issue
N/A (maintainer change; no existing issue).
Visual Proof
Before:
After:
Rendered hidden Electron check:
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/NativeChatSelectionQuote.test.tsx — 7 tests passed.
orca-ci-checks with Bun 1.4.3 — 26/26 checks passed, including lint, code quality, localization, and typechecks.
Local hidden-renderer Electron QA — 1 test passed on the pushed commit. The double-click offer was absent at 450 ms, appeared by 750 ms with the Quote icon, and clicking it inserted the selected reply as a blockquote. The screenshot above captures the rendered offer.
Remote-machine Electron QA remained blocked before rendering: macOS test setup missed its CLI build, Windows fallbacks hit agent startup and native rebuild errors, and the Linux host was unreachable. The local hidden-renderer run verified the UI behavior.
No new automated test: the final code changes only an icon; the existing quote-selection tests cover behavior.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Review
Two review rounds found and removed the shorter delay. A final pass found no issue in the icon-only diff.
Agent skill upstream boundary
Not applicable; this change copies no skill-installer source or resources.
Notes
Renderer-only icon change. No security, cross-platform, SSH, mobile, compatibility, or performance mechanism changed.
Checklist
This PR is small and focused
I explained what changed and why
Before/after screenshots attached
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered
CI checks and build verified (all PR checks passed)
brennanb2025
changed the title
fix(native-chat): quote icon on Add to chat, and show it sooner after a double-click
fix(native-chat): use quote icon for Add to chat
Oct 12, 2026
The “Add to chat” button used a chat-plus icon even though it inserts selected reply text as a quote. It now shows a quote icon. The label, inserted text, and original 500 ms selection delay remain the same.
During review, a proposed shorter delay was found to briefly show the wrong selection during slower triple-clicks; that change was removed. The final PR diff changes only the icon. No review findings remain open, and no code changes were deferred.
Verified: the focused quote-selection suite passed (7/7), orca-ci-checks passed (26/26), and all PR CI checks passed, including the five Node 24 test shards. The final icon-only diff passed a second review and the readiness check. A local hidden-renderer Electron test passed on the pushed commit: the offer stayed absent at 450 ms after a double-click, appeared by 750 ms with the Quote icon, and inserted the selected reply as a blockquote when clicked. A fresh rendered screenshot is attached to the PR. Remote-machine QA stopped before rendering because of setup failures and an unreachable host.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Selecting text in an agent reply offers an “Add to chat” button that inserts the selection as a quote. Its chat bubble with a plus suggested a new chat message, so the button now shows a quote mark.
What Changed
Before: The button showed a chat bubble with a plus.
After: The button shows a quote mark. The label, quotation text, and timing are unchanged. In particular, a double-clicked word still waits 500 ms so a third click can finish selecting the paragraph before the button appears.
Mechanism: Replaced the button’s Lucide icon in
NativeChatSelectionQuote.tsx. No selection or composer logic changed.Why
The action inserts selected text into the composer as a blockquote, so a quote mark describes it more clearly. We kept the existing timing after reviewing a shorter wait: that wait could briefly show the word button during a slower triple-click before replacing it with the paragraph button.
Linked Issue
N/A (maintainer change; no existing issue).
Visual Proof
Before:
After:
Rendered hidden Electron check:
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/NativeChatSelectionQuote.test.tsx— 7 tests passed.orca-ci-checkswith Bun 1.4.3 — 26/26 checks passed, including lint, code quality, localization, and typechecks.Local hidden-renderer Electron QA — 1 test passed on the pushed commit. The double-click offer was absent at 450 ms, appeared by 750 ms with the Quote icon, and clicking it inserted the selected reply as a blockquote. The screenshot above captures the rendered offer.
Remote-machine Electron QA remained blocked before rendering: macOS test setup missed its CLI build, Windows fallbacks hit agent startup and native rebuild errors, and the Linux host was unreachable. The local hidden-renderer run verified the UI behavior.
No new automated test: the final code changes only an icon; the existing quote-selection tests cover behavior.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Review
Two review rounds found and removed the shorter delay. A final pass found no issue in the icon-only diff.
Agent skill upstream boundary
Notes
Renderer-only icon change. No security, cross-platform, SSH, mobile, compatibility, or performance mechanism changed.
Checklist