Skip to content

refactor/admin-overview#154

Merged
ericwang401 merged 3 commits into
developfrom
refactor/admin-overview
May 29, 2026
Merged

refactor/admin-overview#154
ericwang401 merged 3 commits into
developfrom
refactor/admin-overview

Conversation

@ericwang401
Copy link
Copy Markdown
Collaborator

refactor of #153

ericwang401 and others added 3 commits May 28, 2026 21:22
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>
@ericwang401 ericwang401 merged commit aeb88cc into develop May 29, 2026
2 of 3 checks passed
@ericwang401 ericwang401 deleted the refactor/admin-overview branch May 29, 2026 01:44
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.

1 participant