Add unread treatment for Automations new badge - #334946
Merged
Ulugbek Abdullaev (ulugbekna) merged 3 commits intoSep 7, 2026
Merged
Add unread treatment for Automations new badge#334946Ulugbek Abdullaev (ulugbekna) merged 3 commits into
Ulugbek Abdullaev (ulugbekna) merged 3 commits into
Conversation
Reuse the standard Automations unread status indicator as an alternative first-use treatment while preserving operational status precedence and accessibility semantics. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot started reviewing on behalf of
Ulugbek Abdullaev (ulugbekna)
September 7, 2026 16:16
View session
Contributor
|
This PR will be automatically cherry-picked to |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The unread visual fixture must be added to the blocking screenshot gate.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
src/vs/workbench/test/browser/componentFixtures/sessions/sessionsList.fixture.ts — This new visual treatment is not opted into the blocking screenshot gate, unlike the adjacent… |
What changed in this PR
Adds an unread-style treatment for the Automations first-use badge while preserving status precedence, accessibility, and dismissal behavior.
Changes:
- Adds
unreadas a supported badge style. - Uses the standard unread indicator instead of the trailing
NEWcapsule. - Extends unit and visual fixture coverage.
| File | Description |
|---|---|
src/vs/workbench/test/browser/componentFixtures/sessions/sessionsList.fixture.ts |
Adds the unread visual fixture; moderate issue: it is not opted into the blocking screenshot gate. |
src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts |
Tests rendering, precedence, dismissal, and accessibility. |
src/vs/sessions/contrib/sessions/test/browser/automationsNewBadge.test.ts |
Covers style resolution and preview behavior. |
src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts |
Renders the unread indicator with status precedence. |
src/vs/sessions/contrib/sessions/browser/sessions.contribution.ts |
Registers the new style value. |
src/vs/sessions/contrib/sessions/browser/automationsNewBadge.ts |
Extends badge-style typing and normalization. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Opt the unread Automations badge fixture into the blocking screenshot gate so theme and rendering regressions are detected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Screenshot ChangesBase: 6 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (3) |
Record the Linux CI hashes for the unread Automations badge in dark, high-contrast, and light themes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sandeep Somavarapu (sandy081)
approved these changes
Sep 7, 2026
Ulugbek Abdullaev (ulugbekna)
enabled auto-merge (squash)
September 7, 2026 18:28
Ulugbek Abdullaev (ulugbekna)
deleted the
ulugbekna/agents/automation-unread-badge-feature
branch
September 7, 2026 18:30
Ulugbek Abdullaev (ulugbekna)
added a commit
that referenced
this pull request
Sep 7, 2026
Add unread treatment for Automations new badge (#334946) * automations: feat: add unread new badge treatment Reuse the standard Automations unread status indicator as an alternative first-use treatment while preserving operational status precedence and accessibility semantics. * automations: test: gate unread badge screenshots Opt the unread Automations badge fixture into the blocking screenshot gate so theme and rendering regressions are detected. * automations: test: accept unread badge screenshots Record the Linux CI hashes for the unread Automations badge in dark, high-contrast, and light themes. --------- (cherry picked from commit 1b921e3) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Summary
Adds an
unreadtreatment to the Automations first-use badge experiment on top of #334898.NEWcapsule for this treatmentVerification
npm run compile— completed with 0 errorsunreadtreatment, verifiedcodicon-circle-filled, hidden trailing badge,new featureaccessibility text, and dismissal after opening Automations