Issue/13329 backup restore UI cycle 1#13898
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APK here. |
|
Hey, thanks for the ping, @zwarm ! This is starting to look really good. The layout is looking quite tight generally, but before I get into any specific, one general point is that everything looks slightly smaller than I expect. This could be an issue with the resolution I'm designing at. I have noticed things sometimes render smaller than I expected on Android. Just wonder if you could let me know what values you are using. E.g. are you using Body 16dp for those lines? It looks like 14dp on my device. But it could be my issue. This feedback goes across all screens. Just using this example. Otherwise they all look right, but just slightly small! Other than that
|
You are correct the sizes are off, I upped them. Please note that we are sharing components between scan, restore & backup; therefore the styling for common components will be reflected in all of the features.
The blue matches the checkboxes in the activity log filter, let me know if you want to change that and if so, to what color blue.
Yes, the checkboxes are material design - right out of the box. I increased the tap dimensions (the entire row is tappable too) @osullivanchris Let me know what you think. Copy will come in a future PR. Thanks |
| import kotlinx.android.synthetic.main.jetpack_backup_restore_fragment.* | ||
| import kotlinx.android.synthetic.main.jetpack_backup_restore_fragment.recycler_view | ||
| import org.wordpress.android.R | ||
| import org.wordpress.android.R.dimen |
There was a problem hiding this comment.
Minor 🔍: Let's use R.dimen.xx and remove org.wordpress.android.R.dimen
|
👋 Have done another round of reviewing this, thanks for the fixes. Getting into the nitty gritty this time. Type sizes
That's fine, scan had the same issues and is looking better as a result of these changes too. General
Progress bar
Checkboxes
Tablet/Landscape Here was what I had played around with in the final designs post. It isn't perfect either. But thinking we should have a max-width for the content area, and a max-width for the button size (maybe just define buttons as text + padding, once we go above phone width?). I am also open to doing same left aligned, if it is better from a code perspective. |
I removed the extra "bold" on the headers.
We are using the WP themes directly. No hardcoding of sizes.
Progress bar matches activity log list progress (so scan, backup, restore and activity log are all the same)
I didn't see the color gray in the specs, so I randomly chose a gray from here. I can easily change the reference, so let me know which one you want.
I aligned the spacing. :)
Tablets will be addressed separately, but it may be after the MVP depending on time constraints. @osullivanchris - Thanks for sticking with me 👋 |
|
Ah wow it was already looking pretty good, but its great now. All those little details are looking 👌 Very happy with this. Thanks for fixing all those little details. Tiny one that I hardly even want to mention because I just want to ✅ this task. But the Share icon after you download a backup is maybe a little large (although I know we usually do 24dp everywhere). I pushed it down to 16dp in the designs. |
I'll take this as a separate issue. Thanks |




Parent #13328 & #13329
This PR makes improvements to the shared backup download and restore screens
CheckboxSpannableLabelto support multi color text in the checkbox label. Having this functionality in a separate class supports the unit test needs for the caller.Notes:
To test:
Ensure that all states are rendered properly
cc @osullivanchris - if you'd like to take a look and let me know what I messed up on :)
PR submission checklist:
RELEASE-NOTES.txtif necessary.