Skip to content

sessions: revert Customizations sidebar reorganization - #337007

Merged
Sandeep Somavarapu (sandy081) merged 6 commits into
mainfrom
sandy081/agents/customizations-sidebar-experiment
Sep 21, 2026
Merged

Sandeep Somavarapu (sandy081) merged 6 commits into
mainfrom
sandy081/agents/customizations-sidebar-experiment

Conversation

@sandy081

@sandy081 Sandeep Somavarapu (sandy081) commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

  • revert sessions: move Customizations next to Automations #336787 for this release
  • restore the previous expandable Customizations pane above the Sessions list
  • restore the stable Sessions header outside the virtualized list
  • remove the temporary experiment implementation; the sidebar reorganization will return behind a proper experiment in a future release

Testing

  • npm run compile
  • npm run typecheck-client
  • npm run transpile-client && ./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts --run src/vs/sessions/contrib/sessions/test/browser/sessionsViewPane.test.ts (146 passing)
  • npm run hygiene
  • npm run valid-layers-check
  • component fixtures: all 10 restored Customizations widget variants and all 92 Sessions list variants render successfully
  • git diff --check

Keep the existing expandable Customizations pane as the control and switch dynamically to the single list entry for the automatic treatment.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The restored control has duplicate command execution, broken toolbar focus behavior, and incomplete feature gating.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 4 Medium severity · 1 Low severity

Open (5)
What changed in this PR

Gates the Customizations list entry behind an experiment while restoring the expandable pane as the control for #336787.

Changes:

  • Adds the hidden automatic experiment setting.
  • Reactively switches between list-entry and pane variants.
  • Restores the Customizations toolbar and keeps fixtures on treatment.
File Description
sessionsList.fixture.ts Enables treatment in fixtures.
sessions.common.main.ts Loads the toolbar contribution.
sessionsList.test.ts Tests list treatment/control switching.
sessions.contribution.test.ts Verifies experiment schema.
sessionsView.ts Restores and switches the control pane.
sessionsList.ts Gates the list entry and header placement.
sessions.contribution.ts Registers the experiment setting.
customizationsToolbar.css Styles the restored pane.
customizationsToolbar.contribution.ts Registers toolbar actions and rows.
customizationsConstants.ts Defines setting and treatment IDs.
aiCustomizationShortcutsWidget.ts Implements the expandable pane.
menus.ts Restores the Customizations menu.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/sessions/contrib/sessions/browser/views/sessionsView.ts Outdated
Comment thread src/vs/sessions/contrib/sessions/browser/views/sessionsView.ts Outdated
Comment thread src/vs/sessions/contrib/sessions/browser/views/sessionsView.ts Outdated
Fix restored toolbar counting and focus behavior, preserve focus across experiment switches, and hide the control pane when AI features are unavailable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sandy081 Sandeep Somavarapu (sandy081) changed the title sessions: gate Customizations sidebar entry behind experiment sessions: revert Customizations sidebar reorganization Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 94a39f4c Current: 40f95d61

Changed (24)

sessions/sessionsList/SessionsList_AutomationsNewBadge/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButton/Dark
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButton/Light
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButton/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButtonWithKeybindingBackground/Dark
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButtonWithKeybindingBackground/Light
Before After
before after
sessions/sessionsList/SessionsList_LightweightNewButtonWithKeybindingBackground/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Accent/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Accent/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Accent/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Soft/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Soft/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Soft/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Unread/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Unread/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Unread/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Narrow/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Narrow/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Narrow/DarkHighContrast
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Running/Dark
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Running/Light
Before After
before after
sessions/sessionsList/SessionsList_AutomationsNewBadge_Running/DarkHighContrast
Before After
before after

2 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

Added (10)

sessions/aiCustomizationShortcutsWidget/Expanded/Dark

current

sessions/aiCustomizationShortcutsWidget/Expanded/Light

current

sessions/aiCustomizationShortcutsWidget/MinimumHeight/Dark

current

sessions/aiCustomizationShortcutsWidget/MinimumHeight/Light

current

sessions/aiCustomizationShortcutsWidget/WithMcpServers/Dark

current

sessions/aiCustomizationShortcutsWidget/WithMcpServers/Light

current

sessions/aiCustomizationShortcutsWidget/MinimumHeightWithMcpServers/Dark

current

sessions/aiCustomizationShortcutsWidget/MinimumHeightWithMcpServers/Light

current

sessions/aiCustomizationShortcutsWidget/WithCounts/Dark

current

sessions/aiCustomizationShortcutsWidget/WithCounts/Light

current

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sandy081
Sandeep Somavarapu (sandy081) merged commit 923ba28 into main Sep 21, 2026
33 checks passed
@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/agents/customizations-sidebar-experiment branch September 21, 2026 13:06
@sandy081 Sandeep Somavarapu (sandy081) added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label Sep 21, 2026
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants