microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321 stars 53 forks source link

[Feature]: MessageBar component #242

Open denise-msft opened 1 year ago

denise-msft commented 1 year ago

How to promote this component Please give a thumbs up reaction to this post to promote this backlog item. You may also share your usage scenario in the comments.

Component description A banner (MessageBar) displays errors, warnings, or important information about an open app or file. For example, if a file failed to upload an error message bar should appear.

The main difference between this control and the Notify() function is to provide option for Action buttons. Please only upvote if this additional functionality is actually needed. Offer one to two action buttons to help people solve any errors they're receiving. Limit button text to fewer than 50 characters (including spaces) to leave room for translation. Action buttons can have any callback attached to them and should provide people with options to address the notification and dismiss the message bar.

image

Fluent UI Documentation

ArtKarp commented 1 year ago

Would be really great, if these messages could stack and allow the user to respond to each item. The problem with "Notify" is that when a user receives multiple notifications, they only ever see the last one as the prior ones are overwritten. There is no way to show multiple notifications that might occur at the same time, for different reasons, to the user.

manuelap-msft commented 1 year ago

This would be awesome to have. We have many scenarios for this as well.