Skip to content

Add home button to customizations editor sidebar#308919

Merged
joshspicer merged 1 commit intomainfrom
joshspicer/customizations-home-button
Apr 10, 2026
Merged

Add home button to customizations editor sidebar#308919
joshspicer merged 1 commit intomainfrom
joshspicer/customizations-home-button

Conversation

@joshspicer
Copy link
Copy Markdown
Member

Adds a prominent "Customizations" button with a home icon at the top of the sidebar in the AI Customizations management editor. Clicking it navigates back to the welcome page.

This complements the existing behavior where clicking blank space in the sections list deselects and shows the welcome page, but provides a more discoverable way to get back.

Changes

  • Add a sidebar-home-button element above the sections list in the sidebar
  • Style it to match section items (same padding, icon size, border-radius, hover state) but with bold text
  • Wire click handler to showWelcomePage()

Copilot AI review requested due to automatic review settings April 10, 2026 01:17
@joshspicer joshspicer marked this pull request as draft April 10, 2026 01:18
@joshspicer joshspicer force-pushed the joshspicer/customizations-home-button branch from abcc9d7 to e025430 Compare April 10, 2026 01:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

Screenshot Changes

Base: 7ff79304 Current: 19d6bd82

Changed (2)

agentSessionsViewer/CloudProvider/Light
Before After
before after
agentSessionsViewer/CloudProvider/Dark
Before After
before after

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a dedicated “Customizations” home button to the AI Customizations management editor sidebar so users can explicitly navigate back to the welcome page (instead of relying on deselecting via blank-space clicks).

Changes:

  • Add a new sidebar “Customizations” home button (with home codicon) above the sections list.
  • Wire the button to showWelcomePage() to clear selection and show the welcome content.
  • Add CSS to style the button to align with existing sidebar item styling.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css Adds styling for the new sidebar home button.
src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.ts Renders the new home button in the sidebar and hooks it up to navigate to the welcome page.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

@joshspicer joshspicer force-pushed the joshspicer/customizations-home-button branch 4 times, most recently from a95ab81 to 6e4679f Compare April 10, 2026 01:26
@joshspicer joshspicer marked this pull request as ready for review April 10, 2026 01:27
An Overview button with a home icon sits in the header row alongside
the harness picker. When the harness picker is visible, the button
shows only the icon; when hidden (single harness), it expands to a
full-width button with label.
@joshspicer joshspicer force-pushed the joshspicer/customizations-home-button branch from 6e4679f to c89ade8 Compare April 10, 2026 01:29
@joshspicer joshspicer enabled auto-merge (squash) April 10, 2026 01:33
@joshspicer joshspicer merged commit ce9a665 into main Apr 10, 2026
26 checks passed
@joshspicer joshspicer deleted the joshspicer/customizations-home-button branch April 10, 2026 02:34
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants