Restructure UX and seed a fully simulated organisation
Some checks failed
CI / Tests (push) Failing after 56s
CI / Lint (push) Failing after 1m35s

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:
2026-06-08 22:09:57 +01:00
parent 3a851db08f
commit 85c44296ac
58 changed files with 2292 additions and 847 deletions

View File

@@ -79,7 +79,9 @@ defineProps<{
<CardTitle>Repository Deploy Key</CardTitle>
<Badge
:variant="
application.deploy_key_installed_at ? 'success' : 'secondary'
application.deploy_key_installed_at
? 'success'
: 'secondary'
"
>
{{
@@ -140,8 +142,8 @@ defineProps<{
<CardTitle>Registry required before deployment</CardTitle>
<CardDescription>
This organisation has {{ deploymentRequirements.serverCount }}
servers and no registry. Multi-server deployments need a registry
so every server can pull the same build artifact.
servers and no registry. Multi-server deployments need a registry so
every server can pull the same build artifact.
</CardDescription>
</div>
<Button
@@ -310,7 +312,8 @@ defineProps<{
@click="
router.post(
route('environment-migrations.store', {
organisation: $page.props.organisation.id,
organisation:
$page.props.organisation.id,
application: application.id,
environment: environment.id,
}),
@@ -335,7 +338,8 @@ defineProps<{
@click="
router.post(
route('environment-workers.store', {
organisation: $page.props.organisation.id,
organisation:
$page.props.organisation.id,
application: application.id,
environment: environment.id,
}),
@@ -372,7 +376,9 @@ defineProps<{
>
<Badge variant="outline">{{ artifact.status }}</Badge>
<span>{{ artifact.commit_sha }}</span>
<span v-if="artifact.image_digest">{{ artifact.image_digest }}</span>
<span v-if="artifact.image_digest">{{
artifact.image_digest
}}</span>
</div>
</div>
</CardHeader>