diff --git a/packages/web/src/commands/CommandPalette.svelte b/packages/web/src/commands/CommandPalette.svelte index 7b9fa7a8c..9e04dbe37 100644 --- a/packages/web/src/commands/CommandPalette.svelte +++ b/packages/web/src/commands/CommandPalette.svelte @@ -164,109 +164,175 @@ }} data-testid='CommandPalette_main' > -
-
{ - $visibleCommandPalette = 'menu'; - domInput.focus(); - }} - > - Commands +
{ + $visibleCommandPalette = null; + }} + /> +
+
+
{ + $visibleCommandPalette = 'menu'; + domInput.focus(); + }} + > + Commands +
+
{ + $visibleCommandPalette = 'database'; + domInput.focus(); + }} + > + Database +
-
{ - $visibleCommandPalette = 'database'; - domInput.focus(); - }} - > - Database -
-
-
- -
- {#each filteredItems as command, index} -
handleCommand(command)} - bind:this={domItems[index]} - > -
- {#if command.icon} - +
+ +
+ {#each filteredItems as command, index} +
handleCommand(command)} + bind:this={domItems[index]} + > +
+ {#if command.icon} + + {/if} + {@html command.text} +
+ {#if command.keyText} +
{formatKeyText(command.keyText)}
{/if} - {@html command.text}
- {#if command.keyText} -
{formatKeyText(command.keyText)}
- {/if} -
- {/each} + {/each} +