automations: add context menu actions for automation cards - #333226
Merged
Ben Villalobos (benvillalobos) merged 5 commits intoAug 28, 2026
Merged
automations: add context menu actions for automation cards#333226Ben Villalobos (benvillalobos) merged 5 commits into
Ben Villalobos (benvillalobos) merged 5 commits into
Conversation
Copilot started reviewing on behalf of
Ben Villalobos (benvillalobos)
August 28, 2026 19:00
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
Review tier: Balanced
Findings: 1
New issues introduced by this change (2)
| Severity | Finding |
|---|---|
src/vs/sessions/contrib/sessions/browser/views/automationsView.ts — Deletion is still keyed only by id, so it does not handle concurrent edits as described. If… |
|
src/vs/sessions/contrib/sessions/browser/views/automationsView.ts — The dialog is awaited before the try, so a failure while opening or initializing it rejects the… |
What changed in this PR
Adds context-menu management actions to automation cards.
Changes:
- Adds Duplicate, Disable, and Delete actions with capability guards.
- Supports prefilled creation dialogs and accessibility guidance.
- Adds regression tests for action behavior and failures.
| File | Description |
|---|---|
automationDialogService.ts (common) |
Adds mutually exclusive edit and initial-value options. |
automationsView.test.ts |
Tests the new context-menu workflows. |
automationsView.ts |
Implements menu actions and deletion reuse. |
automationsAccessibility.ts |
Documents keyboard access to the actions. |
automationDialogService.ts (sessions) |
Initializes creation dialogs from supplied values. |
menus.ts |
Registers the automation-card context menu. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a713c12c-1a43-4f7f-9337-fca7f8dfe89f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a713c12c-1a43-4f7f-9337-fca7f8dfe89f
sessions: add context menu actions for automation cardsCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a713c12c-1a43-4f7f-9337-fca7f8dfe89f
Ben Villalobos (benvillalobos)
marked this pull request as ready for review
August 28, 2026 22:36
Ben Villalobos (benvillalobos)
enabled auto-merge (squash)
August 28, 2026 22:36
Connor Peet (connor4312)
approved these changes
Aug 28, 2026
Contributor
Ben Villalobos (benvillalobos)
deleted the
agents/automation-card-duplicate-option
branch
August 28, 2026 23:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds Duplicate, Disable, and Delete actions to the automation card context menu.
All actions respect provider capabilities and handle concurrent changes. Accessibility guidance has been updated, and focused regression tests cover all new functionalities.