base branch peek tray - call local commits local

This commit is contained in:
Kiril Videlov 2023-08-24 09:59:44 +02:00 committed by Kiril Videlov
parent 91647507b0
commit 3a85c50bcb
2 changed files with 7 additions and 1 deletions

View File

@ -51,8 +51,13 @@
{/each}
</div>
</div>
<div
class="h-px w-full border-none bg-gradient-to-r from-transparent via-light-500 to-transparent dark:via-dark-400"
/>
{/if}
<h1 class="font-bold text-light-700 dark:text-dark-100">Recent</h1>
<Tooltip label="This is the current base for your virtual branches.">
<h1 class="font-bold text-light-700 dark:text-dark-100">Local</h1>
</Tooltip>
<div class="flex flex-col gap-y-2">
{#each base.recentCommits as commit}
<CommitCard url={base.commitUrl(commit.id)} {commit} />

View File

@ -9,6 +9,7 @@
import BaseBranchPeek from './BaseBranchPeek.svelte';
import RemoteBranchPeek from './RemoteBranchPeek.svelte';
import Resizer from '$lib/components/Resizer.svelte';
import { Tooltip } from '$lib/components';
export let item: Readable<BranchData | Branch | BaseBranch | undefined> | undefined;
export let base: BaseBranch | undefined;