-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Mobile] Enable cover block uploads - dev only #21196
[Mobile] Enable cover block uploads - dev only #21196
Conversation
# Conflicts: # packages/block-library/src/cover/edit.native.js
…k-uploads-dev-only
Size Change: 0 B Total Size: 904 kB ℹ️ View Unchanged
|
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!
Tested that the option appears with Android and iOS when running with Metro.
The option doesn't appear with Android Production. For some reason, I wasn't able to access the iOS build via AppCenter.
LGTM as well! Tested the generated IPA and APK and the options are not shown. Also tested locally and the options show for both OS. ✅ |
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.
* Add progress indicator for uploading media * Use default import syntax for Video component * Use optional chaining * Add z-index to upload progress bar * Fix lint
Description
This PR enables upload options for Cover block behind the
__DEV__
flag. This PR onlyenables
the options. The UI for uploading (progress bar, upload cancellation, failure, etc.) will be implemented in subsequent PRs.Related PRs
gutenberg
gutenberg-mobile
: Enable cover block uploads behind dev flag wordpress-mobile/gutenberg-mobile#2070WordPress-Android
: Cover block upload completion processor wordpress-mobile/WordPress-Android#11541WordPress-iOS
: [Testing] Enable cover block uploads behind dev flag wordpress-mobile/WordPress-iOS#13769Testing steps
In development mode (with metro running)
Expected:
Media upload options should be available in the bottom sheet.
In production (via peril build)
Peril builds:
Expected:
Media upload options should not be available in the bottom sheet (only the media library option should be visilble).
Screenshots
Checklist: