From 531defe9869c27838a0bff38ce4868d5a0646bb9 Mon Sep 17 00:00:00 2001 From: vegard Date: Mon, 16 Mar 2026 09:18:37 +0100 Subject: [PATCH] Editor/UI: expanded bottom bar, kanban rich editor, ConvertDialog ordlyd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Editor compact mode: send/minimer-knapper flyttes til bunnrad når utvidet - KanbanBlock: bruker Editor-komponent for beskrivelse i stedet for textarea - ConvertDialog: «Opprett» i stedet for «Konverter» (meldingen beholdes) Co-Authored-By: Claude Opus 4.6 --- web/src/lib/blocks/KanbanBlock.svelte | 33 ++++------- web/src/lib/components/ConvertDialog.svelte | 4 +- web/src/lib/components/Editor.svelte | 61 ++++++++++++++------- 3 files changed, 55 insertions(+), 43 deletions(-) diff --git a/web/src/lib/blocks/KanbanBlock.svelte b/web/src/lib/blocks/KanbanBlock.svelte index f39e9db..7c19c4a 100644 --- a/web/src/lib/blocks/KanbanBlock.svelte +++ b/web/src/lib/blocks/KanbanBlock.svelte @@ -4,6 +4,7 @@ import type { KanbanConnection, KanbanColumn } from '$lib/kanban/types'; import type { MessageData } from '$lib/types/message'; import MessageBox from '$lib/components/MessageBox.svelte'; + import Editor from '$lib/components/Editor.svelte'; let { props = {} }: { props?: Record } = $props(); @@ -225,12 +226,13 @@ bind:value={editTitle} placeholder="Tittel" /> - +
+ +
diff --git a/web/src/lib/components/Editor.svelte b/web/src/lib/components/Editor.svelte index 6b606a4..7ec284b 100644 --- a/web/src/lib/components/Editor.svelte +++ b/web/src/lib/components/Editor.svelte @@ -307,27 +307,15 @@
{/if} - {#if mode === 'compact'} - - {/if} - - {#if mode === 'compact'} + + + {/if} + {#if suggestions.length > 0 && mentionPopupPos}