Skip to content

Automations TPI feedback - #324659

Merged
Ben Villalobos (benvillalobos) merged 6 commits into
mainfrom
bv/automations-tpi-fixes
Jul 7, 2026
Merged

Automations TPI feedback#324659
Ben Villalobos (benvillalobos) merged 6 commits into
mainfrom
bv/automations-tpi-fixes

Conversation

@benvillalobos

@benvillalobos Ben Villalobos (benvillalobos) commented Jul 7, 2026

Copy link
Copy Markdown
Member

Fixes https://github.com/microsoft/vscode-internalbacklog/issues/8304
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/8319
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/8334

  • Remove extra separator
  • Fix dialog title having a different background than the dialog itself
  • Explicitly marks sessions using default value displayed by the modal by falling back to copilot cli (v0 expected scenario)

The secondary-toolbar inter-chip divider from chat.css drew an orphan vertical bar to the left of the Folder/Worktree chip, since it follows the Copilot CLI chip. Extend the existing divider suppression to cover the secondary toolbar.

Fixes microsoft/vscode-internalbacklog#8304
The title bar used a translucent quickInputTitle stripe, so hovering the close button read as an overlapping box against the differently colored header. Anchor both the title bar and body to editorWidget.background so they match in every theme.

Fixes microsoft/vscode-internalbacklog#8319
Copilot AI review requested due to automatic review settings July 7, 2026 00:47

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.

Pull request overview

This PR cleans up the Automations create/edit dialog styling and ensures the dialog saves an explicit session target instead of relying on implicit defaults, improving visual consistency and avoiding unintended fallbacks.

Changes:

  • Aligns the automations modal background/titlebar styling with the dialog’s native theme background.
  • Removes the orphan separator/divider in the dialog’s embedded chat toolbars (primary + secondary).
  • Explicitly persists the session target (provider + session type) used by the modal.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css Updates dialog/titlebar background tokens and suppresses toolbar dividers in both primary/secondary toolbars.
src/vs/sessions/contrib/automations/browser/automationDialogService.ts Forces provider/session type onto create/update payloads to avoid implicit fallback behavior.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 4
  • Review effort level: Low

Comment thread src/vs/sessions/contrib/automations/browser/automationDialogService.ts Outdated
Comment thread src/vs/sessions/contrib/automations/browser/automationDialogService.ts Outdated
Switches color from quickInput-foreground to editorWidget-foreground
on both the dialog body and titlebar. Ensures consistent theming with
defaultDialogStyles across all VS Code themes.
… CLI

Instead of hard-coding COPILOT_PROVIDER_ID and SessionType.CopilotCLI,
read from form state and fall back to these defaults when undefined.
This respects the session type binder's output on both create and
update paths.
@benvillalobos
Ben Villalobos (benvillalobos) marked this pull request as ready for review July 7, 2026 03:54
@benvillalobos Ben Villalobos (benvillalobos) changed the title Automations dialog cleanup Automations TPI feedback Jul 7, 2026
@benvillalobos
Ben Villalobos (benvillalobos) merged commit f12ddfd into main Jul 7, 2026
29 checks passed
@benvillalobos
Ben Villalobos (benvillalobos) deleted the bv/automations-tpi-fixes branch July 7, 2026 04:06
@vs-code-engineering vs-code-engineering Bot added this to the 1.129.0 milestone Jul 7, 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