fix(vscode): reduce prompt navigator interruptions - #13499
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Previous Review Summary (commit 6b3e3d4)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 6b3e3d4)Status: No Issues Found | Recommendation: Merge Files Reviewed (13 files)
Reviewed by grok-4.6 · Input: 170.4K · Output: 5.3K · Cached: 175.5K Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
August 27, 2026 08:47
marius-kilocode
disabled auto-merge
August 27, 2026 09:19
WebReflection
approved these changes
Aug 27, 2026
WebReflection
left a comment
Contributor
There was a problem hiding this comment.
Most comments have been either explained or acknowledged, I don't want to block this PR as it solves already a real use case.
marius-kilocode
force-pushed
the
improve-prompt-navigator-placement
branch
from
August 27, 2026 09:24
6b3e3d4 to
fddaf5f
Compare
marius-kilocode
enabled auto-merge
August 27, 2026 09:26
This was referenced Aug 28, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What Problem This Solves
The prompt navigator can open while the pointer crosses the chat sidebar, which disrupts users who move between Kilo chat and their code. Its fixed left-edge placement also puts it in the pointer path when the extension is docked on the right.
Why This Change Was Made
Place the rail at the physical outer edge of the chat surface. Detect the sidebar edge from the webview position so the rail follows primary and secondary sidebar placement. Keep the preview card inside the chat surface and mirror its placement for either edge.
Physical
leftandrightare intentional here rather than logical CSSstartandend. The rail follows the physical VS Code workbench edge, not the document reading direction. Changing to an RTL language changes the webview direction but does not move the VS Code sidebar; logical positioning could therefore put the rail back on the inner boundary between chat and code. Editor tabs and Agent Manager have no sidebar edge signal and keep the rail on the physical right in both LTR and RTL.Opening the preview on hover now requires a 350 ms dwell. Pending opens are cancelled when the pointer leaves, scrolling begins, dragging is detected, the rail side changes, or the target prompt changes. Click and keyboard navigation remain immediate. The hover delay, Escape dismissal, and preserved keyboard access provide the accessibility improvements; physical edge placement reduces disruptive pointer crossings.
User Impact
The prompt navigator is less likely to interrupt normal pointer movement. It remains available through deliberate hover, click, and keyboard navigation. It is placed on the outer edge in the chat sidebar and remains on the right in editor and Agent Manager surfaces.
Evidence
bun run compilebun run test:unit(4,225 tests)bun run typecheckbun run lintbun run knipbun run check-kilocode-changeopenai; the geometry behavior is unchanged by the expression cleanup.The change does not add a prompt navigator off switch.