Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f7e21d0
feat: fetch plural event, enrollment and tracked entity type labels
HendrikThePendric Sep 23, 2026
0d3300c
feat: resolve visualization titles from output type and program labels
HendrikThePendric Sep 23, 2026
cb428ef
feat: hide the title on legacy visualizations that have none
HendrikThePendric Sep 23, 2026
f177460
feat: render the resolved title in every visualization path
HendrikThePendric Sep 23, 2026
f39abb2
feat: replace the title input with an auto, none and custom control
HendrikThePendric Sep 23, 2026
e0cc28a
feat: reset the title configuration when the visualization type changes
HendrikThePendric Sep 23, 2026
0b110e0
chore: extract i18n strings
HendrikThePendric Sep 23, 2026
4dcd4ae
refactor: reuse the shared toggleable option style for the title input
HendrikThePendric Sep 23, 2026
1d4b264
refactor: extract condition texts, item names and layout dimensions a…
HendrikThePendric Sep 24, 2026
21bdc21
feat: show a filter line on line lists and pivot tables
HendrikThePendric Sep 24, 2026
95c2c21
test: cover the pivot table filter text prop
HendrikThePendric Sep 24, 2026
da6d396
fix: fall back to a generic plural when the tracked entity type is un…
HendrikThePendric Sep 30, 2026
4a39208
refactor: read the user locale from the app runtime instead of a prop
HendrikThePendric Sep 30, 2026
805fbaa
refactor: trim the legacy title comment
HendrikThePendric Sep 30, 2026
419a33f
refactor: correct the title field comment
HendrikThePendric Sep 30, 2026
830b89f
refactor: name the title field handlers after what they change
HendrikThePendric Sep 30, 2026
09367f5
refactor: pass hideTitle through unchanged when resolving the title
HendrikThePendric Sep 30, 2026
af150d1
refactor: drop redundant comments in PluginWrapper
HendrikThePendric Sep 30, 2026
2361b3d
refactor: move the condition text helpers into the conditions module
HendrikThePendric Sep 30, 2026
46ca018
refactor: reuse the conditions types in useConditionsTexts
HendrikThePendric Sep 30, 2026
a9f7298
refactor: inline the compound id helper in filter-text
HendrikThePendric Sep 30, 2026
7102d32
refactor: read the title's program from programDimensions
HendrikThePendric Sep 30, 2026
e084202
refactor: separate the custom value check from its title, throw on a …
HendrikThePendric Sep 30, 2026
d5f1f0c
fix: throw when the tracked entity type is missing instead of falling…
HendrikThePendric Sep 30, 2026
aa34ac9
refactor: throw on missing dimension metadata in the filter line
HendrikThePendric Sep 30, 2026
8bc6d70
refactor: drop a redundant comment in conditions
HendrikThePendric Sep 30, 2026
55e9449
refactor: state what the visualization type listener resets
HendrikThePendric Sep 30, 2026
b052de5
chore: depend on the released @dhis2/analytics 29.8.0
HendrikThePendric Sep 30, 2026
ed474fb
chore: drop the pnpm store test exclude
HendrikThePendric Sep 30, 2026
4656034
refactor: share how a dimension's selection is described
HendrikThePendric Sep 30, 2026
49ef961
fix: build the filter line from the same input as the layout panel
HendrikThePendric Sep 30, 2026
62a38df
feat: keep hideSubtitle in step with the subtitle
HendrikThePendric Oct 1, 2026
333fa46
fix: mark fire-and-forget promises explicitly
HendrikThePendric Oct 1, 2026
63104de
Merge branch 'master' into feat/visualization-title-and-filter-line
HendrikThePendric Oct 7, 2026
89c2623
Merge remote-tracking branch 'origin/master' into feat/visualization-…
HendrikThePendric Oct 8, 2026
5f65db3
Merge branch 'master' into feat/visualization-title-and-filter-line
HendrikThePendric Oct 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 26 additions & 11 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2026-09-23T14:32:18.188Z\n"
"PO-Revision-Date: 2026-09-23T14:32:18.188Z\n"
"POT-Creation-Date: 2026-10-01T13:14:58.128Z\n"
"PO-Revision-Date: 2026-10-01T13:14:58.129Z\n"

msgid ""
"Some dimensions were not added because they cannot be used in a "
Expand Down Expand Up @@ -232,12 +232,6 @@ msgstr "Program stage: {{- stageName}}"
msgid "Grouping: {{- groupingName}}"
msgstr "Grouping: {{- groupingName}}"

msgid "Levels"
msgstr "Levels"

msgid "Groups"
msgstr "Groups"

msgid "Using: {{- itemName}} ({{- aggregationType}})"
msgstr "Using: {{- itemName}} ({{- aggregationType}})"

Expand Down Expand Up @@ -594,6 +588,12 @@ msgstr "Skip rounding"
msgid "Add a subtitle"
msgstr "Add a subtitle"

msgid "Auto generated"
msgstr "Auto generated"

msgid "Custom"
msgstr "Custom"

msgid "Add a title"
msgstr "Add a title"

Expand Down Expand Up @@ -911,9 +911,6 @@ msgstr "Min value (sum in org unit hierarchy)"
msgid "Max value (sum in org unit hierarchy)"
msgstr "Max value (sum in org unit hierarchy)"

msgid "Custom"
msgstr "Custom"

msgid "equal to (=)"
msgstr "equal to (=)"

Expand Down Expand Up @@ -1029,6 +1026,12 @@ msgstr "Enrollment status"
msgid "Registration org. unit"
msgstr "Registration org. unit"

msgid "Levels"
msgstr "Levels"

msgid "Groups"
msgstr "Groups"

msgid "Enrollment date"
msgstr "Enrollment date"

Expand Down Expand Up @@ -1303,6 +1306,18 @@ msgstr "Completed"
msgid "Scheduled"
msgstr "Scheduled"

msgid "{{- label}} count"
msgstr "{{- label}} count"

msgid "{{- label}} list"
msgstr "{{- label}} list"

msgid "Enrollments"
msgstr "Enrollments"

msgid "Events"
msgstr "Events"

msgid ""
"Track or compare changes over time. Recommend period as category. (adjust "
"for EVER)"
Expand Down
15 changes: 11 additions & 4 deletions src/components/layout-panel/axis/__tests__/grouping-chip.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@ describe('TooltipContent grouping', () => {
await renderWithAppWrapper(
<TooltipContent
dimension={dimension}
conditionsTexts={['0 - 10', '10 - 20']}
itemIds={[]}
conditions={{ legendSet: 'LEGEND_SET', condition: 'IN:L1;L2' }}
digitGroupSeparator="SPACE"
groupingName="Age 10y interval"
axisId="columns"
/>
/>,
{ metadata: { L1: '0 - 10', L2: '10 - 20' } }
)

expect(
Expand All @@ -66,7 +69,9 @@ describe('TooltipContent grouping', () => {
await renderWithAppWrapper(
<TooltipContent
dimension={dimension}
conditionsTexts={[]}
itemIds={[]}
conditions={{ legendSet: 'LEGEND_SET' }}
digitGroupSeparator="SPACE"
groupingName="Age 10y interval"
axisId="columns"
/>
Expand All @@ -84,7 +89,9 @@ describe('TooltipContent grouping', () => {
await renderWithAppWrapper(
<TooltipContent
dimension={dimension}
conditionsTexts={[]}
itemIds={[]}
conditions={{}}
digitGroupSeparator="SPACE"
axisId="columns"
/>
)
Expand Down
Loading
Loading