Page MenuHomePhabricator

Mobile preferences: Click on toggle labels can change their value but not the visual state of widgets
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

Save button becomes enabled, you can save the value, but the toggle state didn't change.

Screenshot 2023-05-07 012506.png (498×867 px, 35 KB)

What should have happened instead?:

Clicking on the label should change the toggle state visually.

Screenshot 2023-05-07 012528.png (490×870 px, 35 KB)

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change 920339 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] Implement HTMLToggleSwitchField for mobile layout of preferences

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

Change 920339 merged by jenkins-bot:

[mediawiki/core@master] Implement HTMLToggleSwitchField for mobile layout of preferences

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

jsn.sherman claimed this task.

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

https://patchdemo.wmflabs.org/wikis/34de885f3a/w/