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
* Gate titlebar new-session button behind A/B experiment + add per-surface telemetry
Gate the titlebar new-session button on the 'agentSessionsTitleBarNewSession'
ExP treatment via the SessionsTitleBarNewSessionEnabledContext context key, so
the affordance only shows for the treatment group and we can measure its impact
on new-session metrics. Also tag the new-session interaction telemetry with the
originating surface ('titleBar' vs 'sidebar') to count clicks from the titlebar.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: move titlebar new-session spacing into the left toolbar
Let the left titlebar toolbar provide the gap between its actions via a
4px gap on the actions-container, instead of a per-item margin class on
the new-session view item. Keeps spacing consistent across all left
toolbar actions.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: shorten comments
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: derive new-session telemetry source from DOM instead of a constructor flag
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: pass telemetry source to new-session view item from its menu
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: always show titlebar new-session button in dev builds
Show the affordance regardless of the experiment when running out of
sources (IEnvironmentService.isBuilt === false) to ease development.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/vs/sessions/common/contextkeys.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,12 @@ export const SessionsWelcomeVisibleContext = new RawContextKey<boolean>('session
51
51
52
52
//#endregion
53
53
54
+
//#region < --- Experiments --- >
55
+
56
+
exportconstSessionsTitleBarNewSessionEnabledContext=newRawContextKey<boolean>('sessionsTitleBarNewSessionEnabled',false,localize('sessionsTitleBarNewSessionEnabled',"Whether the new-session button is shown in the titlebar when the sessions list is hidden (A/B experiment)"));
57
+
58
+
//#endregion
59
+
54
60
//#region < --- Workspace Picker --- >
55
61
56
62
exportconstSessionWorkspacePickerGroupContext=newRawContextKey<string>('sessionWorkspacePickerGroup','',localize('sessionWorkspacePickerGroup',"The currently active group tab in the session workspace picker"));
@@ -26,7 +26,7 @@ type SessionsInteractionClassification = {
26
26
owner: 'osortega';
27
27
comment: 'Tracks user interactions with buttons in the Agents window';
28
28
button: {classification: 'SystemMetaData';purpose: 'FeatureInsight';comment: 'The identifier of the button that was clicked'};
29
-
source?: {classification: 'SystemMetaData';purpose: 'FeatureInsight';comment: 'The UI surface that triggered the interaction (menuor actionWidget)'};
29
+
source?: {classification: 'SystemMetaData';purpose: 'FeatureInsight';comment: 'The UI surface that triggered the interaction (menu, actionWidget, titleBar or sidebar)'};
0 commit comments