From 6dc60307335978d679a9c7a0add1ae188d63a388 Mon Sep 17 00:00:00 2001 From: broisnees Date: Tue, 24 Nov 2026 07:26:12 +0000 Subject: [PATCH] Show only the name in the database picker's rows Every row carried its one-line description and a blue Beta chip beside the name, and thirty rows of that read as clutter. Rows are now icon and name, with Beta as muted text and a muted check on the current one; the description is the row's tooltip and still matches in search. The menu is w-72 instead of 26rem. --- .changeset/engine-picker-rows.md | 2 ++ src/lib/components/ConnectionModal.svelte | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 .changeset/engine-picker-rows.md diff --git a/.changeset/engine-picker-rows.md b/.changeset/engine-picker-rows.md new file mode 100644 index 00000000..7e5023b8 --- /dev/null +++ b/.changeset/engine-picker-rows.md @@ -0,0 +1,2 @@ +### Changes +- **A calmer database picker** - In the connection form's database menu, each row is now the engine's icon and name. The one-line descriptions moved to a hover tooltip and still match in search, and Beta is plain grey text instead of a blue badge. The menu is narrower to match. diff --git a/src/lib/components/ConnectionModal.svelte b/src/lib/components/ConnectionModal.svelte index bc7c9431..b04a4f27 100644 --- a/src/lib/components/ConnectionModal.svelte +++ b/src/lib/components/ConnectionModal.svelte @@ -4493,7 +4493,7 @@ bind:open={enginePickerOpen} items={engineItems} placeholder="Search databases…" - contentClass="w-[26rem]" + contentClass="w-72" align="start" onselect={(it) => pickEngine(it.value)} > @@ -4513,23 +4513,23 @@ {editingId ? name || activeDriver.label : activeDriver.label} {#if activeDriver.beta} - Beta + Beta {/if} {/snippet} {#snippet item(it)} - - {it.label} + + {it.label} {#if it.beta} - Beta + Beta {/if} - {it.desc} {#if it.value === dbType} - + {/if} {/snippet}