WIP - search with AI

This commit is contained in:
Francisco Gaona
2026-01-13 10:44:38 +01:00
parent 47fa72451d
commit 9dcedcdf69
7 changed files with 698 additions and 54 deletions

View File

@@ -23,6 +23,7 @@ interface Props {
selectable?: boolean
baseUrl?: string
totalCount?: number
searchSummary?: string
}
const props = withDefaults(defineProps<Props>(), {
@@ -30,6 +31,7 @@ const props = withDefaults(defineProps<Props>(), {
loading: false,
selectable: false,
baseUrl: '/runtime/objects',
searchSummary: '',
})
const emit = defineEmits<{
@@ -172,6 +174,9 @@ watch(
@keyup.enter="handleSearch"
/>
</div>
<p v-if="searchSummary" class="mt-2 text-xs text-muted-foreground">
{{ searchSummary }}
</p>
</div>
<div class="flex items-center gap-2">