-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement File Block #13178
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
Implement File Block #13178
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APK here. |
WordPress/src/main/java/org/wordpress/android/ui/posts/EditPostActivity.java
Outdated
Show resolved
Hide resolved
|
Hey @marecar3 thanks for these changes. I know this is still marked as a draft but I still took a look 🙏 When I am running this code on my emulator and I try to add a file I get this exception below. |
# Conflicts: # libs/gutenberg-mobile
Thanks, @jd-alexander , I have fixed the issue and I have marked this PR as ready for review. |
...ytics/WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/posts/EditPostActivity.java
Show resolved
Hide resolved
...ressEditor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java
Show resolved
Hide resolved
...ressEditor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java
Outdated
Show resolved
Hide resolved
jd-alexander
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.
Thanks for these changes @marecar3 I tested the File block's behavior and it worked as expected. I left a few comments for your consideration. Let me know what you think so that we can proceed. Thank you.
|
Hey there! I'm moving this to 16.1 because 16.0 has been cut. If you want this to make it to 16.0, please feel free to ping me. |
# Conflicts: # libs/gutenberg-mobile
…d/editor/gutenberg/GutenbergEditorFragment.java Co-authored-by: Joel Dean <[email protected]>
|
Hey @jd-alexander 👋 I have pushed all changes. |
...ressEditor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java
Outdated
Show resolved
Hide resolved
...ressEditor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java
Outdated
Show resolved
Hide resolved
...ressEditor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java
Outdated
Show resolved
Hide resolved
jd-alexander
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.
Thanks for these changes @marecar3 I have tested the changes as described in the PR description and all the functionality that's stated there is working. I have left a few comments for your perusal. Once you have reviewed them then we can finalize this and get it merged in.
# Conflicts: # libs/gutenberg-mobile
jd-alexander
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.
Thanks for these changes @marecar3 I have updated the gb-mobile reference and all is well here. I will merge the changes once the build is green.
Thanks to you as you did a great job with the review! |
gutenberg PR: WordPress/gutenberg#26278
gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#2743
This is a first step on implementing File Block.
This implementation only considers the basics:
The rest of the features will be implemented in future PRs
CHOOSE A FILEFILE UPLOADEDTo test:
PR submission checklist:
RELEASE-NOTES.txtif necessary.