Skip to content
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

List block design review #897

Closed
2 of 8 tasks
iamthomasbishop opened this issue Apr 19, 2019 · 6 comments
Closed
2 of 8 tasks

List block design review #897

iamthomasbishop opened this issue Apr 19, 2019 · 6 comments
Labels
Blocks [OS] Android [Type] Bug Something isn't working [Type] Enhancement Improves a current area of the editor

Comments

@iamthomasbishop
Copy link
Contributor

iamthomasbishop commented Apr 19, 2019

While giving the latest alpha of WPAndroid (alpha-165), I noticed a few things that could use some refinement. Because I was previously out for ~5 weeks, I'm not sure which/if any are in progress or fixed. With that said, here are the things that jumped out at me (and some redlines from the original block design for reference):

Screen Shot 2019-04-19 at 12 35 20 PM

(above: proposed block design)

Screen Shot 2019-04-19 at 12 59 43 PM

(left: current implementation, right: proposed)

Visual refinements

  • List items don't have vertical spacing between – there should be 10pt between items
  • Left edge of list should be aligned left to 16pt keyline (aligned flush left of inner block)
  • Bullet (unordered lists) should be 6pt
  • Space between bullet and text should be 10pt (total text inset == 32pt)
  • It appears that on unordered lists, the bullet is 1-2pt below center
  • Line-height on items should be 24pt
  • Top-level bullets should be same color as text
  • Nested items' list-style-type should be circle

Bugs

Side note: I think on Android, there might be a regression on inner block padding, where there's too much padding along the top and bottom edges of inner blocks – something we fixed previously?

cc @SergioEstevao @etoledom @hypest

@hypest
Copy link
Contributor

hypest commented May 3, 2019

Moving to next milestone.

@hypest hypest modified the milestones: v1.3, v1.5 May 3, 2019
@hypest hypest removed this from the v1.5 milestone May 15, 2019
@koke
Copy link
Member

koke commented May 16, 2019

@SergioEstevao @daniloercoli how hard would you say this is? I like the improvements but I have no idea if this is a trivial change or a week-long one, and with everything else in the backlog I wouldn't put a lot of time into this right now.

@SergioEstevao
Copy link
Contributor

@SergioEstevao @daniloercoli how hard would you say this is? I like the improvements but I have no idea if this is a trivial change or a week-long one, and with everything else in the backlog I wouldn't put a lot of time into this right now.

So in iOS I already addressed some of the spacing issues. Another part of them will be sorted with the improvements/fixes I'm doing on the nested lists. I will say to wait for those to be merged and then reevaluate again.

@daniloercoli
Copy link
Contributor

Aztec on Android does already provide a way to customize paddings and margins. We can set those custom settings in the wrapper and refine the UI.

@SergioEstevao
Copy link
Contributor

SergioEstevao commented May 6, 2020

@iamthomasbishop I think we already address all these issues, are you still seeing any of those in the current builds?

So I tested this again on Android and while it looks all the bugs/crashes are solved but I think that only some of the visual refinements were addressed. I marked above the ones that I think are sorted.

On iOS it looks all the visual refinements were addressed except for the bullet character on the second level, we have a pending PR for it in Aztec iOS but we decided to postpone it until android implemented it too.

@geriux
Copy link
Contributor

geriux commented May 14, 2024

Closing since the List block was improved when migrating to inner blocks, so the UI is now unified in both platforms.

@geriux geriux closed this as completed May 14, 2024
@github-project-automation github-project-automation bot moved this to Done (keep clean, manually) in Mobile Gutenberg Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks [OS] Android [Type] Bug Something isn't working [Type] Enhancement Improves a current area of the editor
Projects
Status: Done (keep clean, manually)
Development

No branches or pull requests

8 participants