feat(webui): repositories list is an accordion; adding opens the new one and waits for save

This commit is contained in:
sam committed 2026-10-13 19:04:14 +11:00
1 parent 60307b31fd
commit 45a97c2385
5 files changed
+86 -74

No files matched your search

@@ -19,7 +19,7 @@ defineEmits<{ change: [] }>();
<template>
<div class="flex flex-col gap-1.5">
<div class="flex h-9 items-center gap-2 rounded-md border border-input bg-background px-3 font-mono text-[13px]">
<div class="flex h-8 items-center gap-2 rounded-lg border border-input bg-card px-2.5 font-mono text-[13px]">
<Lock class="size-3.5 shrink-0 text-muted-foreground" aria-hidden="true" />
<span class="text-muted-foreground">{{ engine }}</span>
<span class="text-muted-foreground" aria-hidden="true">/</span>
@@ -16,7 +16,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
<template>
<TagsInputRoot
v-slot="slotProps" v-bind="forwarded" :class="cn(
'flex flex-wrap gap-2 items-center rounded-md border border-input bg-background px-2 py-1 text-sm shadow-xs transition-[color,box-shadow] outline-none',
'flex flex-wrap gap-2 items-center rounded-lg border border-input bg-card px-2.5 py-1 text-sm transition-[color,box-shadow] outline-none',
'focus-within:border-ring focus-within:ring-ring/50 focus-within:ring-3',
'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',
props.class)"