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:
@@ -143,8 +143,10 @@ const destroyVariable = (variable: Record<string, any>): void => {
|
||||
>
|
||||
{{ variable.key }}
|
||||
</Link>
|
||||
<Badge :variant="variable.source === 'user' ? 'secondary' : 'outline'">
|
||||
{{ variable.source.replace('_', ' ') }}
|
||||
<Badge
|
||||
:variant="variable.source === 'user' ? 'secondary' : 'outline'"
|
||||
>
|
||||
{{ variable.source.replace("_", " ") }}
|
||||
</Badge>
|
||||
<Badge v-if="!variable.overridable" variant="outline">locked</Badge>
|
||||
<Badge variant="outline">secret</Badge>
|
||||
@@ -159,7 +161,11 @@ const destroyVariable = (variable: Record<string, any>): void => {
|
||||
<Button
|
||||
size="iconxs"
|
||||
variant="ghost"
|
||||
:aria-label="isRevealed(variable) ? `Hide ${variable.key}` : `Reveal ${variable.key}`"
|
||||
:aria-label="
|
||||
isRevealed(variable)
|
||||
? `Hide ${variable.key}`
|
||||
: `Reveal ${variable.key}`
|
||||
"
|
||||
@click="toggleReveal(variable)"
|
||||
>
|
||||
<EyeOffIcon v-if="isRevealed(variable)" class="size-3" />
|
||||
|
||||
Reference in New Issue
Block a user