Surface missing enablement of Edit Sessions to user in Continue On flow from web to desktop #161266
Labels
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
on-testplan
papercut 🩸
A particularly annoying issue impacting someone on the team
ux
User experience issues
Milestone
Problem
Follow up from #160476 (comment)
This is a papercut since the user has to then manually enable edit sessions, and even after doing so requires a window reload or manually running
Resume Latest Edit Session
for the edits from web to apply to the desktop instance.Note that settings sync must also be enabled manually across all clients, but I don't think we have any prior art to deal with this scenario where some service or feature needs to be enabled cross-client.
Proposal
My proposal is to contextually ask the user to turn on edit sessions when going from web to desktop with a pending edit session. We can't always ask the user to turn on edit sessions, because a majority of users won't know what edit sessions are. Instead:
the first time the desktop application is launched via a Continue On flow, we will display the auth quick pick asking the user to turn on edit sessions with a particular auth session

if the user ignored the prompt, in future windows, we will not prompt again, but will instead display a badge in the accounts menu which the user can dismiss by clicking on the item (note, we do not display it in the global activity menu)

Implementation notes
continueOn
query parameter which indicates that the app launches as part of a Continue On scenario. This query param is appended by core and parsed by core in the 'main' protocol URL handler so that extensions don't have to deal with it (today, both affected scenarios are contributed from Remote Repositories)/cc @joaomoreno @TylerLeonhardt
The text was updated successfully, but these errors were encountered: