Change:
Testing Store an edit session in for a GH repo Open desktop Insiders Use GH Repositories extension to open same remote GH repo Edit Sessions view is empty - since I'm logged into GH in both web and desktop, I anticipated seeing my 3 edit sessions from here: !
Duplicate of If you run the 'Focus on All Sessions View' command, do your edit sessions show up? In tomorrow's insiders that view container should only appear in the sidebar after you explicitly run the command to Show Edit Sessions.
These are the only edit session commands I see in desktop today: ! I see more options in than desktop - should I be seeing more of these options in desktop? ! Maybe this is a dupe of Edit: Yes, this seems to be When I stored an edit session in desktop, I was prompted to log into GH Repositories, and now I see more options: ! Except now I still don't see anything in the Edit Sessions view in desktop, although I'm working on the same GH repo through GH Repositories that I was working on in the web: !
Ah, I had to select the menu in the Edit Session view, and choose to "Show all sessions." Now I can see the session from I would've expected to see all my edit sessions by default.
that shouldn't happen, the 'Edit sessions' view container should be hidden unless the 'All sessions' view is also showing. Do you recall how you got the edit sessions container to show up without the sessions ?
I believe these were my steps: Make an edit and store a session in Open same repo via GH Repositories in desktop VS Code Make an edit and store a session in desktop Storing in desktop prompts me to log into GH Once logged in and the session is stored, run command to Confused because Edit Session view is empty I manually select menu in Edit Session view to and then I can see my sessions (I guess the web ones were hidden by default in desktop)
:+1: tracking as
I couldn't repro this yesterda on desktop, but just repro-ed this with a clean user data dir, this is a bug with the Show Edit Sessions action. It should focus the view, not the container.
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected. If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
I'm trying to test this again, but I don't see any edit session commands: ! Am I missing something?
/verified

Discussion:
import { Action2, IAction2Options, registerAction2 } from 'vs/platform/actions/common/actions'; import { ServicesAccessor } from 'vs/editor/browser/editorExtensions'; import { localize } from 'vs/nls'; <del> import { IEditSessionsWorkbenchService, Change, ChangeType, Folder, EditSession, FileType, EDIT_SESSION_SYNC_CATEGORY, EDIT_SESSIONS_CONTAINER_ID, EditSessionSchemaVersion, IEditSessionsLogService, EDIT_SESSIONS_VIEW_ICON, EDIT_SESSIONS_TITLE, EDIT_SESSIONS_SCHEME, EDIT_SESSIONS_SHOW_VIEW, EDIT_SESSIONS_SIGNED_IN } from 'vs/workbench/contrib/editSessions/common/editSessions'; </del> <ins> import { IEditSessionsWorkbenchService, Change, ChangeType, Folder, EditSession, FileType, EDIT_SESSION_SYNC_CATEGORY, EDIT_SESSIONS_CONTAINER_ID, EditSessionSchemaVersion, IEditSessionsLogService, EDIT_SESSIONS_VIEW_ICON, EDIT_SESSIONS_TITLE, EDIT_SESSIONS_SCHEME, EDIT_SESSIONS_SHOW_VIEW, EDIT_SESSIONS_SIGNED_IN, EDIT_SESSIONS_DATA_VIEW_ID } from 'vs/workbench/contrib/editSessions/common/editSessions'; </ins> import { ISCMRepository, ISCMService } from 'vs/workbench/contrib/scm/common/scm'; import { IFileService } from 'vs/platform/files/common/files'; import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';

async run(accessor: ServicesAccessor) { that.shouldShowViewsContext.set(true); const viewsService = accessor.get(IViewsService); <del> await viewsService.openViewContainer(EDIT_SESSIONS_CONTAINER_ID); </del> <ins> await viewsService.openView(EDIT_SESSIONS_DATA_VIEW_ID); </ins> } })); }

import { Registry } from 'vs/platform/registry/common/platform'; import { TreeView, TreeViewPane } from 'vs/workbench/browser/parts/views/treeView'; import { Extensions, ITreeItem, ITreeViewDataProvider, ITreeViewDescriptor, IViewsRegistry, TreeItemCollapsibleState, TreeViewItemHandleArg, ViewContainer } from 'vs/workbench/common/views'; <del> import { EDIT_SESSIONS_SCHEME, EDIT_SESSIONS_SHOW_VIEW, EDIT_SESSIONS_SIGNED_IN, EDIT_SESSIONS_TITLE, IEditSessionsWorkbenchService } from 'vs/workbench/contrib/editSessions/common/editSessions'; </del> <ins> import { EDIT_SESSIONS_DATA_VIEW_ID, EDIT_SESSIONS_SCHEME, EDIT_SESSIONS_SHOW_VIEW, EDIT_SESSIONS_SIGNED_IN, EDIT_SESSIONS_TITLE, IEditSessionsWorkbenchService } from 'vs/workbench/contrib/editSessions/common/editSessions'; </ins> import { URI } from 'vs/base/common/uri'; import { fromNow } from 'vs/base/common/date'; import { Codicon } from 'vs/base/common/codicons';

} private registerViews(container: ViewContainer): void { <del> const viewId = 'workbench.views.editSessions.data'; </del> <ins> const viewId = EDIT_SESSIONS_DATA_VIEW_ID; </ins> const name = localize('edit sessions data', 'All Sessions'); const treeView = this.instantiationService.createInstance(TreeView, viewId, name); treeView.showCollapseAllAction = true;

export const EDIT_SESSIONS_SIGNED_IN = new RawContextKey<boolean>(EDIT_SESSIONS_SIGNED_IN_KEY, false); export const EDIT_SESSIONS_CONTAINER_ID = 'workbench.view.editSessions'; <ins> export const EDIT_SESSIONS_DATA_VIEW_ID = 'workbench.views.editSessions.data'; </ins> export const EDIT_SESSIONS_TITLE = localize('edit sessions', 'Edit Sessions'); export const EDIT_SESSIONS_VIEW_ICON = registerIcon('edit-sessions-view-icon', Codicon.cloudDownload, localize('editSessionViewIcon', 'View icon of the edit sessions view.'));