woocommerce-ios
woocommerce-ios copied to clipboard
UI enhancements from the initial design feedback
Ref: Joe's feedback in pfoUAQ-cM-p2#comment-121
The secondary view has the same problem that order details does – the content of each row is pushed to the sides of the screen. Have you tried, or are you planning to try, adding the margins we added to order details?
- On product details, the wide width is nice for showing lots of product images and a wider space for the description, though, so there’s a good argument for not adding margins.
- The Blaze flow would really benefit from margins, though. That huge image isn’t very practical.
🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.
I started working on this and I am maybe more in for not adding the margins. We have multiple screens that we push from the product details and if we add margins to the starting screen we need to add it to all of them.
Here is how details screen would look with margins:
And here is how price (and other screens) look when pushed:
Let me know what do you think @jaclync
I started working on this and I am maybe more in for not adding the margins. We have multiple screens that we push from the product details and if we add margins to the starting screen we need to add it to all of them.
Interesting, do the screens pushed to order details also have their margins added manually? If so, and if the code isn't trivial for each screen, this sounds like a potential issue for future maintenance. Joe also mentioned the margins won't be good for the images header. I think we can focus on reducing the image size in the Blaze view (the second point in Joe's comment in the issue description).
I vaguely remember some option for the UITableView
to adjust the margins, not sure if it's cellLayoutMarginsFollowReadableWidth
- have you tried this?
Blaze view
Looks like the Blaze view is a SwiftUI view BlazeCampaignCreationForm
(embedded in BlazeCampaignCreationFormHostingController
) so we can make a different approach, just to limit the width to some max amount? What do you think about that solution?
Blaze view
Looks like the Blaze view is a SwiftUI view
BlazeCampaignCreationForm
(embedded inBlazeCampaignCreationFormHostingController
) so we can make a different approach, just to limit the width to some max amount? What do you think about that solution?
Yup sounds good to me! We can follow the max amount used in the order details and apply it to the top content view and the "Confirm Details" CTA at the bottom.