From 43a66350f21fd392a1363b5ace8337e28f14e0cb Mon Sep 17 00:00:00 2001 From: Patrick Demichiel Date: Tue, 10 Nov 2026 21:25:22 +0100 Subject: [PATCH 1/2] fix: keep MIDI input pills from running under Refresh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The device pills in Settings → MIDI were whitespace-nowrap inside a min-w-0 list, so in a narrow sidebar the list shrank below a long name (Linux's "Midi Through Port-0") and the pill spilled out under the Refresh button. A pill is now capped at the list's width and ellipsizes its name, with the full name in a tooltip. Closes #28 --- ui/src/features/settings/MidiSettingsPanel.svelte | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ui/src/features/settings/MidiSettingsPanel.svelte b/ui/src/features/settings/MidiSettingsPanel.svelte index 9ab3d7f..89ce5d8 100644 --- a/ui/src/features/settings/MidiSettingsPanel.svelte +++ b/ui/src/features/settings/MidiSettingsPanel.svelte @@ -11,6 +11,7 @@ triggerOf, } from '../../lib/engine/midi'; import Button from '../../lib/components/Button.svelte'; + import { tooltip } from '../../lib/components/tooltip.svelte'; import { RIG_SHORTCUT_KEYS, SCENE_SHORTCUT_KEYS } from '../rack/shortcutKeys'; interface Props { @@ -359,15 +360,20 @@ aria-labelledby="midi-inputs-label" > {#if devices.length > 0} + {#each devices as device (device)} - {device} + {device} {/each} {:else} From 0e6b5a9882a9480a68ab95aa58d7e0b75f29bb01 Mon Sep 17 00:00:00 2001 From: Patrick Demichiel Date: Tue, 10 Nov 2026 21:27:09 +0100 Subject: [PATCH 2/2] fix: give MIDI input names the strip's full width instead of truncating Ellipsizing kept the pills off Refresh but cut ordinary names like "Midi Through Port-0" short in the default sidebar width. The Inputs label and Refresh now share a header row and the pills sit on their own line beneath it, so names get the whole strip; one too long even for that wraps inside its pill rather than being clipped. Refs #28 --- .../settings/MidiSettingsPanel.svelte | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/ui/src/features/settings/MidiSettingsPanel.svelte b/ui/src/features/settings/MidiSettingsPanel.svelte index 89ce5d8..37cff65 100644 --- a/ui/src/features/settings/MidiSettingsPanel.svelte +++ b/ui/src/features/settings/MidiSettingsPanel.svelte @@ -11,7 +11,6 @@ triggerOf, } from '../../lib/engine/midi'; import Button from '../../lib/components/Button.svelte'; - import { tooltip } from '../../lib/components/tooltip.svelte'; import { RIG_SHORTCUT_KEYS, SCENE_SHORTCUT_KEYS } from '../rack/shortcutKeys'; interface Props { @@ -347,33 +346,44 @@ MIDI arrives from your DAW's track routing.

{:else} +
- Inputs +
+ Inputs + +
{#if devices.length > 0} - {#each devices as device (device)} + - {device} + {device} {/each} {:else} @@ -382,13 +392,6 @@ > {/if}
-
{/if}