diff --git a/app/src/lib/components/Board.svelte b/app/src/lib/components/Board.svelte
index da06d8268..6d2b5f769 100644
--- a/app/src/lib/components/Board.svelte
+++ b/app/src/lib/components/Board.svelte
@@ -1,25 +1,34 @@
{#if $activeBranchesError}
Something went wrong...
{:else if !$activeBranches}
+{:else if isSwitching}
+ switching base branch...
{:else}
Any edits auto-create a virtual branch for easy management.
+
+
+ {#if showBranchSwitch}
+ {#await getRemoteBranches(project.id)}
+ loading remote branches...
+ {:then remoteBranches}
+ {#if remoteBranches.length == 0}
+ No remote branches
+ {:else}
+
+
+
+
+ {/if}
+ {:catch}
+ No remote branches
+ {/await}
+ {:else}
+
+
+
Your current base branch is:
+
{$baseBranch.branchName}
+
+
+
+ {/if}
+
@@ -202,6 +292,12 @@
height: 100%;
}
+ .spacer {
+ display: flex;
+ flex-direction: column;
+ gap: var(--size-16);
+ }
+
.branch {
height: 100%;
}
@@ -255,6 +351,38 @@
padding-left: var(--size-4);
}
+ .branch-switcher {
+ margin-top: 8px;
+ padding: 8px;
+ background-color: #f5f5f5;
+ border-width: 1px;
+ border-color: #888888;
+ border-radius: 4px;
+ }
+
+ .branch-display {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 4px;
+ margin-bottom: 2px;
+ }
+
+ .branch-name {
+ font-weight: 600;
+ font-family: monospace;
+ }
+
+ .middle-message {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ width: 100%;
+ font-size: 2em;
+ color: #888888;
+ }
+
.empty-board__image-frame {
flex-shrink: 0;
position: relative;