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:
@@ -13,7 +13,8 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const destroyRoute = (routeAttachment: Record<string, any>): void => {
|
||||
const domain = routeAttachment.service_slice?.config?.domain ?? routeAttachment.service_slice?.name;
|
||||
const domain =
|
||||
routeAttachment.service_slice?.config?.domain ?? routeAttachment.service_slice?.name;
|
||||
|
||||
if (!window.confirm(`Remove gateway route ${domain}?`)) {
|
||||
return;
|
||||
@@ -87,7 +88,10 @@ const destroyRoute = (routeAttachment: Record<string, any>): void => {
|
||||
<div class="flex flex-wrap items-start justify-between gap-3">
|
||||
<div>
|
||||
<CardTitle>
|
||||
{{ routeAttachment.service_slice?.config?.domain ?? "Unassigned domain" }}
|
||||
{{
|
||||
routeAttachment.service_slice?.config?.domain ??
|
||||
"Unassigned domain"
|
||||
}}
|
||||
</CardTitle>
|
||||
<CardDescription>
|
||||
{{ routeAttachment.service?.name }} ·
|
||||
|
||||
Reference in New Issue
Block a user