Skip to content

Fix repeated FlowChat code link jumps in editor#276

Merged
GCWing merged 3 commits intoGCWing:mainfrom
wgqqqqq:fix/flowchat-repeat-code-link-jump
Mar 26, 2026
Merged

Fix repeated FlowChat code link jumps in editor#276
GCWing merged 3 commits intoGCWing:mainfrom
wgqqqqq:fix/flowchat-repeat-code-link-jump

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented Mar 26, 2026

Summary

  • add a per-navigation token so repeated clicks on the same FlowChat code link are treated as a new navigation request
  • pass the navigation token through the file tab pipeline into the code editor
  • keep Monaco jump deduplication only when the previous jump is still visibly applied in the active editor

Verification

  • reproduced from webview.log that repeated ChatPane file view requests were reaching the UI layer
  • ran pnpm --dir src/web-ui exec tsc --noEmit --pretty false

Behavior

Before this change, clicking the same FlowChat code link again after moving inside an already-open editor could be ignored.
After this change, the editor re-jumps even when the file stays open.

@wgqqqqq wgqqqqq force-pushed the fix/flowchat-repeat-code-link-jump branch from d52d089 to 73e8d76 Compare March 26, 2026 10:59
@GCWing GCWing merged commit ca51348 into GCWing:main Mar 26, 2026
4 checks passed
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.

2 participants