Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Default to Gutenberg upon opening a block based post #12066
This PR flips the "default for new posts" switch to true the first time the block editor is launched, if the switch is off.
The alert text was changed to match wordpress-mobile/gutenberg-mobile#1186 (comment)
The logic is:
When the alert is shown, we automatically flip the switch located in App Settings.
This will trigger the tracks event
I'm unsure if we should add this to the release notes.
Update release notes:
koke left a comment
It works! There is a case that this didn't account for but I think we can live with that. The logic checks if the dialog has been shown, not if the setting has been changed, so the following is possible:
Since it seems like an odd case, and it would only happen once, I think it's fine?