Page MenuHomePhabricator

Add ToggleButton component to WVUI
Closed, ResolvedPublic

Description

Existing components

MediaWiki community:

Wikimedia Design Style Guide links:

Potential implementations

HTML element

ToggleSwitch is, in essence, a binary input.

Existing implementations:

  • OOUI: Uses a link <a> and spans, necessitating the use of ARIA attributes
  • GlobalWatchlist: wraps around a button

Event Timeline

Change 705990 had a related patch set uploaded (by DannyS712; author: DannyS712):

[wvui@master] [ToggleButton] Add new toggle button component

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

Change 705990 merged by jenkins-bot:

[wvui@master] [ToggleButton] Add new toggle button component

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

Change 715153 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update WVUI to v0.3.0

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

Change 715153 merged by jenkins-bot:

[mediawiki/core@master] Update WVUI to v0.3.0

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

Change 699951 had a related patch set uploaded (by VolkerE; author: Catrope):

[mediawiki/core@master] wvui: Change the 'wvui' module back to the full WVUI bundle

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

Change 699951 merged by jenkins-bot:

[mediawiki/core@master] wvui: Change the 'wvui' module back to the full WVUI bundle

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

Volker_E moved this task from Doing to Done on the WVUI board.