Compare commits

..

6 commits

Author SHA1 Message Date
99aa8969f0
Update docs and guidelines for statistics feature
All checks were successful
continuous-integration/drone/push Build is passing
- CODE_GUIDELINES.md and feature-roadmap.md
- Add statistics-page-implementation-plan.md
2026-02-10 22:44:36 +01:00
76b8d9e30e
Update gettext: extract and add DE/EN for statistics strings 2026-02-10 22:44:28 +01:00
82b9ef282f
Pass actor through CycleGenerator so seeds can use admin
- get_actor(opts): use opts[:actor] or system actor
- load_member, do_generate_cycles, create_cycles pass opts
- Seeds pass admin_user_with_role for Ash.load! and cycle updates
2026-02-10 22:44:24 +01:00
9ac275203c
Add StatisticsLive: overview, bars by year, pie chart
- Summary cards: active/inactive members, open amount
- Joins and exits by year (horizontal bars)
- Contributions by year: table with stacked bar above amounts
- Column order: Paid, Unpaid, Suspended, Total; color dots for legend
- All years combined pie chart
- LiveView tests
2026-02-10 22:44:19 +01:00
cc59a40a1b
Add statistics route, permissions, and sidebar entry
- /statistics route and PagePaths.statistics
- Permission sets: viewer and admin can access /statistics
- Sidebar link with can_access_page check
- Plug and sidebar tests updated
2026-02-10 22:44:13 +01:00
b26d66aa93
Add Statistics module for member and cycle aggregates
- first_join_year, active/inactive counts, joins/exits by year
- cycle_totals_by_year, open_amount_total
- Unit tests for Statistics
2026-02-10 22:44:07 +01:00

Diff content is not available