Closed rgarcia closed 4 months ago
Introduced a cluster stats page with detailed metrics, keyboard shortcuts, and enhanced navigation for cluster monitoring.
Key points:
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Content.tsx
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Help.tsx
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Topbar.tsx
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/actions.ts
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/data.ts
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/page.tsx
apps/next/app/(cluster-detail)/layout.tsx
apps/next/app/globals.css
mustGetClerkActiveOrg
apps/next/app/server/clerk/index.ts
mustGetActiveTeam
apps/next/app/server/user/index.ts
CommandMenu
apps/next/components/CommandMenu.tsx
UserButton
apps/next/components/UserButton.tsx
LineChart
apps/next/components/charts/Line.tsx
KeySymbol
ShortcutsProvider
apps/next/components/ui/keyboard.tsx
ToggleGroup
ToggleGroupItem
apps/next/components/ui/toggle-group.tsx
Toggle
apps/next/components/ui/toggle.tsx
apps/next/lib/inngest.ts
apps/next/package.json
mgmtCluster
packages/ops/src/mgmt-cluster.ts
hetzner-cluster-provision
packages/worker/inngest/hetzner-cluster-provision.ts
Generated with :heart: by ellipsis.dev
MET-42 cluster stats
Summary:
Introduced a cluster stats page with detailed metrics, keyboard shortcuts, and enhanced navigation for cluster monitoring.
Key points:
apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Content.tsx
to display cluster metrics.apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Help.tsx
for keyboard shortcuts help dialog.apps/next/app/(cluster-detail)/dashboard/clusters/[name]/Topbar.tsx
for the top navigation bar.apps/next/app/(cluster-detail)/dashboard/clusters/[name]/actions.ts
to fetch cluster metrics.apps/next/app/(cluster-detail)/dashboard/clusters/[name]/data.ts
to interface with Prometheus for metrics data.apps/next/app/(cluster-detail)/dashboard/clusters/[name]/page.tsx
to render the cluster detail page.apps/next/app/(cluster-detail)/layout.tsx
for the cluster detail layout.apps/next/app/globals.css
to hide scrollbars and add custom styles.mustGetClerkActiveOrg
function inapps/next/app/server/clerk/index.ts
.mustGetActiveTeam
function inapps/next/app/server/user/index.ts
.CommandMenu
inapps/next/components/CommandMenu.tsx
to handle open state.UserButton
inapps/next/components/UserButton.tsx
to improve dropdown menu.LineChart
component inapps/next/components/charts/Line.tsx
for rendering line charts.KeySymbol
andShortcutsProvider
inapps/next/components/ui/keyboard.tsx
for keyboard shortcuts.ToggleGroup
andToggleGroupItem
inapps/next/components/ui/toggle-group.tsx
.Toggle
component inapps/next/components/ui/toggle.tsx
.apps/next/lib/inngest.ts
.apps/next/package.json
.mgmtCluster
function inpackages/ops/src/mgmt-cluster.ts
to include Cloudflare setup.hetzner-cluster-provision
function inpackages/worker/inngest/hetzner-cluster-provision.ts
to expose Prometheus service.Generated with :heart: by ellipsis.dev