automations: feat: improve starter templates for 1.137 - #335013
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
There is a maintainability concern where a UI class/selector named for “prompt” now represents “description”, which should be reconciled to avoid future confusion.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
src/vs/sessions/contrib/sessions/browser/views/automationsView.ts — The element class name automations-template-card-prompt now renders the description (with the… |
What changed in this PR
Backports improved “starter automation templates” into release/1.137, replacing the previous generic templates with three more actionable workflows while keeping the visible/accessibility copy concise and preserving full prompts via hover and the create dialog.
Changes:
- Replaced the template catalogue contents and introduced a concise
descriptionfield per template (with fullpromptretained). - Updated the Automations cards UI to render short descriptions while keeping full prompts on hover and in the create dialog.
- Updated accessibility output and browser tests to validate the new template behavior and copy.
| File | Description |
|---|---|
| src/vs/sessions/contrib/sessions/test/browser/automationsView.test.ts | Updates expectations to cover the new template set and validate concise visible/accessible descriptions vs full prompts. |
| src/vs/sessions/contrib/sessions/browser/views/automationTemplates.ts | Defines the new three-template catalogue and adds description alongside prompt. |
| src/vs/sessions/contrib/sessions/browser/views/automationsView.ts | Renders template cards using description for visible text, keeping prompt in hover and dialog initial values. |
| src/vs/sessions/contrib/sessions/browser/views/automationsAccessibility.ts | Switches accessible template listing from full prompt text to concise description text. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Screenshot ChangesBase: Changed (14)4 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. |
Correct three fixtures inherited from #334865 that passed a main-only telemetry dependency to the four-argument release AutomationStore. Remove the unused telemetry stub without changing production behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Summary
Backport #334983 (55733b2) to
release/1.137after prerequisite #334865.Release compatibility fix
CI exposed three fixtures inherited from #334865 that still passed a main-only telemetry dependency to the four-argument release
AutomationStore. Remove those arguments and the unused telemetry stub. This corrects eight compile errors and three browser test failures without changing production behavior.Validation on release/1.137
The main PR passed all CI and policy checks, received approval, and had both Copilot review threads resolved before merging. The release review naming suggestion was considered and resolved without introducing a release-only CSS selector rename.