In viz filter allow selecting parents without data when their children are selected
As DE user,
I want to be able to select also parents without data when related child items are selected
So that we can apply the rule to always only display selected items in the data table, including parents without data.
Detailed functional specifications
- A (grand-)child of a parent item without data has data and is selected
➡ the DE user can (de)select the parent item so that it can be shown/hidden in the table together with the (grand)child. - None of the (grand-)children of a parent item has data and is selected
➡ the parent item remains deselected, the end-user cannot (de)select the parent item as this is required to avoid an empty table. - In addition to allowing (de-)selecting those parents in the 'Single item' selection mode, those advanced selection modes that guarantee that children with data are (de-)selected when (de-)selecting a parent without data, should allow (de-)selecting these parents without data.
- Indeed, parents without data cannot be de-selected when the selection of parents is forced by the data owner (see #414 (closed)).
The generated SDMX data query should contain all currently selected dimension items, even those selected parents that do not have data. The table-generating engine can so easily know from the SDMX data query, which items (whether having data or not) were selected and thus should be displayed in the table and which not.
UX goals:
- Users must easily understand if and when they can make their own selection for an item or not
- Users must easily understand if a parent item in the filter has data or not - remember that leaf items always have data
- Users must easily understand that only (clearly) selected dimension items are displayed in the data table. This means that everything to be displayed in the table needs being selected.
number of selections/total selectable
The number of selections should include all items of the filter, with or without data. This must be applied to the count feature of the filter and to the selected items displayed in the 'Applied filters' area.
New design elements
Functional mockups
'Single item' selection mode | 'Whole branch', 'Item and all items directly below' and 'All items' selection modes |
---|---|