From 950f83b2e983159dc1485d9cffd9351086fe2628 Mon Sep 17 00:00:00 2001 From: Brandon Oxendine Date: Tue, 6 Oct 2026 16:11:22 +0200 Subject: [PATCH] Move issue metadata buttons into action row In the new issue modal, "Add labels" and "Add assignees" sat on their own row between the description and the action buttons. They now sit at the left of the action row, opposite Attach, Preview and Save. --- src/components/ExtendedTextarea.svelte | 8 ++-- src/modals/CreateIssue.svelte | 55 +++++++++++--------------- 2 files changed, 29 insertions(+), 34 deletions(-) diff --git a/src/components/ExtendedTextarea.svelte b/src/components/ExtendedTextarea.svelte index facfe57df..fc529430c 100644 --- a/src/components/ExtendedTextarea.svelte +++ b/src/components/ExtendedTextarea.svelte @@ -62,7 +62,8 @@ hideDiscard?: boolean; // If true, the whole actions row stays hidden until the body has content. collapseActions?: boolean; - belowTextarea?: Snippet; + // Rendered at the start of the actions row, opposite the buttons. + leadingActions?: Snippet; } /* eslint-disable prefer-const */ @@ -93,7 +94,7 @@ disableAttachments: attachDisabled = false, hideDiscard = false, collapseActions = false, - belowTextarea, + leadingActions, }: Props = $props(); /* eslint-enable prefer-const */ @@ -309,6 +310,7 @@ } .buttons { display: flex; + align-self: flex-start; margin-left: auto; gap: 0.5rem; } @@ -481,9 +483,9 @@ {/if} {/if} - {@render belowTextarea?.()} {#if !collapseActions || body.trim() !== ""}
+ {@render leadingActions?.()} {#if !hideDiscard}