Added onRetryUploadForMediaClicked interface for GB#9158
Merged
Conversation
Contributor
Author
|
Just added the proper tests description to this PR and lifted the |
Contributor
Author
|
Just found an issue: realized that when an image fails to upload, then we exit the Editor, then enter again, we should show it still as failed. |
marecar3
reviewed
Jan 31, 2019
| UploadService.cancelFinalNotification(this, mPost); | ||
| UploadService.cancelFinalNotificationForMedia(this, mSite); | ||
|
|
||
| ArrayList<MediaModel> failedMedia = new ArrayList<>(); |
Contributor
There was a problem hiding this comment.
Maybe we can consider failedMedias or failedMediaList ?
Contributor
|
Nice work @mzorz! |
… progress updates reattachment has been requested
…-mobile/WordPress-Android into gb/retry-failed-upload
Contributor
Author
…-mobile/WordPress-Android into gb/retry-failed-upload
…r not, as the AppPrefs may have changed but the post has been edited before
…-mobile/WordPress-Android into gb/retry-failed-upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces
Retry/Retry all/Removefor failed media uploads in Gutenberggutenberg-mobile PR wordpress-mobile/gutenberg-mobile#528
gutenberg PR WordPress/gutenberg#13615
To test:
CASE A RETRY (single)
Failed to insert media.\nPlease tap for options.CASE B RETRY (multiple)
Failed to insert media.\nPlease tap for options.CASE C REMOVE
CASE D: cancel
Update release notes:
RELEASE-NOTES.txt.