[Jetpack Plugin Install] Reuse the tweaked UI for remote Jetpack install#18058
Merged
thomashorta merged 13 commits intotrunkfrom Mar 16, 2023
Merged
[Jetpack Plugin Install] Reuse the tweaked UI for remote Jetpack install#18058thomashorta merged 13 commits intotrunkfrom
thomashorta merged 13 commits intotrunkfrom
Conversation
Contributor
|
|||||||||||
| 💡 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 | d8c78c8 | |
Contributor
|
|||||||||||
| 💡 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 | d8c78c8 | |
267d304 to
6595050
Compare
added 10 commits
March 13, 2023 14:50
d8c78c8 to
96de52a
Compare
Contributor
|
| App Name | WordPress |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr18058-820cc08 | |
| Commit | 820cc08 | |
| Direct Download | wordpress-prototype-build-pr18058-820cc08.apk |
Generated by 🚫 dangerJS |
Contributor
|
| App Name | Jetpack |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr18058-820cc08 | |
| Commit | 820cc08 | |
| Direct Download | jetpack-prototype-build-pr18058-820cc08.apk |
RenanLukas
approved these changes
Mar 15, 2023
Contributor
RenanLukas
left a comment
There was a problem hiding this comment.
Thanks for the changes, @thomashorta
It works as expected. I've left a question, but LGTM ![]()
| } | ||
|
|
||
| override fun onBackPressed() { | ||
| if (viewModel.liveViewState.value?.showCloseButton == false) return |
Contributor
There was a problem hiding this comment.
💡 Would it make sense to move this if and the trackWithSource call to the ViewModel?
Contributor
Author
There was a problem hiding this comment.
I think it will not make a lot of difference in the code here as I still need to return some information saying the back should be blocked, but it's better in terms of testing the analytics. I will do the change.
added 2 commits
March 16, 2023 15:09
… into issue/18045-jp-install-reuse-ui
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes #18045
Update the existing "Remote Install" Flow to use this same updated flow (made with Compose). This flow is triggered when the user clicks a Jetpack feature (such as Stats) without having the Jetpack plugin installed on their self-hosted site.
Demo
Success Flow
issue-18045-jp-install-remote-success-blur.mov
Error Flow
issue-18045-jp-install-remote-error.mp4
To test
Set up a self-hosted site that has only no Jetpack plugins at all.
Regression Notes
Potential unintended areas of impact
Changes in installation behavior.
What I did to test those areas of impact (or what existing automated tests I relied on)
Manual test (it is working exactly as it was before).
What automated tests I added (or what prevented me from doing so)
Updated existing tests.
PR submission checklist:
RELEASE-NOTES.txtif necessary.