Skip to content

feat: add financial dashboard screen#978

Merged
TaprootFreak merged 7 commits intodevelopfrom
feature/financial-dashboard
Mar 19, 2026
Merged

feat: add financial dashboard screen#978
TaprootFreak merged 7 commits intodevelopfrom
feature/financial-dashboard

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Add admin-only /dashboard/financial/log screen with 4 ApexCharts and a financial log table
  • Charts: long-term balance vs BTC price (dual-axis line), short-term balance breakdown (multi-series line), stacked area by financial type, latest snapshot bar chart
  • Fetches data via 2 parallel API calls (daily-sampled long-term + minute-level last 7 days)
  • Uses nested route structure (dashboard/financial/log) for future dashboard expansion

Test plan

  • Navigate to /dashboard/financial/log as admin user — all 4 charts render with data
  • Verify log table shows timestamps and CHF balances in descending order
  • Verify non-admin users are redirected to /
  • Verify loading spinner appears while data is fetching

Add admin-only /dashboard/financial/log screen with 4 ApexCharts
(long-term balance vs BTC, short-term breakdown, stacked area by
financial type, latest bar chart) and a financial log table.

Uses nested route structure for future dashboard expansion.
…penses pages

- /live: summary cards + balance by type bar chart
- /history: cumulative fee income (plus/minus/total), balance charts with details button
- /liquidity: stacked bar chart by provider with asset breakdown
- /expenses: detailed referral, binance, blockchain expense charts
- Fix auth race condition: wait for isLoggedIn before API calls
- Fix white-on-white text color issue
- Split all combined charts into separate plus/minus/total views
- Aggregate small values (<5k CHF) under "Other" category
- Move legends to bottom, fix toolbar overlap
@TaprootFreak TaprootFreak merged commit 992adde into develop Mar 19, 2026
6 checks passed
@TaprootFreak TaprootFreak deleted the feature/financial-dashboard branch March 19, 2026 16:45
TaprootFreak added a commit that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants