Skip to content

[macOS] Initial implementation of message bar for macOS#2251

Merged
mischreiber merged 3 commits intomicrosoft:mainfrom
mischreiber:messagebar
Mar 17, 2026
Merged

[macOS] Initial implementation of message bar for macOS#2251
mischreiber merged 3 commits intomicrosoft:mainfrom
mischreiber:messagebar

Conversation

@mischreiber
Copy link
Collaborator

@mischreiber mischreiber commented Mar 13, 2026

Platforms Impacted

  • iOS
  • visionOS
  • macOS

Description of changes

Creating a new SwiftUI MessageBar component for macOS.

Additionally, this also creates a MessageBarStack for managing multiple message bars at a time. This comes with an AppKit wrapper, MessageBarStackHostingView, for hosting in an NSView-based context.

Finally, this reorganizes a few helper files into the Common library.

Verification

Multiple demo apps, testing both SwiftUI and AppKit versions.

Visual Verification Screenshot 2026-03-13 at 12 31 45 AM Screenshot 2026-03-13 at 12 40 28 AM

Pull request checklist

This PR has considered:

  • Light and Dark appearances
  • iOS supported versions (all major versions greater than or equal current target deployment version)
  • VoiceOver and Keyboard Accessibility
  • Internationalization and Right to Left layouts
  • Different resolutions (1x, 2x, 3x)
  • Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
  • iPad Pointer interaction
  • SwiftUI consumption (validation or new demo scenarios needed)
  • Objective-C exposure (provide it only if needed)
Microsoft Reviewers: Open in CodeFlow

@mischreiber mischreiber requested a review from a team as a code owner March 13, 2026 07:41
@mischreiber mischreiber merged commit 3d5f9c6 into microsoft:main Mar 17, 2026
7 checks passed
@mischreiber mischreiber deleted the messagebar branch March 17, 2026 05:43
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.

2 participants