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

feat: use Notistack to display user notifications #76

Merged
merged 4 commits into from
Oct 30, 2019

Conversation

willopez
Copy link
Member

@willopez willopez commented Oct 25, 2019

Resolves: reactioncommerce/reaction#5501
Impact: Minor
Type: feature

Corresponding PR on the API: reactioncommerce/reaction#5746

Issue

In order to provide better UX replace inline alerts with notifications(Snackbars).

Solution

Use Notistack(integrates well with MUI) to display notifications and manage related state.

Testing

  1. In the products, view add one or more tags to one or more products
  2. Verify notification is displayed.
  3. Repeat step 1-2 for removing tags from products
  4. Attempt to add a tag to a product, without selecting a tag.
  5. Verify warning notification is displayed.

Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
@aldeed
Copy link
Contributor

aldeed commented Oct 28, 2019

Try merging latest trunk to fix CI

@willopez
Copy link
Member Author

@aldeed thanks that fixed the CI build. @mikemurray this is ready for review now.

Copy link
Member

@mikemurray mikemurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mikemurray mikemurray merged commit bfc76f5 into trunk Oct 30, 2019
@mikemurray mikemurray deleted the feat-integrate-toast-notifications-in-products-view branch October 30, 2019 22:12
@kieckhafer kieckhafer mentioned this pull request Feb 6, 2020
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.

Bulk Tag/Product Feature: Change success/info inline alerts to snackbars
3 participants