[Jetpack Full Plugin] Install flow UI tweaks#18040
Conversation
|
@osullivanchris can you do a Design Review on this one? I added some high-resolution videos to help as well. |
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | Jetpack | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | d1e7a6f | |
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | WordPress | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | d1e7a6f | |
e89a53f to
b4c4fb5
Compare
Add an "easier" way of providing the ContentAlpha for the required emphasis based on Material guidelines, adding ContentAlphaProvider component: https://developer.android.com/jetpack/compose/designsystems/material#emphasis
791ef9c to
e98584d
Compare
There was a problem hiding this comment.
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.
Good point @osullivanchris. I just sent a commit changing that. Here are the videos after the change. Successissue-18005-jp-install-tweaks-full-plugin-v3.mp4Errorissue-18005-jp-install-tweaks-full-plugin-error-v3.mp4 |
|
@thomashorta nice one! thanks for the quick fix. I got the build working and tried dark mode, landscape. All seems good! |
… into issue/18005-jp-full-plugin-ui-tweaks
RenanLukas
left a comment
There was a problem hiding this comment.
Thanks for the changes, @thomashorta . It's working as expected.
I've left a couple of optional suggestions but they're only details.
LGTM ![]()
WordPress/src/main/java/org/wordpress/android/ui/compose/components/buttons/ButtonSize.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/compose/components/buttons/PrimaryButton.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/util/extensions/StringExtensions.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/util/extensions/StringExtensions.kt
Outdated
Show resolved
Hide resolved
Generated by 🚫 dangerJS |


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.
Regression Notes
Potential unintended areas of impact
Behavior / installation issues.
What I did to test those areas of impact (or what existing automated tests I relied on)
Manual testing.
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:
RELEASE-NOTES.txtif necessary.