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.
20 lines
542 B
Vue
20 lines
542 B
Vue
<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>
|