-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Async notifications: media-only error notifications (part III) #6780
Async notifications: media-only error notifications (part III) #6780
Conversation
…tion instead of separate error notifications for each failed media item
…kill the media-only error notification in that case
Can we skip the toast when a snackbar will be shown? Showing both a toast and a snackbar seems like overkill. |
@@ -288,6 +288,7 @@ | |||
<!-- post uploads --> | |||
<string name="upload_failed_param">Upload failed for \"%s\"</string> | |||
<string name="media_files_not_uploaded">%d media files not uploaded</string> | |||
<string name="media_file_not_uploaded">1 media file not uploaded</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have strong feelings about this so we don't have to change it, but it feels wrong to start these sentences with a numeral. How about "Failed to upload media file" and "Failed to upload %d media files" instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm open to changing it - I think maybe let's do an editor copy in the end, with all the notifications in place and merged into #6713 so it's easier for people to weigh in and compare all cases. Sounds good?
…a-error-success-notifications
removed the Toast in c6eae47 |
Builds on top of #6763 (Post error / success notifications), continuing the implementation of the new design for foreground / error / success notifications for async uploads.
Notes:
For example, if you are uploading one standalone picture (started uploading through the Media Browser), and it fails, the error notification will show not only the one item that just failed but will tell you all standalone media items that have failed for this site. If you tap RETRY on the notification, you are starting uploads for all of them.
If you prefer to go one by one, you can always pick which to upload from the Media browser, by tapping on the failed items ( “retry” overlay).
To test:
CASE A:
CASE B:
CASE C: make a post error appear, and make a stand alone media error appear
_(The image above is the media error notification while the below one is the Post error notification)_
CASE D:
cc @nbradbury