Issue Bug Closed

#101674Improve user interface for selecting linktypes via checkboxes in Linkvalidator

Sybille Peters 08/13/23, 16:38 updated 07/09/24, 14:15

Description

The linkvalidator linktypes checkbox selector can be a bit tedious to use.

On initially using linkvalidator, all linktypes are usually deactivated by default. So you would have to activate them all, clicking 3 or more times (there may be more custom linktypes configured).

Also, if not just the Reports but the Check view is enabled, you have to repeat this again.

Possible improvement

Add a “Toggle all” checkbox as is already used in the SelectCheckBoxElement FormEngine renderType. (the FormEngine version can be looked at using the styleguide extension: list view, page “elements select”):

formengine_select_checkboxes.png

Screenshots

before:

linkvalidator_linktypes_checkboxes_current.png

after:

linkvalidator_linktypes_checkboxes_with_toggle_all.png

Implementation details

Since Linkvalidator uses Fluid for the view, we would probably have to write that from scratch.

Implement like FormEngine type=“select”, renderType=“selectCheckBox”.

Behaviour:

  • “Toggle all” gets checked as soon as all checkboxes are checked
  • “Toggle all” gets unchecked when not all checkboxes are checked
  • “Toggle all: if clicked will change state, e.g. if unchecked will change to checked and all checkboxes will be checked

Reviews 1