-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue/6586 wcs onboarding cta screen #6698
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
...rce/src/main/kotlin/com/woocommerce/android/ui/shipping/InstallWcShippingOnboardingScreen.kt
Outdated
Show resolved
Hide resolved
...rce/src/main/kotlin/com/woocommerce/android/ui/shipping/InstallWcShippingOnboardingScreen.kt
Outdated
Show resolved
Hide resolved
...rce/src/main/kotlin/com/woocommerce/android/ui/shipping/InstallWcShippingOnboardingScreen.kt
Outdated
Show resolved
Hide resolved
You can test the changes on this Pull Request by downloading an installable build, or scanning this QR code: |
# Conflicts: # WooCommerce/src/main/res/navigation/nav_graph_orders.xml
…rderDetailViewModel
…/6586-wcs-onboarding-cta-screen # Conflicts: # WooCommerce/src/test/kotlin/com/woocommerce/android/ui/orders/OrderDetailViewModelTest.kt
Generated by 🚫 dangerJS |
Codecov Report
@@ Coverage Diff @@
## trunk #6698 +/- ##
============================================
- Coverage 45.36% 45.25% -0.12%
+ Complexity 2917 2916 -1
============================================
Files 517 518 +1
Lines 28228 28279 +51
Branches 3718 3718
============================================
- Hits 12806 12798 -8
- Misses 14241 14300 +59
Partials 1181 1181
Continue to review full report at Codecov.
|
I'll be AFK for 3 weeks. So, I won't be able to respond to feedback. Please leave all the feedback and nitpicks you find, but if there isn't anything major or blocking proceed to merge, as these changes are needed to keep working on the Onboarding Shipping Labels project. I will address any np or feedback when I come back 🙂 |
@JorgeMucientes When the device is set to a larger font size, the "Not now" button is off-screen. Can we wrap the screen in a scrollview? Note that I can scroll the screen in landscape, but it stops scrolling before the buttons are showing. |
@JorgeMucientes In landscape, the views aren't aligned correctly. |
} | ||
|
||
private fun openInBrowser(url: String) { | ||
ChromeCustomTabUtils.launchUrl(requireContext(), url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a tip and it doesn't have to be implemented in this PR, or at all. I think there's a decent chance the user will tap the "What is WooCommerce Shipping" link, so it might make sense to preload WC_SHIPPING_INFO_URL
as described in this comment in ChromeCustomTabUtils
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JorgeMucientes I'm going to approve this since it's behind a feature flag. I went ahead and fixed the bug with the buttons being cut off because I thought that was a serious problem.
@nbradbury thank you for reviewing this and fixing the issue with the button not being visible! |
Part of: #6586
Description
Displays new onboarding screen before triggering the WC Shipping installation flow. Designs for this screen are here 9PGX5zb3VKHMYc7qTIv30B-fi-744%3A24627
Testing instructions
To access this new screen a site eligible for shipping labels is required for the new banner to be displayed inside OrderDetail screen. Conditions for the banner to be shown:
Once the banner is shown, click on "Get WooCommerce Shipping" button and the new screen should be displayed:
OnboardingScreenFlow.mp4