pocket-casts-ios icon indicating copy to clipboard operation
pocket-casts-ios copied to clipboard

Edit folder screen has too many horizontal dividers

Open mchowning opened this issue 2 years ago • 1 comments

It looks to me like the Edit Folder screen has a lot of dividers. I think at least one of these could be removed (I'm looking at the two dividers between the colors and the delete button in particular), but I'm curious what @adamzelinski thinks.

Screen Shot 2022-07-13 at 12 24 54 PM

mchowning avatar Jul 13 '22 16:07 mchowning

Cheers for looking into this @mchowning I think it might be more the color of the dividers and the padding that is making it look a little funny. Do you mind just checking we're using $primary-ui-05 for the dividers and that the padding is correct as it looks a little tight?

Screen Shot 2022-07-14 at 2 28 45 pm

Thanks!

ghost avatar Jul 14 '22 04:07 ghost

@adamzelinski I had a look and the ThemedDivider is using the correct color: https://github.com/Automattic/pocket-casts-ios/blob/1ed3c5b8353dcadc2cfd83fe86ca260ffe9baa99/podcasts/Styles.swift#L132-L137

It is missing padding though. Here is the current version: image

and then with padding of 10 applied: image

Is 10 enough, or did you have a different value in mind?

rviljoen avatar Dec 08 '22 21:12 rviljoen

The padding looks good to me thanks @rviljoen however I think the dividers need to be the width of the screen as it looks funny with the padding on either side

ghost avatar Dec 09 '22 01:12 ghost

The padding looks good to me thanks @rviljoen however I think the dividers need to be the width of the screen as it looks funny with the padding on either side

@adamzelinski Yes, I agree! I have removed the leading and trailing padding for the dividers: image

Let me know if this is good to go and I'll submit a PR.

rviljoen avatar Dec 09 '22 16:12 rviljoen

the dividers look really great now thanks @rviljoen however, now all the padding looks off. Can we please make sure all the text elements are in alignment. The padding from both edges should be 16pt.

Screen Shot 2022-12-12 at 12 21 23 pm

ghost avatar Dec 12 '22 01:12 ghost

@adamzelinski Sorry, I missed that! Here's my latest attempt:

image

In addition to fixing the padding, I also added some space between the Navigation Title ("Edit Folder") and the folder name to match your design.

rviljoen avatar Dec 12 '22 08:12 rviljoen

Awesome, thanks @rviljoen that's looking great happy with that. I also assume that the close icon will be there too correct as it's not showing in your screenshots

ghost avatar Dec 13 '22 00:12 ghost

@adamzelinski Yes, the close icon is visible in the app, but does not render in the Xcode view preview as it is not included in each individual view. Here is a render from the app on a real device, with the view controller rendering it:

24A9CB7C-B596-4654-A165-2990A36FAC5A_1_201_a

rviljoen avatar Dec 13 '22 08:12 rviljoen