-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: InfoBar V2 - InfoCard control #3967
Comments
This design is flyout like. |
The InfoBar currently sits in the UI and moves other elements or of it's way. But I don't see why InfoCard couldn't have an |
@mdtauk Thank you for opening up and creating this comprehensive proposal and designs! This is definitely a feature on our radar to include in an InfoBar v2. We aimed to add an Overlay mode as part of the initial InfoBar but decided to focus on the inline usecases for the first iteration and make sure we designed the right architecture to support stacking the cards. In general, I agree with the notion that the Overlay mode would keep/take advantage of the same functionality and API as the inline InfoBar which leads towards adding an Overlay mode to the existing InfoBar versus a separate control for this. Would love to hear thoughts on this! @community: To help prioritize and aim our development on this, I encourage you to share where you would use an InfoCard in your application and what functionality you need — especially around the open questions included in the proposal:
@mdtauk Could you elaborate on why you have a preference for your designs with the strip of color versus the background? I also see the addition of an 'Attention' Severity level outside of the 'Informational/Neutral'. When would Attention be used instead of Neutral? Thanks again for opening up this proposal and discussion! |
I think the strip of colour is bolder and stands out, almost like it's calling for your attention. The text being on the neutral theme colours also solves any issues with legibility. The strip of colour leads the direction of the animation, which helps draw the eye. The Attention colour was present in the recently Added theme resources, so I included it for the sake of completeness |
The shadow and subtle border may be enough to help the more subtle backgrounded InfoCards stand out from the surface and content beneath it. |
@gabbybilka the InAppNotification in the Toolkit doesn't stack messages like shown in the animation. The Toolkit control handles a queue of messages and replaces each message within the same content presenter. The So, it's really an option if developers only want one updating notice, or if they want to have multiple instances displayed on the screen at the same time. If this gets implemented in WinUI and it can handle a queue of messages or displaying multiple messages, we'd remove our |
Proposal: InfoBar V2 - InfoCard control
InfoCard.Animate.In.mp4
Summary
Ideally this could be merged into the InfoBar control, with an API to switch to a Card or Overlay mode. But if not, this could be an additional control called InfoCard
Rationale
InfoCard.Stack.Example.mp4
Scope
Visual Design
Light and Dark InfoCard examples
InfoCard design spec
Basic API properties
Many of these are shared/similar to the InfoBar control
Important Notes
I am fairly open to how this proposal is implemented, and so any and all comments are welcome. The Examples posted here match the earlier ones I submitted to the conversation which became the InfoBar control - but updated to use Fluent UI System Icons, and the Latest colours and styles with the visual refresh.
Not sure if these InfoCards should include custom content and action buttons, but for matching the InfoBar spec, and featureset there is nothing stopping us including these features.
Custom Content and Action Button support
Open Questions
I have one question, but am happy to add others that are brought up... Should this design and functionality be part of the InfoBar control, or is it more suited to a separate or derived control.
More questions that have come to mind:
The text was updated successfully, but these errors were encountered: