Page MenuHomePhabricator

Use multi-column layout on various component's interaction states list
Closed, ResolvedPublic2 Estimated Story Points

Description

Background/Goal

We've agreed on adding “Interaction states” section to MVP guidelines, but we're dealing with long lists in a number of components, that should be split up in multi-column CSS layouts in order to be simpler readable.

CurrentExpected
image.png (774×1 px, 65 KB)
image.png (594×1 px, 58 KB)

Reference

Acceptance criteria

  • Add multi-column layout to VitePress custom CSS and use it on Checkbox, ChipInput, Field, Radio, Select, ToggleSwitch, TextInput, TextArea components

Event Timeline

lwatson updated the task description. (Show Details)
Volker_E set the point value for this task to 2.Oct 11 2023, 6:47 PM

Change 965251 had a related patch set uploaded (by LWatson; author: LWatson):

[design/codex@main] docs: Use CSS multi-column layout to display interaction states

https://gerrit.wikimedia.org/r/965251

lwatson changed the task status from Open to In Progress.Oct 13 2023, 6:43 PM
lwatson updated the task description. (Show Details)

Change 965251 merged by jenkins-bot:

[design/codex@main] docs: Use CSS multi-column layout to display interaction states

https://gerrit.wikimedia.org/r/965251

I've reviewed the components listed in the task and their Interaction States lists look good.

Reviewing the demos I've found some improvements for next iterations:

  1. In order to view both image and states' list in the same scroll, the columns could be included always there are more then 5 states in the list. So the following components could also include 2 columns: Accordion, ButtonGroup, Combobox, Link, Lookup, MenuItem, Tab, ToggleButton, ToggleButtonGroup, TypeaheadSearch.
  1. Reviewing the columns in the demo, I've realized that the states' list would be more readable if we read the states from left-right and top-bottom:
12
34
56

Since these are new improvements for the future, let's solve this task and if you agree with these new changes, I can create a new task for them.

Change 968345 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update Codex from v1.0.0-rc.1 to v1.0.0

https://gerrit.wikimedia.org/r/968345

Test wiki created on Patch demo by ATomasevich (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/b8a4f83606/w

Change 968345 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v1.0.0-rc.1 to v1.0.0

https://gerrit.wikimedia.org/r/968345

Change 968370 had a related patch set uploaded (by Jforrester; author: Anne Tomasevich):

[mediawiki/core@REL1_41] Update Codex from v1.0.0-rc.1 to v1.0.0

https://gerrit.wikimedia.org/r/968370

Change 968370 merged by jenkins-bot:

[mediawiki/core@REL1_41] Update Codex from v1.0.0-rc.1 to v1.0.0

https://gerrit.wikimedia.org/r/968370

Test wiki on Patch demo by ATomasevich (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/b8a4f83606/w/