12 Commits

Author SHA1 Message Date
Eric Wang
44279c5069 feat: remove meaningless overview card subtext 2026-05-28 21:40:17 -04:00
Eric Wang
8e1729ec6f feat: add admin overview dashboard with metrics endpoint
Adds /api/admin/overview returning cached aggregate metrics for servers,
nodes, capacity, addresses, backups, and ISOs, plus a refreshed admin
dashboard UI consuming it via SWR.

Refactored from #153:
- Split OverviewService into focused per-section methods over a single
  orchestrator, dropping the monolithic freshMetrics()
- Dropped the recent-activity panel and supporting index migration —
  ActivityLog has no writers in the codebase, so the panel always
  rendered empty
- Removed the 999.99 percent cap; overallocation is a legitimate state
  and the frontend already clamps bar width
- Added capacity byte-conversion and restoring-bucket test cases

Co-Authored-By: Ajdin <AjdinDev@users.noreply.github.com>
2026-05-28 21:22:40 -04:00
Eric Wang
311aa04c0a optimize frontend imports & complete migration admin node page migration from store context to SWR 2023-11-06 04:41:30 +00:00
Eric Wang
5889d1abb9 optimize imports project-wide 2023-11-06 04:20:25 +00:00
Eric Wang
3eb076967c organize imports in the front end 2023-11-06 04:12:03 +00:00
Eric Wang
aebdf693eb refactor create server modal 2023-05-15 04:34:42 +00:00
Eric Wang
3f699db9c4 fix routes and add version number 2023-01-21 17:59:11 +00:00
Eric Wang
bf38323c85 Add location 2022-12-15 05:47:17 +00:00
Eric Wang
c18f96cca2 Add locations 2022-12-11 04:04:12 +00:00
Eric Wang
5844fd0c37 Add table 2022-12-05 00:09:12 +00:00
Eric Wang
e6280f1403 add table 2022-12-04 03:01:15 +00:00
Eric Wang
a107044e8a Add admin boilerplate 2022-12-03 23:35:13 +00:00