Page MenuHomePhabricator

Move expanded in-page settings to a separated full-screen modal
Open, Needs TriagePublic

Assigned To
None
Authored By
AAlhazwani-WMF
Jun 9 2022, 12:44 PM
Referenced Files
F35271584: iPhone 8 - 171.jpg
Jun 24 2022, 12:38 PM
F35271582: en.m.wikipedia.org_wiki_Special_Preferences(iPhone SE).png
Jun 24 2022, 12:38 PM
F35271095: iPhone 8 - 195.jpg
Jun 24 2022, 8:48 AM
F35270950: Screen Shot 2022-05-19 at 12.05.jpg
Jun 24 2022, 8:37 AM
F35270980: image.png
Jun 24 2022, 8:37 AM
F35270930: image.png
Jun 24 2022, 8:37 AM
F35270875: iPhone 8 - 178.jpg
Jun 24 2022, 8:37 AM
F35270867: image.png
Jun 24 2022, 8:37 AM

Description

Problem

When desktop editors (people who visit Wikipedia with a laptop or a computer with a large external display) open their user preferences, they can see and access all settings at once. Specifically, settings that provide multiple options (eg. "Gender used in messages") are immediately available taking advantage of the larger real estate. This is not the case on mobile and smaller devices, where displaying multiple settings all together can lead to settings pages longer than necessary, making it hard to scan and navigate the content.

Screen Shot 2022-06-09 at 14.24.13.png (1×1 px, 222 KB)

Jobs to be done

When I open my user preferences on a mobile or small device I want to be provided with the least amount of information necessary so I can scan the high-level content and options, and find the specific setting that I want to edit or change.

Proposed solution

We believe that prioritizing discoverability over optionality can be an effective measure in the context of mobile user preferences. We assume that mobile editors change their settings rarely. We would like to test if providing less information upfront, but requiring more steps to change a setting, will enable editors to effectively find what they need. And, if the navigation of user preferences on mobile devices will benefit from this change.

State of the art

  1. Open https://en.wikipedia.org/wiki/Special:Preferences on your mobile device
  2. Scroll the page while carefully reading the content (this is where we think we can improve the experience)
  3. Find the setting that you need
  4. Change or edit the option

Screen Shot 2022-05-05 at 15.11 10.jpg (1×750 px, 354 KB)

Proposed solution

  1. Open https://en.wikipedia.org/wiki/Special:Preferences on your mobile device
  2. Scan the macro categories (this is how we think we will improve the experience)
  3. Find the setting that you need
  4. Tap to open the option in a separate modal
  5. Change or edit the option

iPhone 8 - 177.jpg (1×750 px, 277 KB)

Specs

"Gender used in messages", the .oo-ui-labelElement-label becomes the modal title. For the modal redlines please refer to "Toolbar" section in this task https://phabricator.wikimedia.org/T310897.

image.png (1×1 px, 363 KB)

Edge case #1
If .oo-ui-labelElement-label is too long, it will be truncated with ellipses. Ideally we would edit those titles once they're used in the modal toolbar.

iPhone 8 - 195.jpg (1×750 px, 224 KB)

Edge case #2
If the settings option has no label, use the main section title. In this example the option "Vector 2022" has no label, but only a section title "Skin", therefore "Skin" will be used as a title for the modal toolbar.

en.m.wikipedia.org_wiki_Special_Preferences(iPhone SE).png (1×750 px, 190 KB)
iPhone 8 - 171.jpg (1×750 px, 176 KB)

Options and helper texts move to the modal content.

image.png (1×1 px, 357 KB)

The selected option in the modal content becomes a link (that opens the modal) under .oo-ui-labelElement-label.

image.png (1×1 px, 308 KB)

If the content of the modal is scrollable the modal toolbar is set sticky to the top.

iPhone 8 - 195.jpg (1×750 px, 212 KB)

Other examples

Language options, originally displayed as a dropdown, move into a modal. And the dropdown becomes a link to the modal, with the link text being the selected option in the modal.

BeforeAfterAfter
image.png (1×780 px, 220 KB)
image.png (1×768 px, 212 KB)
iPhone 8 - 195.jpg (1×750 px, 212 KB)

Signature, originally displayed in-page, move into a modal. And the signature itself becomes a link to the modal.

BeforeAfterAfter
image.png (1×782 px, 216 KB)
image.png (1×772 px, 228 KB)
iPhone 8 - 178.jpg (1×750 px, 386 KB)

Email options, originally displayed as a button, turns into a link. And the link opens the original page where you can change or remove your email.

BeforeAfterAfter
image.png (1×774 px, 234 KB)
image.png (1×768 px, 231 KB)
Screen Shot 2022-05-19 at 12.05.jpg (1×750 px, 326 KB)

Event Timeline

@Samwalton9 I was editing and improving the content of this task and I was wondering if it might be useful for the engineering team to have a table detailing the content that should move into a modal, a sort of inventory of things that they can follow to understand what should be in a modal, and what shouldn't. What do you think?

In T310272#8020374, @aminalhazwani wrote:

@Samwalton9 I was editing and improving the content of this task and I was wondering if it might be useful for the engineering team to have a table detailing the content that should move into a modal, a sort of inventory of things that they can follow to understand what should be in a modal, and what shouldn't. What do you think?

I think this makes a lot of sense. Each could probably be its own task ultimately, but I'm happy to write those.

Quick question @AAlhazwani-WMF - some of the designs here have a button in the top right. Some of the buttons say "Done", others say "Save". Which do you think it should be?

My personal preference would be 'Save', but curious if you had thoughts.

Good catch @Samwalton9, my bad! Yeah, I agree on using 'Save' in the context of user preferences!

We've decided to deprioritise this for now. We'll work on it if we still have time before our next project, but if diff improvements are ready to be implemented we're likely to shift on to that instead.