Claude: changes for issue #171 #174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/issue-171"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #171.
🤖 Reviewing this PR — follow along in the action run; the reply will link the full session transcript.
📜 Live transcript — updating every ~5 minutes while the task runs.
💬 Verdict: comment — notes only, nothing blocking.
Solid, well-reasoned fix. The core problem — the browser's native arrow-key caret jump fighting with the C# active-row logic — is correctly diagnosed, and the fix is careful: the
ownsArrowgate in JS reads the exact same DOM fact (role="option"rows under#nav-search-panel) that the C# switch's_hits.Count > 0renders from, so the two conditions structurally cannot disagree. Threading the inputElementReferencethroughwatch(dotNetRef, input)is the right way to scope the suppression to this field only. CallingpreventDefaultfrom the later document-level listener still works because the native caret-move default action only takes effect after the whole dispatch (including Blazor's own bubbling handler) completes — no bug there. The added Playwright coverage is good: it pins the caret position explicitly (not just the active row), and separately verifies the arrows revert to normal caret behavior once the hit list is empty. Docs are updated in the same PR as required.One conventions gap: this is a member-visible bug fix (arrow-key navigation was corrupting the caret while correcting a search), and CLAUDE.md requires such changes to add a line to
Changelog.UnreleasedinServices/Changelog.csin the same PR. That file isn't touched here.⏱ 1m 39s · 11 turns · tokens: 35.1k in / 8.1k out (+449.5k cache-read)
📜 Full session transcript
This PR fixes a bug a member would notice (arrow keys through the search results throwing the caret to the end of the typed query) but doesn't add a bullet to
Unreleasedhere, as CLAUDE.md's changelog convention requires for member-visible changes.🔧 Let Claude fix this — tick the box and claude-bot picks up the review above, on this PR branch. Nothing runs until you do.
🤖 On it — follow along in the action run; the reply will link the full session transcript.
📜 Live transcript — updating every ~5 minutes while the task runs.