Page MenuHomePhabricator

"Show all fields" button in template dialog is confusing when all fields are there
Closed, ResolvedPublic3 Estimated Story Points

Description

  1. Given a template that is documented (e.g. one required and one optional parameter).
  2. Given a page where that template is used with all parameters.
  3. Editing that page in VE shows a button "Hide/show all fields". Clicking the button does not do anything, which feels confusing.

Screenshot.png (625×1 px, 46 KB)

To do in WMDE-TechWish-Sprint-2022-02-02:

  • Disable the button (don't hide it) when all checkboxes are checked, and enable it only when at least one checkbox is unchecked.
  • When this is implemented, test if there are still edge cases left where clicking the button doesn't do anything.

Event Timeline

Change 759698 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/VisualEditor@master] Disable hide unused widget when all are selected

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

Change 759698 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Disable hide unused widget when all are selected

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

thiemowmde moved this task from Demo to Done on the WMDE-TechWish-Sprint-2022-02-02 board.