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
Commit 0696655
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web-shell): drop a return location an abandoned hand-over left behind
The remote-workspace-add continuation is one-shot and tab-scoped, but it was
only cleared on completion or cancellation. A reload or the browser's Back
button abandons the flow without clearing it: App's effect strips the URL
marker while the qwen-remote-workspace-return key stays in sessionStorage, so
the next Cancel in any Add-workspace dialog -- including a purely local one --
consumed that stale location and navigated the whole shell back to it.
Discarding it on a marker-less standalone boot is safe: the key is only ever
written by startRemoteWorkspaceAdd immediately before navigateToDaemon, and
every navigateToDaemon success path either assigns a URL carrying the marker
or replaceStates the marker in before reloading, while a failed switch removes
the key again. So a boot without the marker means the hand-over is over.
Also aligns the zh copy for workspaceHost.folderOnThisComputer with
workspaceHost.thisComputer.
Co-authored-by: Qwen-Coder <[email protected]>
Patrol-Run: qwen-pr-closeout/jmu7rlkyy52
0 commit comments