-
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] Dark mode on Android put on the v1.25.0 native release #21352
Conversation
* Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase
…le/release-v1.25.0-with-dark-mode
Size Change: 0 B Total Size: 884 kB ℹ️ View Unchanged
|
I created this PR by branching off the 1.25.0 release branch and merging the Dark Mode's fix branch (from this PR). That had the side effect of pulling in some newer commits after the v1.25.0 cut-off point. Here's the diff. Looking at those commits, only one is native mobile related (the "pre" fix), which happens to already be cherry-picked into the release anyway. In the meantime, people have been manually testing this code (see people's results in GitHub comments here). To avoid disrupting that testing, I think we can let these "extra" commits here to go in, especially since they will actually be reasonably well-tested. |
We'll merge this to master and then cherry-pick into the 1.25 native mobile release. cc @SergioEstevao since you're wrangling the release. |
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! 🚀
…1352) * Revert revert of dark mode impl * Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase Co-authored-by: Marko Savic <[email protected]> Co-authored-by: Sérgio Estêvão <[email protected]>
* Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase * Fix the TS used for the GB-Mobile project. (#21324) * Fix the TS used for the GB-Mobile project. Make sure only types inside node_modules/@types are used. This avoids TS to find the ../node_modules/@types inside the gb-mobile repo that lives one path level up of gutenberg root. * Framework: Fix configuration spacing * Change to types node. * Revert "Change to types node." This reverts commit bfb8b7b. Co-authored-by: Andrew Duthie <[email protected]> * [RNMobile] Dark mode on Android put on the v1.25.0 native release (#21352) * Revert revert of dark mode impl * Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase Co-authored-by: Marko Savic <[email protected]> Co-authored-by: Sérgio Estêvão <[email protected]> Co-authored-by: Andrew Duthie <[email protected]> Co-authored-by: Stefanos Togoulidis <[email protected]> Co-authored-by: Marko Savic <[email protected]>
Description
Follow up from #21139, to bring Dark Mode on Android on top of the v1.25.0 release of the native block editor.
How has this been tested?
With this gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#2098
Types of changes
Introduces the
usePreferredColorScheme
hook to use with Dark Mode.Checklist: