Skip to content

fix(tutor): select-and-ask quote bar queried light DOM for shadow-rooted wrap#206

Merged
heznpc merged 1 commit into
mainfrom
fix/text-selection-quote-shadow
Jun 10, 2026
Merged

fix(tutor): select-and-ask quote bar queried light DOM for shadow-rooted wrap#206
heznpc merged 1 commit into
mainfrom
fix/text-selection-quote-shadow

Conversation

@heznpc

@heznpc heznpc commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Max-effort review of the #203#205 batch caught one more stage-2b stragller: text-selection.js:92 still looked up .si18n-chat-input-wrap via document.querySelector — null since the sidebar moved into the shadow root (#190), so the quoted-text bar silently never rendered (#205 fixed the input lookup at :109 but missed this one 17 lines above). One-line fix to sb.$(). Gates: 527 unit · E2E 20/20 · lint · prettier green.

🤖 Generated with Claude Code

…adow-rooted input wrap

The stage-2b sweep-up in #205 fixed text-selection.js's chat-input lookup but
missed the .si18n-chat-input-wrap lookup 17 lines above — document.querySelector
returns null now that the sidebar lives in the shadow root, so the quoted-text
bar silently never rendered. Found by the post-batch max-effort review; now uses
sb.$() like its sibling. Gates: 527 unit, full E2E 20/20, lint, prettier green.
@heznpc heznpc enabled auto-merge (squash) June 10, 2026 07:32
@heznpc heznpc merged commit 0960951 into main Jun 10, 2026
8 checks passed
@heznpc heznpc deleted the fix/text-selection-quote-shadow branch June 10, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant