Restructure UX and seed a fully simulated organisation
Rework the dashboard, environment topology view, header navigation, and status rendering, and standardise selects on a shadcn-vue component. Replace the thin database seeder with a SimulatedEnvironmentSeeder that builds a fully wired, mostly-running organisation (ACTIVE server fleet, managed + GHCR registries, Gitea source provider, ClipBin app with production/staging environments, services, slices, endpoints, managed variables, build artifacts, and a completed/in-progress/failed operations history) so the new UI renders against realistic data.
This commit is contained in:
@@ -153,20 +153,30 @@ const destroyResource = (url: string, label: string): void => {
|
||||
<Card class="mt-4">
|
||||
<CardHeader>
|
||||
<CardTitle>Health</CardTitle>
|
||||
<CardDescription>Aggregate signals across this organisation.</CardDescription>
|
||||
<CardDescription
|
||||
>Aggregate signals across this organisation.</CardDescription
|
||||
>
|
||||
</CardHeader>
|
||||
<CardContent class="grid gap-3 md:grid-cols-3">
|
||||
<div class="rounded-md border p-3">
|
||||
<div class="text-2xl font-semibold">{{ health.unhealthy_services }}</div>
|
||||
<div class="text-2xl font-semibold">
|
||||
{{ health.unhealthy_services }}
|
||||
</div>
|
||||
<div class="text-sm text-muted-foreground">Unhealthy services</div>
|
||||
</div>
|
||||
<div class="rounded-md border p-3">
|
||||
<div class="text-2xl font-semibold">{{ health.failed_operations }}</div>
|
||||
<div class="text-2xl font-semibold">
|
||||
{{ health.failed_operations }}
|
||||
</div>
|
||||
<div class="text-sm text-muted-foreground">Failed operations</div>
|
||||
</div>
|
||||
<div class="rounded-md border p-3">
|
||||
<div class="text-2xl font-semibold">{{ health.locked_variables }}</div>
|
||||
<div class="text-sm text-muted-foreground">Environments with locked variables</div>
|
||||
<div class="text-2xl font-semibold">
|
||||
{{ health.locked_variables }}
|
||||
</div>
|
||||
<div class="text-sm text-muted-foreground">
|
||||
Environments with locked variables
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user