Skip to content

Commit 29d1571

Browse files
feat: Add 'no repositories found' message with icon in repo selection
1 parent c694c22 commit 29d1571

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 1 addition & 0 deletions
Loading

ui/app/components/ui/graph/node/utils/github/repoSelect.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,14 @@ watch(selectedSource, (newSource, oldSource) => {
213213

214214
<div
215215
v-else
216-
class="text-soft-silk/50 relative cursor-default px-4 py-2 select-none"
216+
class="text-soft-silk/40 flex flex-col items-center justify-center gap-2
217+
px-4 py-8"
217218
>
218-
Nothing found.
219+
<UiIcon name="MaterialSymbolsSearchOff" class="h-6 w-6" />
220+
<p class="text-sm font-medium">No repositories found</p>
221+
<p class="text-soft-silk/30 text-xs">
222+
Try adjusting your search or switching providers
223+
</p>
219224
</div>
220225
</HeadlessComboboxOptions>
221226
</HeadlessTransitionRoot>

0 commit comments

Comments
 (0)