diff --git a/docs/concept/#578-consistent-null-values/#578-consistent-null-values.md b/docs/concept/#578-consistent-null-values/#578-consistent-null-values.md index d1e86fbd47..78d8377290 100644 --- a/docs/concept/#578-consistent-null-values/#578-consistent-null-values.md +++ b/docs/concept/#578-consistent-null-values/#578-consistent-null-values.md @@ -29,11 +29,11 @@ These should be consistent throughout Trace-X. # Requirements - Whenever a string value is saved or updated in the database and during data consumption from IRS: - - [ ] Leading and trailing whitespace characters are trimmed. - - [ ] Empty strings ("") are all converted to null. -- [ ] Null values are shown *empty* in the frontend. -- [ ] When sorting columns, empty values are shown all the way on the bottom regardless of the sort order. -- [ ] Empty values can be filtered and searched for. They are shown as "(Blank)" (de: "(Leer)") when filtering for them and can be searched by inputting the same term. + - [ ] Leading and trailing whitespace characters are trimmed. + - [ ] Empty strings ("") are all converted to null. +- [ ] Null values are shown as a hyphen "-" in the frontend. +- [ ] When sorting columns, empty values are shown all the way at the top regardless of the sort order. +- [ ] Empty values can be filtered for. They are shown as "*empty field*" when filtering for them. This option is always shown at the top of the filter/search box regardless of what the user is searching for. - [ ] Leading and trailing whitespace characters don't count as mandatory values during user input. # Out of scope @@ -47,13 +47,12 @@ Whenever a string is saved or updated in the database and during data consumptio 3. Save/update value in database ### Frontend -Null values should be shown in the frontend as empty: +Null values should be shown in the frontend as a hyphen: -![null-value-display-empty.png](null-value-display-empty.png) +![null-value-display.png](null-value-display.png) -When sorting the values, empty ones should be always shown at the bottom regardless of the sort order. -Filtering and searching for empty values must be possible. In the filter box (Blank) (de: (Leer)) should be shown at the bottom. -To search for it, the user must type in the term "(Blank)" (de: (Leer)). +When sorting the values, empty ones should be always shown at the top regardless of the sort order. +Filtering for empty values must be possible. In the filter box "*empty field*" should always be shown at the top regardless of what the user is searching for. ![null-value-filter.png](null-value-filter.png) diff --git a/docs/concept/#578-consistent-null-values/null-value-display-empty.png b/docs/concept/#578-consistent-null-values/null-value-display-empty.png deleted file mode 100644 index 2cb87a989d..0000000000 Binary files a/docs/concept/#578-consistent-null-values/null-value-display-empty.png and /dev/null differ diff --git a/docs/concept/#578-consistent-null-values/null-value-display.png b/docs/concept/#578-consistent-null-values/null-value-display.png new file mode 100644 index 0000000000..561d0687a8 Binary files /dev/null and b/docs/concept/#578-consistent-null-values/null-value-display.png differ diff --git a/docs/concept/#578-consistent-null-values/null-value-filter.png b/docs/concept/#578-consistent-null-values/null-value-filter.png index a2487d4763..0a0757bc9e 100644 Binary files a/docs/concept/#578-consistent-null-values/null-value-filter.png and b/docs/concept/#578-consistent-null-values/null-value-filter.png differ