Skip to content
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

Add editor onboarding capability #14558

Merged
merged 13 commits into from
May 13, 2021
Merged

Conversation

dcalhoun
Copy link
Member

@dcalhoun dcalhoun commented Apr 29, 2021

Add editor onboarding capability to control visibility of the feature.

To test: Follow steps outlined in wordpress-mobile/gutenberg-mobile#3437.

Regression Notes

  1. Potential unintended areas of impact
    Modifications to build configuration could cause build failures. Modifications within Gutenberg editor lifecycle could cause editor to crash.
  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    Ensured builds succeeded locally. Verified editor launched without error.
  3. What automated tests I added (or what prevented me from doing so)
    Includes no user-facing or critical routines to test.

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@dcalhoun dcalhoun added Gutenberg Editing and display of Gutenberg blocks. [Status] Not Ready for Merge Part of a WIP Feature This label is used to disable milestone checks for PRs that are not against `develop` or `release`. labels Apr 29, 2021
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Apr 29, 2021

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

dcalhoun added 4 commits May 4, 2021 10:45
This always equates to false. The percentage needs to be increased. It
also needs to only be enabled for fresh installs.
Track if the Gutenberg editor has been launched before to avoid
onboarding the user multiple times.
Allow enabling editor onboarding in development and testing
environments, rather than adjusting the percentage of users included.
This build config may be removed once development of onboarding features
is complete.
@dcalhoun dcalhoun force-pushed the add/editor-onboarding-capability branch from 3eee54d to 080dd58 Compare May 4, 2021 15:46
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented May 4, 2021

You can test the changes on this Pull Request by downloading the APK here.

@dcalhoun dcalhoun self-assigned this May 6, 2021
@dcalhoun dcalhoun removed Part of a WIP Feature This label is used to disable milestone checks for PRs that are not against `develop` or `release`. [Status] Not Ready for Merge labels May 6, 2021
@dcalhoun dcalhoun requested a review from jhnstn May 6, 2021 20:53
@dcalhoun dcalhoun marked this pull request as ready for review May 6, 2021 22:59
There is no value in the custom development flag as we can rely upon the
existing `BuildConfig.DEBUG` flag for development and testing purposes.
@dcalhoun dcalhoun added this to the 17.4 milestone May 12, 2021
@dcalhoun dcalhoun requested a review from mchowning May 12, 2021 14:44
Copy link
Contributor

@mchowning mchowning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and is working well @dcalhoun . Nice work!

I left a couple of minor comments, but no blockers.

dcalhoun added 2 commits May 13, 2021 09:20
Follow best practices to avoid allocating the same `int` multiple times
via a static variable.
@dcalhoun dcalhoun merged commit 2c33ad1 into develop May 13, 2021
@dcalhoun dcalhoun deleted the add/editor-onboarding-capability branch May 13, 2021 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants