fix: order level-4 categories under parent and reduce pie chart space (#23) #26
No reviewers
Labels
No labels
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/Simpl-Resultat#26
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/simpl-resultat-23-category-ordering"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #23
Summary
budgetService.tsso that depth-2 categories (e.g. assurance-maison) stay grouped under their intermediate depth-1 parent (e.g. assurance) instead of appearing at the bottom of the section. The sort now correctly handles intermediate parent grouping at all levels.Files changed
src/services/budgetService.ts— hierarchical sort fix for parent-child groupingsrc/pages/DashboardPage.tsx— grid layout adjustment (1fr / 2fr)src/components/dashboard/CategoryPieChart.tsx— smaller chart, collapsible legendsrc/i18n/locales/fr.json/en.json— addedcharts.legendkeyCHANGELOG.md/CHANGELOG.fr.md— changelog entriesTest plan
Pull request closed