Skip to content

Describe the info bar appearance in Visual Studio 2026 - #11461

Open
Andrii Chebukin (xperiandri) wants to merge 2 commits into
MicrosoftDocs:mainfrom
xperiandri:infobar-visual-studio-2026
Open

Andrii Chebukin (xperiandri) wants to merge 2 commits into
MicrosoftDocs:mainfrom
xperiandri:infobar-visual-studio-2026

Conversation

@xperiandri

Copy link
Copy Markdown

Problem

Two extensibility articles describe the info bar as it looked before Visual Studio 2026:

In Visual Studio 2026 the info bar is a rounded card with a neutral background (EnvironmentLayeredBackground), and a warning, error, or success status icon switches it to the caution, critical, or success background. An extension author who reads these articles cannot tell that the icon now decides the color.

Change

  • Notifications recipe: "a yellow bar" becomes "a bar", and a note explains the icon-based color and links to the theme color tokens.
  • UX guidelines: a note with the same explanation and the token names, and a current screenshot. The screenshot is the existing version-control/media/visualstudio/git-create-pull-request-infobar-two-links.png, so no image is added.

The guidance about usage, placement, and stacking is unchanged.

How it was checked

  • Visual Studio 2026 Insiders 18.11: the default style of the info bar control uses EnvironmentLayeredBackground and EnvironmentLayeredBorder, and switches the background to SystemFillCriticalBackground, SystemFillSuccessBackground, or SystemFillCautionBackground when the icon is KnownMonikers.StatusError, StatusOK, or StatusWarning.
  • The neutral and the warning look match the current screenshots in the Git documentation and in the 18.4 release notes.
  • The token names are the ones in Visual Studio theme color tokens.

Please correct the wording if the icon-to-color mapping is meant to be an implementation detail rather than documented behavior.

🤖 Generated with Claude Code

The notifications recipe calls the Info Bar a yellow bar, and the UX guidelines show the yellow infobar of earlier versions. In Visual Studio 2026 an info bar has a neutral background, and a warning, error, or success status icon gives it the caution, critical, or success color.

- Notifications recipe: drop "yellow" and add a note about the icon-based color.
- UX guidelines: add a note that names the color tokens, and a current screenshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@prmerger-automator

Copy link
Copy Markdown
Contributor

Andrii Chebukin (@xperiandri) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Andrii Chebukin (@xperiandri) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

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.

🟡 Changes recommended

The new text uses “Visual Studio 2026” instead of the required versionless product name.

2 open findings
What changed in this PR

Updates extensibility guidance to describe the current Info Bar appearance and icon-driven colors.

Changes:

  • Documents neutral and status-specific Info Bar backgrounds.
  • Adds a current screenshot and theme-token references.
File Description
docs/​extensibility/​vsix/​recipes/​notifications.md Updates Info Bar appearance guidance.
docs/​extensibility/​ux-guidelines/​notifications-and-progress-for-visual-studio.md Adds current styling details and screenshot.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

**Infobars in Visual Studio**

> [!NOTE]
> The image shows the infobar of earlier versions of Visual Studio. Starting with Visual Studio 2026, an infobar is a rounded card with a neutral background, and its icon sets its color: the warning, error, and success status icons (`KnownMonikers.StatusWarning`, `KnownMonikers.StatusError`, and `KnownMonikers.StatusOK`) give the infobar the caution, critical, and success background. The guidance in this section about usage, placement, and stacking still applies. For the color values, see `EnvironmentLayeredBackground`, `EnvironmentLayeredBorder`, `SystemFillCautionBackground`, `SystemFillCriticalBackground`, and `SystemFillSuccessBackground` in [Visual Studio theme color tokens](theme-color-token-reference.md).
An Info Bar is a bar at the top of a tool- or document window. It's useful for grabbing the attention of the user without blocking them. An Info Bar can contain an icon, text, and several hyperlinks.

> [!NOTE]
> The screenshots in this section show the yellow Info Bar of earlier versions of Visual Studio. Starting with Visual Studio 2026, an Info Bar has a neutral background, and the icon you pass to the `InfoBarModel` sets its color: `KnownMonikers.StatusWarning`, `KnownMonikers.StatusError`, and `KnownMonikers.StatusOK` give the Info Bar the caution, critical, and success background. For the color values, see [Visual Studio theme color tokens](../../ux-guidelines/theme-color-token-reference.md).
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 5627aee:

✅ Validation status: passed

File Status Preview URL Details
docs/extensibility/ux-guidelines/notifications-and-progress-for-visual-studio.md ✅Succeeded
docs/extensibility/vsix/recipes/notifications.md ✅Succeeded

For more details, please refer to the build report.

@Court72

Copy link
Copy Markdown
Contributor

Mads Kristensen (@madskristensen), Tina Schrepfer (@tinaschrepfer)

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged tracking label for the PR review team label Oct 14, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 6e4bee1:

✅ Validation status: passed

File Status Preview URL Details
docs/extensibility/ux-guidelines/notifications-and-progress-for-visual-studio.md ✅Succeeded
docs/extensibility/vsix/recipes/notifications.md ✅Succeeded

For more details, please refer to the build report.

@jjjoey55-max

Copy link
Copy Markdown
Ashley_King_playable_still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants