Page MenuHomePhabricator

Create a widget for namespace selection with checkboxes
Closed, ResolvedPublic

Description

Motivation
Currently, the namespace selection and deselection happen at two different points in the interface, which is pretty cumbersome. We want to allow users to select and deselect from the same place.

Acceptance Criteria
[] Instead of the namespace icons, namespaces are now preceded by a checkbox. Clicking on a line of an unselected namespace, it becomes selected. This means the checkbox is checked and the background is is highlighted as usual in OOUI standards. Clicking on the line of a selected namespace, the inverse happens (please check the recent changes namespace filter for the exact highlighting behavior (because it's a bit weird with being white when nothing is selected and turning gray except for the selected things the instance something gets selected))

Bildschirmfoto 2018-08-21 um 11.54.40.png (710×1 px, 83 KB)

  • There is a visible line grey line differentiating content + talk pages from each other
  • If a namespace is selected, its name appears as a pill on top of the input bar

approvedForBeta.png (193×857 px, 15 KB)

  • Add a OOUI magnifying glass in the input bar to make it more visible that people can search for namespaces

[] As before, when users enter the input bar, the dropdown expands. When they start typing, the dropdown reduces to the suitable options

Event Timeline

Lea_WMDE claimed this task.

Change 932438 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/AdvancedSearch@master] Remove non-standard border from top of the namespace dropdown

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

Change 932438 merged by jenkins-bot:

[mediawiki/extensions/AdvancedSearch@master] Remove non-standard border from top of the namespace dropdown

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