Skip to content

[Jetpack Full Plugin] Install flow UI tweaks#18040

Merged
thomashorta merged 16 commits intotrunkfrom
issue/18005-jp-full-plugin-ui-tweaks
Mar 9, 2023
Merged

[Jetpack Full Plugin] Install flow UI tweaks#18040
thomashorta merged 16 commits intotrunkfrom
issue/18005-jp-full-plugin-ui-tweaks

Conversation

@thomashorta
Copy link
Copy Markdown
Contributor

@thomashorta thomashorta commented Mar 2, 2023

Fixes #18005

This PR implements the tweaks proposed by the design team here: qk5s4q4mZsXknwhMWo2vIY-fi-9811%3A21323

Demos

"Jetpack Full Plugin install" flow with tweaks - Success
issue-18005-jp-install-tweaks-full-plugin-v2.mp4
"Jetpack Full Plugin install" flow with tweaks - Error
issue-18005-jp-install-tweaks-full-plugin-error-v2.mp4

To test

Set up a self-hosted site that has only individual Jetpack plugins enabled and connect it to a WP.com account.

  1. Install Jetpack app
  2. Log in with the same WP.com account
  3. Restart the app (so the site appears in the site list)
  4. Select the self-hosted site from the site list
  5. The dialog asking to install the full plugin should appear AND/OR the card on the Dashboard
  6. Testing the error state
    1. Turn on Airplane mode
    2. Start the Full Plugin Install Flow
    3. Verify the UI is updated according to expectations
  7. Testing the install flow
    1. Close the Full Plugin Install flow
    2. Turn off Airplane mode
    3. Start the Full Plugin Install Flow
    4. Verify the UI is updated according to expectations
    5. Verify everything worked and the Jetpack plugin was installed

Regression Notes

  1. Potential unintended areas of impact
    Behavior / installation issues.

  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)
    Updated existing tests only, most changes were just on UI.

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.

@thomashorta thomashorta self-assigned this Mar 2, 2023
@thomashorta thomashorta added this to the 21.9 milestone Mar 2, 2023
@thomashorta thomashorta marked this pull request as ready for review March 2, 2023 22:19
@thomashorta thomashorta added the [Status] Needs Design Review A designer needs to sign off on the implemented design. label Mar 2, 2023
@thomashorta
Copy link
Copy Markdown
Contributor Author

@osullivanchris can you do a Design Review on this one? I added some high-resolution videos to help as well.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Mar 2, 2023

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

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Mar 2, 2023

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

@thomashorta thomashorta force-pushed the issue/18005-jp-full-plugin-ui-tweaks branch from e89a53f to b4c4fb5 Compare March 3, 2023 15:49
@thomashorta thomashorta force-pushed the issue/18005-jp-full-plugin-ui-tweaks branch from 791ef9c to e98584d Compare March 3, 2023 18:55
@develric develric modified the milestones: 21.9, 22.0 Mar 3, 2023
Copy link
Copy Markdown

@osullivanchris osullivanchris left a comment

Choose a reason for hiding this comment

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

I'm trying to setup a site with the correct conditions to test this properly in different sizes, landscape mode etc. But might be a couple hours before I can come back to it. For now based on the videos provided it looks good.

The only suggestion I would make (and I had same on iOS) was to change how the text and icon are positioned so that they don't jump depending whether there is 1 or 2 buttons. If the position of the icon/text was defined from the top of the screen, rather than centred within the area minus buttons, then the icon and title would be in the same place for the error state too. Very minor and optional change though.

@thomashorta
Copy link
Copy Markdown
Contributor Author

thomashorta commented Mar 6, 2023

The only suggestion I would make (and I had same on iOS) was to change how the text and icon are positioned so that they don't jump depending whether there is 1 or 2 buttons.

Good point @osullivanchris. I just sent a commit changing that. Here are the videos after the change.

Success

issue-18005-jp-install-tweaks-full-plugin-v3.mp4

Error

issue-18005-jp-install-tweaks-full-plugin-error-v3.mp4

@osullivanchris
Copy link
Copy Markdown

@thomashorta nice one! thanks for the quick fix. I got the build working and tried dark mode, landscape. All seems good!

Copy link
Copy Markdown
Contributor

@RenanLukas RenanLukas left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, @thomashorta . It's working as expected.

I've left a couple of optional suggestions but they're only details.

LGTM :shipit:

@peril-wordpress-mobile
Copy link
Copy Markdown

Warnings
⚠️ PR has more than 300 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS

@thomashorta thomashorta enabled auto-merge March 9, 2023 13:44
@thomashorta thomashorta merged commit 6a51f21 into trunk Mar 9, 2023
@thomashorta thomashorta deleted the issue/18005-jp-full-plugin-ui-tweaks branch March 9, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Status] Needs Design Review A designer needs to sign off on the implemented design. [Type] Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the UI of Jetpack remote install flow

5 participants