feat(dashboard): add cPanel-style server info bar and bump to v0.4.4

Adds a compact info strip at the top of the NixPanel dashboard showing
Username, Hostname, OS, NixPanel Version, Load Averages (live via
WebSocket), and Server Monitoring alert count. Alert count is derived
from GET /api/nixserver/services — green "All Clear" when all services
are running, amber "N Alerts" for any stopped/failed service.

Also fixes the version footer error state in Layout.tsx (versionError
→ "Version unavailable" fallback with retry button) so the spinner no
longer hangs indefinitely when the version API is unreachable.
This commit is contained in:
NixReaper
2026-04-11 14:13:43 -05:00
parent 47ce924a90
commit 146c17abd8
5 changed files with 110 additions and 14 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export async function buildApp() {
fastify.get('/api/health', async () => ({
status: 'ok',
version: '0.4.3',
version: '0.4.4',
timestamp: new Date().toISOString(),
}))