participedia / frontend

DEPRECATED - see https://github.com/participedia/api/ instead
MIT License
2 stars 2 forks source link

Design Guidelines (Spacing, Typography, Function) #853

Open jesicarson opened 6 years ago

jesicarson commented 6 years ago

Jesi to provide detailed specifications for spacing in forms, static pages, reader view pages.

Ref: https://github.com/participedia/usersnaps/issues/184 https://github.com/participedia/usersnaps/issues/134

jesicarson commented 6 years ago

Latest spacing and type specs for FORMS below (applies to all content types). .ai working file.

Changes from xyz:

approved form spacing and type - 30px top - match to case

jesicarson commented 6 years ago

Latest spacing and type specs for READER PAGES below (applies to all content types). .ai working file.

Changes from xyz:

approved - case styleguide july 9 2018

dethe commented 6 years ago

For scaling to different sizes, we will set a minimum size for columns and reduce the number of columns as the window gets smaller. Columns themselves (with images and text) will have a fixed width and spacing between columns is also fixed. The row of columns will be centred horizontally and the amount of space on the left and right may change with screen size and the number of columns shown. When we are in list view and shrink past (???), switch to card view. List layout will also be fixed max size and be centred. Basically all pages will have a max width and be centred.

jesicarson commented 6 years ago

Material Design guidelines for breakpoints: https://material.io/design/layout/responsive-layout-grid.html#breakpoints and grid behaviour (we decided on fixed): https://material.io/design/layout/responsive-layout-grid.html#grid-behavior

jesicarson commented 6 years ago

@dethe If building homepage during the framework overhaul you mentioned in today's meeting, pls refer to this design for new bookmark design and colour: https://github.com/participedia/frontend/issues/822. Will post a pink markup version here too with type specs soon. Note amber wants smaller text for the "submitted by" data shown on homepage search results than currently on xyz. Speaking of which, instead of "base" we should use "medium" for text, whereas the narrative uses "large" and form placeholder and homepage results submitted by text would be "small". We can review this on Friday and I'll update the above specs to reflect the following:

Updated Dec 3, 2018 (added H4B - Use BOLD for logo only): typography hierarchy

scottofletcher commented 6 years ago

@jesicarson did Amber have anything to say on the narrative headings? Using "small" will definitely make them 'pop' more but I have a hard time picking them out sometimes. That reminds me: are we ever going to implement the sidebar table of content we floated a long, looong time ago?

jesicarson commented 6 years ago

@scottofletcher Narrative headings ("Reader Narrative Header" tex shown above) will use H2, making them larger than what is currently in use on xyz (H3).

Don't remember what you mean by sidebar table of contents.

scottofletcher commented 6 years ago

RE H2: perfect!

RE table of contents: we had talked (like two years ago) about putting in a table of contents either on the side of the text (left on .net, right on xyz) or at the top of the page with little "^top" icons beside each heading to return to the TOC

jesicarson commented 6 years ago

right. sort of recall that. tricky because we didn't separate out the headers into separate fields - users can edit narrative headings to their hearts content, so not sure if this would work with a TOC unless that was also customizable. Gets a bit complicated, but can put it on the things to consider pile.

scottofletcher commented 6 years ago

@jesicarson this is for sure a wishlist item! toss it onto the consider pile and forget I brought it up (until I bring it up again, of course!)

jesicarson commented 6 years ago

@dethe Updated homepage design guidelines.

New things not currently on xyz:

july 23 2018-home-design guidelines draft

jesicarson commented 6 years ago

Profile page design guidelines.

New things not currently reflected on xyz:

profile-aug 5

jesicarson commented 6 years ago

Edit profile design guidelines:

Changes from xyz:

draft - edit profile aug 13 2018

dethe commented 6 years ago

@jesicarson This is all awesome, but I just realized that what I don't see here are guidelines for mobile. A lot of it will scale just fine and I think most of our text sizes will work on mobile (we can tweak once we see it), but guidelines for sidebars going into the hamburger menu, minimum widths for things, and any other changes you would like to see on mobile devices would be helpful.

jesicarson commented 6 years ago

@dethe Ok, I will jump to mobile. But the way things are currently on mobile are pretty close. ie, on reader pages, the sidebar data goes into accordion menus below the images (not the hamburger), and this is already implemented on mobile. Probably the only text that will need to resize for mobile will be on the reader, however, since we use 'large' type on desktop for the narrative - I will check if this is already implemented as well. Not sure what scaling if any we currently have implemented on mobile for forms, but it seems to work fine as well.

Also - I had posted this above, thinking we could work with Material Design guidelines for breakpoints, does that make sense?:

I may need some guidance from you about how to create scaling / breakpoint guidelines specific to ppedia. But I will take a stab at it and get your feedback at our next working sesh.

Cheers!

jesicarson commented 6 years ago

Ok so @dethe will simplify the breakpoints. We discussed that the data will collapse into a nested drop down menu when resizing downward. Like it does currently on mobile (but I'll still provide mobile spacing specs for the record soon): image

jesicarson commented 5 years ago

Here's the hamburger menu with links to admin access pages, which will only show on the hamburger menu of admins with these accesses when they are logged in.

@ascott here are updates to hamburger to include newsletter sign up. Thx!

UPDATED FEB 25 2019

Changes from xyz:

Desktop: screen shot 2019-02-25 at 11 13 17 am

Mobile: screen shot 2019-02-25 at 11 12 35 am

jesicarson commented 5 years ago

spacing and type for STATIC PAGES. Will apply to about, research, teaching, terms of use, etc.

approved - about page oct 2 2018

jesicarson commented 5 years ago

Quick Sub Select Type page (updated Nov 5, 2018: removed title, placeholder text below buttons, tightened up spacing)

TLRC entries are publicly accessible but editing is restricted. See #899

quick sub select type - updated nov 5 2018

jesicarson commented 5 years ago

Hi @ascott, Sorry there are no spacing specs on this, but to give you an idea of the updates coming to the homepage. Mainly, the "Participedia is... " text. I will work on how this looks on mobile and upload here shortly. This mockup has more tabs (teaching resources, users, news, etc) which can be added when those backend models are built and ready to roll out.

Update Dec 3 - Added spacing specs: home mockup-spacing specs added

jesicarson commented 5 years ago

Mobile footer specs. @ascott is this doable? Thanks!

mobile 640x1136 header footer

mobile 480x800 header footer

ascott commented 5 years ago

@jesicarson thanks, i think this should be doable. i'll update the footer PR to reflect these changes.

jesicarson commented 5 years ago

Vector UI kit for buttons, icons, colours, line weights

@ascott this page can be found in this .ai file.

buttons colours line weights

scottofletcher commented 5 years ago

@jesicarson not totally sold on the newsletter signup in the desktop view of the hamburger. I think the mobile version would work for desktop too (otherwise, I see "Participedia Today" and immediately check out)

jesicarson commented 5 years ago

yes i was second guessing this myself actually. ill run it by amber if i can tomorrow

ascott commented 5 years ago

i'm not sold on it either.. i think your landing page does a good job of giving more information about the newsletter so it feels like we don't need to include that info here as well.

jesicarson commented 5 years ago

@ascott lets just do the button, thanks for the feedback!

ascott commented 5 years ago

@jesicarson ok sounds good

jesicarson commented 5 years ago

@ascott Mockup for news page (showing admin options). Clone of reader pages, except no data, no edit button, no "most recent changes by"

Reader - News + Admin Options