feat: Dashboard — snapshot widget and backup trend chart #61

Closed
opened 2026-06-21 16:50:12 +00:00 by jmiller · 0 comments
Owner

Summary

Enhance the dashboard with:

Snapshot Widget

  • Show latest snapshot date, type, and item counts
  • Quick "Create Snapshot" button
  • Link to snapshots view

Backup Trend Chart

  • Simple bar/line chart showing backup sizes over the last 30 days
  • Color-code by success/failure
  • Uses lightweight inline SVG or CSS-only bars (no JS charting library needed)

Storage Breakdown

  • Pie chart or stacked bar showing storage by profile
  • Helps identify which profiles consume the most disk space

Files

  • src/Model/DashboardModel.php — add snapshot stats and trend data queries
  • src/View/Dashboard/HtmlView.php — pass snapshot data to template
  • tmpl/dashboard/default.php — add snapshot card and trend visualization
## Summary Enhance the dashboard with: ### Snapshot Widget - Show latest snapshot date, type, and item counts - Quick "Create Snapshot" button - Link to snapshots view ### Backup Trend Chart - Simple bar/line chart showing backup sizes over the last 30 days - Color-code by success/failure - Uses lightweight inline SVG or CSS-only bars (no JS charting library needed) ### Storage Breakdown - Pie chart or stacked bar showing storage by profile - Helps identify which profiles consume the most disk space ## Files - `src/Model/DashboardModel.php` — add snapshot stats and trend data queries - `src/View/Dashboard/HtmlView.php` — pass snapshot data to template - `tmpl/dashboard/default.php` — add snapshot card and trend visualization
jmiller added the component: admin label 2026-06-21 16:50:12 +00:00
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteBackup#61