Skip to content

Jetpack focus: display an overlay when the app is accessed from a disabled entry point on Phase 4 - #17851

Merged
AjeshRPai merged 7 commits into
trunkfrom
issue/17849-jetpack-focus-display-an-overlay-when-the-app-is-accessed-from-a-disabled-entry-point
Feb 1, 2023
Merged

Jetpack focus: display an overlay when the app is accessed from a disabled entry point on Phase 4#17851
AjeshRPai merged 7 commits into
trunkfrom
issue/17849-jetpack-focus-display-an-overlay-when-the-app-is-accessed-from-a-disabled-entry-point

Conversation

@AjeshRPai

@AjeshRPai AjeshRPai commented Jan 31, 2023

Copy link
Copy Markdown
Contributor

Closes #17849

What?

This PR implements The Jetpack feature overlay for phase 4 - shown when you access the deep link and shortcut in phase 4.

Why?

Earlier we used to show the Landing page when the user navigates from the deeplink and shortcut on phase 4 without any messaging or overlay, this felt like a bad good User experience since the user expects to be guideded to Stats/Reader. Showing an overlay to the user informing that the features have moved to the user will prompt the user to migrate to the Jetpack app.

How?

📹 Screenshots

lightModePhase4Overlay

Testing instructions

1. When Phase 4 is not enabled

  • Go to the Wp app
  • Login to app
  • Disable jp_removal_four
  • Verify that shortcuts/deep link work as expected
  • Verify that no overlay for p4 is shown and the user is guided to the correct page

2. When Phase 4 is enabled

  • Go to the Wp app
  • Login to app
  • Enable jp_removal_four and Restart the app
  • Verify that shortcuts/deep link work redirects to the home page
  • Verify that an overlay for P4 is shown
  • Check the logs for a jetpack_feature_incorrectly_accessed tracked event with {"calling_function": "deep_link"}
  • Check the logs for a remove_feature_overlay_displayed tracked event with {"source": "disabled_entry_point"}

3. Regression testing

  • Follow the testing instructions from the PR
  • Verify that the Migration flows are not affected

Regression Notes

  1. Potential unintended areas of impact
    Migration Overlays or Deeplink overlays are affected

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    Manual testing

  3. What automated tests I added (or what prevented me from doing so)

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.

@AjeshRPai AjeshRPai added this to the 21.7 milestone Jan 31, 2023
@AjeshRPai
AjeshRPai requested a review from zwarm January 31, 2023 13:28
@AjeshRPai AjeshRPai self-assigned this Jan 31, 2023
@wpmobilebot

wpmobilebot commented Jan 31, 2023

Copy link
Copy Markdown
Contributor
WordPress📲 You can test these changes on WordPress by downloading wordpress-installable-build-pr17851-a944ddb.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppWordPress
Build FlavorJalapeno
Build TypeDebug
Commita944ddb
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@wpmobilebot

wpmobilebot commented Jan 31, 2023

Copy link
Copy Markdown
Contributor
Jetpack📲 You can test these changes on Jetpack by downloading jetpack-installable-build-pr17851-a944ddb.apk
💡 Scan this QR code with your Android phone to download and install the APK directly on it.
AppJetpack
Build FlavorJalapeno
Build TypeDebug
Commita944ddb
Note: This installable build uses the JalapenoDebug build flavor, and does not support Google Login.

@AjeshRPai
AjeshRPai marked this pull request as ready for review January 31, 2023 14:11
@zwarm

zwarm commented Jan 31, 2023

Copy link
Copy Markdown
Contributor

@AjeshRPai - Everything is working as expected. I tested pre and post 4. The overlays are visible upon entry for P4 and not visible < P4. In P4 the user lands on the my site view when deep linking or using a already created shortcut (for stats, notifications). I did not have any issue with the deep linking overlays.

What you had for tracking was fine, I only added the "stats", "notifications" or "reader" prefix

@AjeshRPai

Copy link
Copy Markdown
Contributor Author

Hey @ovitrif 👋🏼
Since this change shows an overlay in p4 for deep links, we thought you should be aware of this change. Hence the Ping. Also, we tested this PR with the test instructions from your Migration PR, and we found no regression issues. Please look at this PR if you feel this will affect any other flow or overlay shown. I will look for a 👍🏼 from you before I merge this PR. Please comment if you want me to wait until you review the PR.

@ovitrif

ovitrif commented Feb 1, 2023

Copy link
Copy Markdown
Contributor

Hey @ovitrif 👋🏼
will look for a 👍🏼 from you before I merge this PR. Please comment if you want me to wait until you review the PR.

Hey @AjeshRPai 👋
Thank you for the ping 🙇 , and many thanks for testing the scenarios from the Migration PR, you rock! 💯 🥇 🏆

I'll quickly check the code and submit my review 👍

@AjeshRPai
AjeshRPai requested a review from ovitrif February 1, 2023 11:40

@ovitrif ovitrif left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code changes LGTM 🎉

Thank you for the excellent work on wrangling this @AjeshRPai 👏

@AjeshRPai
AjeshRPai merged commit 7fc0c20 into trunk Feb 1, 2023
@AjeshRPai
AjeshRPai deleted the issue/17849-jetpack-focus-display-an-overlay-when-the-app-is-accessed-from-a-disabled-entry-point branch February 1, 2023 12:53
@antonis antonis mentioned this pull request Feb 1, 2023
3 tasks
@ovitrif ovitrif changed the title Jetpack focus: display an overlay when the app is accessed from a disabled entry point oh Phase 4 Jetpack focus: display an overlay when the app is accessed from a disabled entry point on Phase 4 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jetpack Focus: Display an overlay when the app is accessed from a disabled entry point

4 participants