diff --git a/apps/desktop/src/lib/components/IntegrateUpstreamModal.svelte b/apps/desktop/src/lib/components/IntegrateUpstreamModal.svelte index aea250ac9..4143d422e 100644 --- a/apps/desktop/src/lib/components/IntegrateUpstreamModal.svelte +++ b/apps/desktop/src/lib/components/IntegrateUpstreamModal.svelte @@ -175,10 +175,20 @@ {/if} {#if $base?.diverged} -
+
-
{$base.branchName ?? 'Unknown'}
-

Diverged

+
+ +
{$base.branchName ?? 'Unknown'}
+
+
@@ -187,7 +197,7 @@ onselect={handleBaseResolutionSelection} options={[ { label: 'Rebase', value: 'rebase' }, - // { label: 'Merge', value: 'merge' }, hide merging for now + { label: 'Merge', value: 'merge' }, { label: 'Hard reset', value: 'hardReset' } ]} > @@ -206,19 +216,39 @@ {#each statuses as { branch, status }}
-
{branch?.name || 'Unknown'}
+
+
{#if status.type === 'conflicted'} -

Conflicted

+ {:else if status.type === 'saflyUpdatable' || status.type === 'empty'} -

No Conflicts

+ {:else if status.type === 'fullyIntegrated'} -

Integrated

+ {/if}
{#if status.type === 'fullyIntegrated'} -

Changes included in base branch

+

Changes included in base branch

{:else if results.get(branch.id)}