Commit Graph
6 Commits
Author SHA1 Message Date
asepharyana e528b6a726 feat: update linter rules and improve code structure
- Added overrides in biome.json to disable specific linter rules for UI components.
- Reorganized imports and improved code readability in various UI components.
- Refactored components to use fieldset instead of div for better semantics.
- Enhanced accessibility by updating roles and aria attributes in components.
- Fixed minor issues with key props in map functions for better performance.
- Updated focus styles and improved CSS for better visual feedback.
2026-07-23 17:05:08 +07:00
asepharyanaandClaude Opus 4.8 d94524b70d refactor(hub): migrate dashboard to shadcn components
Replace manual CSS classes with shadcn Card, CardHeader, CardTitle,
CardContent, and Badge components. Remove inline <style> block —
use Tailwind utility classes via shadcn theme tokens. Add Biome
formatting across all components.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 12:19:43 +07:00
asepharyana d793ebf9b4 fix: correct Traefik latency metric name 2026-07-23 07:57:54 +07:00
asepharyana f0bbd13be9 fix: promRange type error — optional chaining 2026-07-23 07:52:18 +07:00
asepharyanaandClaude Opus 4.8 d14ed70240 feat: add Traefik metrics to dashboard API and sparkline charts
- Add promRange() for time-series data from Prometheus
- Query Traefik metrics: RPS, latency, error rate
- Dashboard page shows 4 sparkline charts (RPS, latency, errors, traces)
- Charts render inline SVG with auto-refresh every 15s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 07:44:52 +07:00
asepharyanaandClaude Opus 4.8 72f4759f8b feat: rewrite dashboard as Next.js pages
- Remove Go dashboard (replaced by Next.js)
- Add API route /api/dashboard: Docker container list, Jaeger
  traces, Prometheus metrics, node resources
- Add /dashboard page: React client component with inline SVG
  charts (donut, sparkline, gauge), auto-refresh every 15s
- Same dark theme as original Go dashboard

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 06:55:25 +07:00