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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user