-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Added onRetryUploadForMediaClicked interface for GB #9158
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
Conversation
|
Just added the proper tests description to this PR and lifted the |
|
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. |
| UploadService.cancelFinalNotification(this, mPost); | ||
| UploadService.cancelFinalNotificationForMedia(this, mSite); | ||
|
|
||
| ArrayList<MediaModel> failedMedia = new ArrayList<>(); |
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.
Maybe we can consider failedMedias or failedMediaList ?
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.
👍 addressed in ccfe884
|
Nice work @mzorz! |
… progress updates reattachment has been requested
…-mobile/WordPress-Android into gb/retry-failed-upload
…-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
marecar3
left a comment
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.
LGTM!
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.