openverse-frontend
openverse-frontend copied to clipboard
Handling play errors
Fixes
#1600 and #1605
Description
Thanks to @krysal and @sarayourfriend for all the tips and suggestions on the previous pr (#1713). We can manage the errors in a cleaner way. For local (settings) related errors, can we use the VSnackbar component to alert the user?
Draft
This pr is still wip as i have to write the test cases and figure how to make VSnackbar show
Marking this as blocked until https://github.com/WordPress/openverse/issues/513 is sorted.
I think we can finish this before the design issue is done with the already available waveform's message. I'll review this between today and tomorrow with that goal.
That sounds good, @krysal, we can make the snackbar upgrade in a future follow up PR.
I added that great test. Thank you a lot, @obulat 😄 This is ready for another review! CC @dhruvkb @zackkrida
I'm going to merge this PR as @ramadanomar is away.