Page MenuHomePhabricator

Footer design
Closed, ResolvedPublic

Description

As the footer is updated to use JS injection instead of native overlay, it would be great to make a few design updates from the design backlog and as a move towards footer standardization across the three platforms.

Standardize legal copy and wordmark placement
The mobile web recently updated the alignment and placement of the wordmark and legal text in the footer and it would be great to utilize this updated design on the mobile apps. The wordmark and legal text are left aligned with a hairline horizontal rule separating them.

Update the 'Read more' section to use less vertical space and utilize the new horizontal article card design
In conjunction with new designs for the In the news card T148739, it would be great to utilize similar cards in the footer design for standardization within the app and to decrease the overall vertical space of the footer.

Event Timeline

We can easily do a vertical layout:

vert.png (1×862 px, 290 KB)

One benefit of the vertical layout is better Android compatibility when this transform gets consolidated - the side-to-side inertial scrolling is non-standard webkit CSS.

Reminder: here's the CSS change for vertical layout.

@cmadeo

Oh on tablet we used to have a white background behind the footer. Do we want to continue doing this? The new footer does so presently:

Screen Shot 2017-05-01 at 12.24.11 PM.png (1×1 px, 326 KB)

We can adjust the tablet background and shadow independently too. Note that at the moment the CSS is configured to do a consistent shadow all around tablet read more footer cards - looked weird with no top separator.

@cmadeo Also would prefer we use the same grey background for the footer as is used for the TOC background? Right now they're a bit different.

This screenshot shows how the color difference is apparent if you choose "Read more" from the TOC on tablet (even though on tablet the footer presently has a white background, the gray used as a background for the footer on phone still appears below the footer):

Screen Shot 2017-05-01 at 12.33.44 PM.png (1×1 px, 278 KB)

Per our meeting: lets make the footer change (move legal disclaimer, etc) minor visual changes (padding around cards) and postpone the bigger changes for a future iterations (horizontal interaction).

Regarding the single line description - on mobile web a single line is used.

You can see this in the screenshot below where I've overridden a description to be super long:

Screen Shot 2017-05-02 at 11.37.07 AM.png (1×2 px, 776 KB)

And here is the same super long description but with the single line CSS commented out:

Screen Shot 2017-05-02 at 11.37.21 AM.png (1×2 px, 788 KB)

Here's a ticket which switches back to vertical layout (per our decision to postpone horizontal interaction to future date/ticket):

https://phabricator.wikimedia.org/T164330

Mhurd removed Mhurd as the assignee of this task.May 3 2017, 12:08 AM
Mhurd moved this task from Doing to Needs Design on the iOS-app-v5.5.0-Snake-On-A-Magic-Towel board.

@cmadeo Hey I parked this back in "Needs Design" and split out a child ticket for switching to vertical layout.

Hiya – will certain elements (namely the icons and text) be customizable per platform?
Namely, the following elements are different in Android:

  • Icons used for filled/unfilled bookmark
  • Typography style for article title and description (Roboto font and sizes)
  • Text-strings - for example 'Save for later' would be 'Add to reading list' in Android

Separately, are we able to localize the wordmark once assets from T143400: Improve the reading experience of footer sections of articles are finalized?

hi @Niedzielski – just updated T143400: Improve the reading experience of footer sections of articles for design specific to the Android footer which also has links to the article's Talk and History pages, as well as a link to 'View in browser'....

...unless these are links that iOS would also want to include as part of footer standardization?

@RHo, sorry for the late response and thanks for the good questions. I'm going to sync up with @Mhurd on this later today and will follow up with the Android footer integration ticket(s) I mentioned in the page library status update email.

@RHo, sorry for the late response and thanks for the good questions. I'm going to sync up with @Mhurd on this later today and will follow up with the Android footer integration ticket(s) I mentioned in the page library status update email.

sounds good @Niedzielski - and I wouldn't call <1day reply a late response! :)

@RHo

will certain elements (namely the icons and text) be customizable per platform?

Yes! We should be able customize the items you mentioned for Android:

  • Icons used for filled/unfilled bookmark

The icon class should be overridable - @Niedzielski we can work out the details.

  • Typography style for article title and description (Roboto font and sizes)

We should be able to override this as well for Android.

  • Text-strings - for example 'Save for later' would be 'Add to reading list' in Android

This is also not a problem as the native code passes the transform these strings.

@RHo, this cat boss jpeg is the best. I've made a placeholder for the Android integration in T165439. The consolidation is still in progress so there should be plenty of time to work on any mocks or design specs.

Moving this from Goat on a Train to the Wikipedia iOS App Backlog as the current implementation utilizes a smaller card presentation for 'Read more' articles, which was the primary design goal on iOS. In the future we may want to create a Universal footer design across Mobile web, Android and iOS, but for now this design is sufficient.

cmadeo claimed this task.