Skip to content
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

Feature/toasts #411

Merged
merged 8 commits into from
Mar 19, 2024
Merged

Conversation

JBraunsmaJr
Copy link
Contributor

@JBraunsmaJr JBraunsmaJr commented Mar 14, 2024

Implemented a basic toast system to allow user-feedback when actions happen.

As a developer, you need to do two things to invoke a toast notification. Inject + Add

@inject ToastService ToastService
// stuff
ToastService.Add("Your message");

// Specify Type
ToastService.Add("Your message", MessageSeverity.Warning);

The provider forms felt a bit dirty with the copy/pasta. Perhaps another effort could abstract them?

Example of Success

image

Example of Info

image

Example of Error

image

Example of Warning

image

Example of Normal

image

@JBraunsmaJr JBraunsmaJr marked this pull request as ready for review March 14, 2024 15:51
@csharpfritz csharpfritz merged commit f49ccfc into FritzAndFriends:main Mar 19, 2024
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.

None yet

2 participants