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:
19
resources/js/components/environments/SpecRow.vue
Normal file
19
resources/js/components/environments/SpecRow.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
icon?: object | Function;
|
||||
label: string;
|
||||
value?: string | number | null;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex items-center justify-between gap-3 text-sm">
|
||||
<span class="flex items-center gap-2 text-muted-foreground">
|
||||
<component :is="icon" v-if="icon" class="size-4 opacity-70" />
|
||||
{{ label }}
|
||||
</span>
|
||||
<span class="truncate text-right font-medium">
|
||||
<slot>{{ value ?? "—" }}</slot>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user