Skip to content

Jetpack Focus: Open web links with Jetpack - Add App Setting#17504

Merged
develric merged 8 commits intotrunkfrom
issue/17494-open-web-links-with-jp-app-setting
Nov 22, 2022
Merged

Jetpack Focus: Open web links with Jetpack - Add App Setting#17504
develric merged 8 commits intotrunkfrom
issue/17494-open-web-links-with-jp-app-setting

Conversation

@zwarm
Copy link
Copy Markdown
Contributor

@zwarm zwarm commented Nov 21, 2022

Parent #17494

This PR adds the “open web links with Jetpack” setting to the App Settings view.
This setting is only visible:

  • When the Open Web Links With Jetpack flow is enabled
  • Jetpack is installed on the device
  • The current app is WordPress

Merge Instructions

  1. Ensure that Jetpack Focus: Open web links with Jetpack - Initialization #17497 has been merged
  2. Remove the "Not ready for merge" label
  3. Merge as normal

Alt desc

To test:
##Test: Setting is not shown when Feature Flag is enabled and JP is not installed##

  • Do a clean install of the WP app from this PR
  • Launch WP and login
  • Navigate to Me -> App Settings -> Debug
  • Enable the "open web links with jetpack" feature flag and restart the app
  • Navigate to Me -> App Settings
  • ✅ Verify you don't see the "Open web links with Jetpack" setting (as in the screenshot above)

##Test: Setting is not shown when Feature Flag is disabled and JP is not installed##

  • Launch WP
  • Navigate to Me -> App Settings -> Debug
  • Disable the "open web links with jetpack" feature flag and restart the app
  • Navigate to Me -> App Settings
  • ✅ Verify you don't see the "Open web links with Jetpack" setting (as in the screenshot above)

##Test: Setting is not shown within the JP app when FF is enabled##

  • Do a clean install of the JP app from this PR
  • Launch JP and login
  • Navigate to Me -> App Settings -> Debug
  • Enable the "open web links with jetpack" feature flag and restart the app
  • Navigate to Me -> App Settings
  • ✅ Verify you don't see the "Open web links with Jetpack" setting (as in the screenshot above)

##Test: Setting is shown within the WP app when FF is enabled and JP is installed##

  • Make sure WP & JP are installed on the device
  • Launch the WP app
  • Enable the "open web links with jetpack" feature flag and restart the app
  • Navigate to Me -> App Settings
  • ✅ Verify you do see the "Open web links with Jetpack" setting (as in the screenshot above)

Regression Notes

  1. Potential unintended areas of impact
    The app showing shows when it shouldn't

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

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

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.

@zwarm zwarm added this to the 21.3 milestone Nov 21, 2022
@zwarm zwarm requested review from AjeshRPai and develric November 21, 2022 18:11
@zwarm zwarm self-assigned this Nov 21, 2022
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Nov 21, 2022

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

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Nov 21, 2022

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

Copy link
Copy Markdown
Contributor

@develric develric left a comment

Choose a reason for hiding this comment

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

Code LGTM and I tested as per scenarios and worked well 👍 ! I only left a comment to better understand the default flags status. @zwarm 👋 , I know you were evaluating a slightly different approach in this series of PRs, let me know your thoughts about my only comment and if we are ok for this to land as it is and I'm fine with approving this one 🙇

Base automatically changed from issue/17494-open-web-links-initialization to trunk November 22, 2022 14:36
Copy link
Copy Markdown
Contributor

@develric develric left a comment

Choose a reason for hiding this comment

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

Thanks @zwarm for setting the default feature flag value to false, I agree it makes sense while we complete the feature 👍 ! LGTM!

@develric develric merged commit 572fabc into trunk Nov 22, 2022
@develric develric deleted the issue/17494-open-web-links-with-jp-app-setting branch November 22, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants