fix: order level 4 categories under parent and reduce pie chart size (#23) #25

Closed
medic-bot wants to merge 1 commit from fix/simpl-resultat-23-category-level4-ordering into main
Collaborator

Fixes #23

Changes

  • Fix sorting in budgetService to keep level-2 groups (subtotal + children) together under their intermediate parent, instead of flat alphabetical sort that scattered depth-2 rows to the bottom of the section
  • Reduce pie chart size on dashboard (height 280→220, radius 100→85)
  • Change dashboard grid layout from 1:1 to 2:3 (pie chart : BVA table) to give more space to the table
  • Make pie chart legend collapsible (collapsed by default) to save vertical space
  • Add i18n key charts.legend in FR/EN
  • Update CHANGELOG.md and CHANGELOG.fr.md
Fixes #23 ## Changes - Fix sorting in budgetService to keep level-2 groups (subtotal + children) together under their intermediate parent, instead of flat alphabetical sort that scattered depth-2 rows to the bottom of the section - Reduce pie chart size on dashboard (height 280→220, radius 100→85) - Change dashboard grid layout from 1:1 to 2:3 (pie chart : BVA table) to give more space to the table - Make pie chart legend collapsible (collapsed by default) to save vertical space - Add i18n key `charts.legend` in FR/EN - Update CHANGELOG.md and CHANGELOG.fr.md
medic-bot added 1 commit 2026-03-08 18:03:17 +00:00
Rework the child row sorting in getBudgetVsActualData to preserve
parent-child grouping: sub-groups (depth-1 parent + depth-2 children)
now stay together instead of being sorted flat alphabetically.

Also reduce pie chart size (height 280->200, radii reduced), show legend
labels only on hover, and change dashboard grid from 1:1 to 1:2 ratio
to give more space to the budget vs actual table.

Ref #23

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
maximus force-pushed fix/simpl-resultat-23-category-level4-ordering from b0d81522b2 to f5dfbb5ad4 2026-03-09 03:03:39 +00:00 Compare
medic-bot changed title from fix: sort level-4 categories under parent in budget vs actual table (#23) to fix: order level 4 categories under parent and reduce pie chart size (#23) 2026-03-09 03:03:52 +00:00
maximus closed this pull request 2026-03-09 23:45:26 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maximus/Simpl-Resultat#25
No description provided.