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

Replace BulmUtils toasts with toastResponses #108

Closed
rsalesc opened this issue Aug 17, 2018 · 1 comment
Closed

Replace BulmUtils toasts with toastResponses #108

rsalesc opened this issue Aug 17, 2018 · 1 comment
Milestone

Comments

@rsalesc
Copy link
Owner

rsalesc commented Aug 17, 2018

toastResponses() should be responsible for handling the following before showing an appropriate error message.

  1. If the user is an admin or a contestant.
  2. If the returned message is a validation error.
  3. If the returned message is an internal error.
  4. Otherwise it is just a raw message that should be shown.

Currently, toasted messages are really ugly and non-intuitive in certain cases.

@rsalesc
Copy link
Owner Author

rsalesc commented Oct 9, 2018

Addressed by 7bddf42, which further removes BulmUtils entirely.

@rsalesc rsalesc closed this as completed Oct 9, 2018
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

No branches or pull requests

1 participant