-
Notifications
You must be signed in to change notification settings - Fork 137
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
Show currently selected site in site visibility editor screen #13160
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
...rc/main/kotlin/com/woocommerce/android/ui/sitepicker/sitevisibility/StoreVisibilityScreen.kt
Fixed
Show fixed
Hide fixed
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #13160 +/- ##
============================================
- Coverage 40.47% 40.46% -0.01%
Complexity 6237 6237
============================================
Files 1303 1303
Lines 75509 75512 +3
Branches 10361 10362 +1
============================================
- Hits 30560 30559 -1
- Misses 42288 42290 +2
- Partials 2661 2663 +2 ☔ View full report in Codecov by Sentry. |
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.
...tlin/com/woocommerce/android/ui/sitepicker/sitevisibility/WooSitesVisibilityViewModelTest.kt
Show resolved
Hide resolved
Thanks for the review @irfano! Good points! I fixed both of them. To do that I made the whole screen scrollable and added the footer as subtitle so it is always visible: demoFixes.mp4The alternative approach was to anchor the footer to the bottom, but since it is a very small text it didn't look well. I did a quick test (without adding the paddings or enything) and wasn't convinced about it. Let me know what you think. footerAnchored.mp4 |
I don’t have a strong opinion, but placing the text at the top looks good. cc @itsmeichigo |
Closes: #13159
Description
Adds a new section to the "Edit site visibility" screen displaying the currently selected site. Additionally, it filters out the currently selected site from the list.
Testing information
Edit Stores
buttonThe tests that have been performed
The above
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: