Foundation.mozilla.org: [Wagtail Component] Figure, Image, Image text, Figure Grid

Created on 20 Apr 2018  路  17Comments  路  Source: mozilla/foundation.mozilla.org

@taisdesouzalessa @gvn we should look at these 4 components more holistically and see how we can make them easier to use and better looking.

Image

  • Image (size + alignment)
    screen shot 2018-04-20 at 1 13 57 pm
    image

Figure

  • Image (size + alignment)
  • Caption (paragraph text style)
  • URL (turns paragraph into link)
  • (result = image on top of text)
    screen shot 2018-04-20 at 1 13 43 pm
    image

Image text

  • Text (paragraph text style)
  • Image (size + ordering (similar to alignment))
  • (result = image left of text)
    screen shot 2018-04-20 at 1 14 39 pm
    image

Figure Grid

  • Multiple Figures
    image
    image
design

Most helpful comment

I've cleaned up and updated the doc based on our chat. Tomorrow, Ta铆s will mockup these components all together on one page. This will help us visualize the final results, check spacing, and make it easier to add them to our style guide. Once comps are finalized, we will open separate implementation tickets for each component.

All 17 comments

I need to think through this more but I think using the Paragraph component would help streamline the Caption, URL, and Text fields into one consistent and flexible field/options. Then it's a matter of the text being below or beside the image.

@kristinashu is this issue related to the discussion we had today with the figure grid or is it bigger than that?

We talked about the Figure Grid component but not really the other components how they all fit together.

I'd like to get rid of the "size" options entirely since Wagtail can handle image sizing for us.

It'd be nice to drop the alignment options too as much as possible. I feel like a broken record, but we want to keep users focused on content and not layout.

Agree with the mantra "keep users focused on content not layout" 馃挴 .

About the image sizes, I think for the "figure grid" it should adjust to the page's grid as we discussed yesterday.

For image + copy (side by side), I think it would be cool if the system could accommodate at least 2 scenarios:

1. Image on the left + body copy on the right
image

2. Image on the left (small) + title on the right (h2-h6)
Offer the option to add icons to titles.
image

I'm all for removing options but just want to make sure things will look good.

Listing a few use cases as a starting point:

  • icon

    • 1 column width

    • always left aligned

    • 1:1 aspect ratio

    • heading + paragraph text could wrap it?

  • small image

    • 2-3 columns (would need to test to decide)

    • always left aligned

    • 1:1 aspect ratio

    • example: profile pic

  • large image

    • 6-8 columns (8=full width)

    • if 6 columns then center aligned

    • 16:9 aspect ratio

@taisdesouzalessa will mock-up the best case scenario of how the components should look (using content from our existing opportunity pages as use cases). Then we can see what patterns arise and how we can streamline them.

I was looking at what we currently have but realize maybe we should ignore this for now and just focus on what we want!

Here are some use cases:

https://foundation.mozilla.org/opportunity/global-sprint/

Full-width image:
screen shot 2018-04-30 at 11 07 01 am

Grid of images with text and link (would be nice to have full paragraph component options for text. Text should have all paragraph style options (i.e. different headings, paragraph text, bold individual words, link individual words):
screen shot 2018-04-30 at 11 07 46 am

Logo grid (each logo links to external site):
screen shot 2018-04-30 at 11 08 00 am

https://foundation.mozilla.org/opportunity/web-literacy/core-curriculum/frame/

Icon (would be better if text could wrap around the logo. Text should have all the paragraph style options)

screen shot 2018-04-30 at 11 08 55 am

https://foundation.mozilla.org/opportunity/mozilla-information-trust-initiative/

Again, text should wrap around icon:
screen shot 2018-04-30 at 11 09 30 am

Here is an smaller image centered, not sure if we need this option? Maybe it should just be full width.
screen shot 2018-04-30 at 11 09 49 am

https://foundation.mozilla.org/opportunity/tech-policy-fellows/

Ideally text would be next to the image:
screen shot 2018-04-30 at 11 10 01 am

@kristinashu @gvn I created a doc that contains links to comps and also recommendations. Some files look big in the screen because I wanted to keep the comps in their real size.

I think it is better if we keep all the comments in the doc, so they are all in a central place. Please let me know your thoughts on the recommendations and if anything seems confusing or not feasible:

https://docs.google.com/document/d/1nsu6k-MdJ1yL9myRgVg8im6Uc0wH_RwSa52Ul4yFfyo/edit?usp=sharing

Nice @taisdesouzalessa! I left a few comments. Noting the campaign comps show the new grid I'm trying to enforce! They are generally narrower than what we have now so that should help with the full width images and videos.

@kristinashu I updated the comps to reflect the new grid and addressed your feedback. Please let me know if all looks good to you then I can create an implementation ticket.

Comps look good! I've added some clarifying questions about requirements and move some text around but I think we're close.

@gvn when you can, please take a look at the doc and let us know if we're missing anything.

I've cleaned up and updated the doc based on our chat. Tomorrow, Ta铆s will mockup these components all together on one page. This will help us visualize the final results, check spacing, and make it easier to add them to our style guide. Once comps are finalized, we will open separate implementation tickets for each component.

Here are the unified comp of all those components. I added the optional caption as noted in the doc. Check it out and let me know your thoughts: https://mozilla.invisionapp.com/share/CPIAF8M4FBK#/296012268_All_Image_Components_in_1_page - I really like we could narrow down to this set, it seems versatile enough for the scenarios we encountered so far. Go team!

Woohoo this is excellent @tais! Do you think they're ready for implementation? I think so!

Cool! I'll file individual implementation tickets then. I'll create a master ticket so we can have an overview of how individual tickets are progressing. Will close this issue as soon as I have them all written.

Master Implementation ticket: #1516 - closing the issue. Feel free to reopen it if necessary.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taisdesouzalessa picture taisdesouzalessa  路  5Comments

mmmavis picture mmmavis  路  4Comments

kristinashu picture kristinashu  路  5Comments

xmatthewx picture xmatthewx  路  3Comments

taisdesouzalessa picture taisdesouzalessa  路  5Comments