Page MenuHomePhabricator

Replace namespace icons with checkboxes in dropdown
Closed, ResolvedPublic13 Story Points

Description

Create SearchableCheckboxWidget to replace the menu with the icons in the namespaces dropdown part of AdvancedSearch.

Acceptance Criteria:

  • Initially, only the search input field (and its icon are visible)
  • When the search input is clicked, the list of checkboxes becomes visible. Subsequent clicks don't hide the checkboxes.
  • Each namespace is displayed with a checkbox, the icons that are currently visible are removed.
  • Clicking on a line of an unselected namespace makes it selected. The checkbox is checked and background is highlighted.
  • Clicking on a line of a selected namespace makes it unselected. The checkbox is unchecked and background is not highlighted.
  • Namespaces and their talk namespaces are bundled together visually by a thick gray border (see Mock or Recent Changes).
  • Typing in the search input field shows only those checkboxes where the label matches the typed text.
  • Clicking on any part of the page outside the widget hides the checkboxes.

Background: see T202370

Related Objects

Event Timeline

Restricted Application added a project: TCB-Team. · View Herald TranscriptAug 22 2018, 10:33 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
gabriel-wmde updated the task description. (Show Details)Aug 22 2018, 1:12 PM

Change 455170 had a related patch set uploaded (by Addshore; owner: Tonina Zhelyazkova):
[mediawiki/extensions/AdvancedSearch@master] Replace namespaces with checkboxes

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

Change 455170 merged by jenkins-bot:
[mediawiki/extensions/AdvancedSearch@master] Replace namespaces with checkboxes

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

Lea_WMDE closed this task as Resolved.Oct 4 2018, 12:01 PM
Lea_WMDE claimed this task.