-
Notifications
You must be signed in to change notification settings - Fork 4.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
[RNMobile] Update color retrieval from settings to useEditorFeature #25519
[RNMobile] Update color retrieval from settings to useEditorFeature #25519
Conversation
Size Change: 0 B Total Size: 1.2 MB ℹ️ View Unchanged
|
Should we also add the removed default colors and gradients to |
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.
Ran through the regression steps for editor theme
- ✖️Default Colors - Check that default colors still load - steps
- ✖️Default Gradients - Check that default gradients still load - steps
- ✅ Custom Colors - Check that custom colors load in the editor - steps
- ✅ Custom Gradients - Check that custom gradients load in the editor - steps
- When changing a theme if the new theme downloads before the existing one then the editor needs to be reopened before it is reflected. This is to be a known issue. - ✅ Offline Support - steps
Overall this looks good and removes the crash. I think we can handle the top two test cases in different PR so we unblock current development.
This is a good idea @cameronvoell I'll leave it up to you if you want to do that now or if you think that's better for another PR |
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.
Tested and can confirm no crash anymore, had a quick play with colors on the Cover and Button blocks and could pick the gradient colors only, no built-in choices as we discussed offline 👍
GB-Mobile PR: wordpress-mobile/gutenberg-mobile#2648
Description
Fixes mobile crash on
master
after default color settings were updated here: #25419How has this been tested?
We should test flows using default colors/gradients
We also need to make sure that custom theme still work which are set here:
gutenberg/packages/editor/src/components/provider/index.native.js
Line 127 in 5ced7f1
Screenshots
Checklist: