mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
Improve UI for stashed branch header
This commit is contained in:
parent
e9bb16488f
commit
2548ced85c
@ -56,25 +56,27 @@
|
||||
>
|
||||
<span class="purple"> Apply </span>
|
||||
</Button>
|
||||
<IconButton
|
||||
icon="cross"
|
||||
title="delete branch"
|
||||
on:click={() => deleteBranchModal.show(branch)}
|
||||
/>
|
||||
{#await branch.isMergeable then isMergeable}
|
||||
{#if !isMergeable}
|
||||
<Tooltip
|
||||
timeoutMilliseconds={100}
|
||||
label="Applying this branch will add merge conflict markers that you will have to resolve"
|
||||
>
|
||||
<div
|
||||
class="flex cursor-default select-none rounded bg-yellow-300 px-2 py-0.5 dark:bg-yellow-800"
|
||||
<div class="flex items-center">
|
||||
{#await branch.isMergeable then isMergeable}
|
||||
{#if !isMergeable}
|
||||
<Tooltip
|
||||
timeoutMilliseconds={100}
|
||||
label="Applying this branch will add merge conflict markers that you will have to resolve"
|
||||
>
|
||||
Conflicts with Applied Branches
|
||||
</div>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
{/await}
|
||||
<div
|
||||
class="flex cursor-default select-none rounded bg-yellow-300 px-2 py-0.5 dark:bg-yellow-800"
|
||||
>
|
||||
Conflicts with Applied Branches
|
||||
</div>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
{/await}
|
||||
<IconButton
|
||||
icon="cross"
|
||||
title="delete branch"
|
||||
on:click={() => deleteBranchModal.show(branch)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-full">
|
||||
<BranchLane
|
||||
|
Loading…
Reference in New Issue
Block a user