From e7d6a6e4f49bf16b7208f7233ef21d44180599dc Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Tue, 8 Sep 2026 08:32:58 +0200 Subject: [PATCH] feat(ui): revamp line patch dialog and add merge progress notice Revamp the line patch dialog to improve usability and clarity. Improve accessibility and German/English localization for UI text. Add toolbar, hunk navigation, per-line checkbox selection and footer. Extract merge-in-progress UI into a reusable merge progress notice. - Replace selection UI with checkboxes, range selection, and counts - Add hunk navigation, active-hunk tracking, and scroll synchronization - Extract merge-in-progress UI into a reusable notice component --- src/App.svelte | 9 +- src/lib/components/LinePatchDialog.svelte | 193 ++++----- src/lib/components/MergeProgressNotice.svelte | 30 ++ src/lib/components/ResolveDialog.svelte | 406 ++++++------------ 4 files changed, 244 insertions(+), 394 deletions(-) create mode 100644 src/lib/components/MergeProgressNotice.svelte diff --git a/src/App.svelte b/src/App.svelte index a24b505..6bfa1da 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -29,6 +29,7 @@ import ExplorerPanel from "./lib/components/ExplorerPanel.svelte"; import HistoryPanel from "./lib/components/HistoryPanel.svelte"; import InitRepositoryDialog from "./lib/components/InitRepositoryDialog.svelte"; + import MergeProgressNotice from "./lib/components/MergeProgressNotice.svelte"; import MergeBranchDialog from "./lib/components/MergeBranchDialog.svelte"; import NewBranchDialog from "./lib/components/NewBranchDialog.svelte"; import RenameBranchDialog from "./lib/components/RenameBranchDialog.svelte"; @@ -5500,13 +5501,7 @@ {/if} {#if workspaceActive && mergeInProgress} -
-
+ {:else if workspaceActive && hasConflicts && !rebaseInProgress && !cherryPickInProgress}