Fenix: [Bug] Spacing, colours and rulers for section headers in Settings and subpages are incorrect

Created on 2 Sep 2020  ·  8Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. View Settings, or a Setting subsection such as Search

Expected behavior

Section headers (Account, General, etc.) should have additional spacing as shown in specs. Screenshot w/ expected spacing shown below.

Actual behavior

Section headers do not have much spacing, making the screen difficult to scan

Device information

  • Android device: Pixel 4
  • Fenix version: Nightly 200902 06:01

UX specs

  • Each menu row (for headers and menu items) should be 48px tall, with the content vertically centered in the middle
  • This would mean there should be 36px between the bottom of a header and the top of the text in the proceeding menu item
  • This applies to the main Settings screen as well as subpages that have section headers, such as Search

Artboard

Settings engverified help wanted 🐞 bug

Most helpful comment

@apbitner I'd like to work on this.

All 8 comments

@apbitner could you link to the mocks for settings?

Let's timebox this.

@apbitner could you link to the mocks for settings?

@liuche there's a mock / UX specs above in comment 0. The spacing specs should apply to applicable subpages in settings as well.

Mirroring https://github.com/mozilla-mobile/fenix/issues/14784#issuecomment-695867799, let’s also fix section heading colour and rulers on this issue.

Section heading colours

  • Light theme: Violet 70 #592acb
  • Dark and Private themes: Violet 40 #ab71ff

Section heading rulers

To help separate each sub-section within settings and other sub-pages, section headings that aren’t the first on the page should be shown with a ruler above them.

For example:

  • Search → above heading “Address bar”
  • Customise → above headings “Toolbar”, “Home” and “Gestures”
  • Add-ons → above headings “Disabled” and “Recommended”

@apbitner I'd like to work on this.

Thanks for the help @amkcpu! Please tag me for a review once you open a PR 😄

I had tested this issue on Nightly 201103 05:01 (Build #2015773417) GV 84 from 11/3 with

  • Motorola Moto G6 (Android 8);
  • Pixel 2 (Android 9);
  • Samsung Galaxy Tab S3 (Android 8)

and I will leave the qa:needed label on until receiving an answer to the below questions.

@brampitoyo The ruler above the General section from Settings page, is not visible when Turn on Sync is displayed, please see the screenshot. Is this expected? Also, when logged in and the Account section is displayed, the ruler is visible above the General section.
Please observe the color for the light theme: Violet 70 #592acb, from the screenshot. Is it the expected color?

rsz_screenshot_20201103-114414

I had filed a new issue for the ruler above the General section issue: https://github.com/mozilla-mobile/fenix/issues/16393.
Also verified the colors and they are the expected ones:
txtw
txtb

Due to these findings, I will close this issue and remove the qa:needed label.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreicristianpetcu picture andreicristianpetcu  ·  3Comments

topotropic picture topotropic  ·  3Comments

csadilek picture csadilek  ·  3Comments

bbinto picture bbinto  ·  3Comments

abodea picture abodea  ·  3Comments