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:
@@ -24,7 +24,9 @@ defineProps<{
|
||||
? [
|
||||
{
|
||||
title: 'Applications',
|
||||
href: route('applications.index', { organisation: $page.props.organisation.id }),
|
||||
href: route('applications.index', {
|
||||
organisation: $page.props.organisation.id,
|
||||
}),
|
||||
},
|
||||
{
|
||||
title: application.name,
|
||||
@@ -45,7 +47,9 @@ defineProps<{
|
||||
: [
|
||||
{
|
||||
title: 'Servers',
|
||||
href: route('servers.index', { organisation: $page.props.organisation.id }),
|
||||
href: route('servers.index', {
|
||||
organisation: $page.props.organisation.id,
|
||||
}),
|
||||
},
|
||||
{
|
||||
title: server?.name ?? 'Server',
|
||||
@@ -197,7 +201,9 @@ defineProps<{
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>Endpoints</CardTitle>
|
||||
<CardDescription>Network endpoints registered for this service.</CardDescription>
|
||||
<CardDescription
|
||||
>Network endpoints registered for this service.</CardDescription
|
||||
>
|
||||
</CardHeader>
|
||||
<CardContent class="grid gap-2">
|
||||
<div
|
||||
@@ -225,20 +231,28 @@ defineProps<{
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>Compose</CardTitle>
|
||||
<CardDescription>Generated artifact location on the target server.</CardDescription>
|
||||
<CardDescription
|
||||
>Generated artifact location on the target server.</CardDescription
|
||||
>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<pre class="overflow-x-auto rounded-md bg-muted p-3 text-xs">/home/keystone/services/{{ service.id }}/compose.yml</pre>
|
||||
<pre class="overflow-x-auto rounded-md bg-muted p-3 text-xs">
|
||||
/home/keystone/services/{{ service.id }}/compose.yml</pre
|
||||
>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<Card v-if="service.type === 'caddy'">
|
||||
<CardHeader>
|
||||
<CardTitle>Caddyfile</CardTitle>
|
||||
<CardDescription>Gateway route configuration generated on the server.</CardDescription>
|
||||
<CardDescription
|
||||
>Gateway route configuration generated on the server.</CardDescription
|
||||
>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<pre class="overflow-x-auto rounded-md bg-muted p-3 text-xs">/home/keystone/gateway/Caddyfile</pre>
|
||||
<pre class="overflow-x-auto rounded-md bg-muted p-3 text-xs">
|
||||
/home/keystone/gateway/Caddyfile</pre
|
||||
>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user