mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-02 07:53:55 +03:00
Move settings and change vbranch label
This commit is contained in:
parent
bbcb5c12ca
commit
74a28e166a
@ -41,10 +41,10 @@
|
||||
<div class="truncate">
|
||||
<slot />
|
||||
</div>
|
||||
<div class="shrink-0">
|
||||
{#if isExternal}
|
||||
{#if isExternal}
|
||||
<div class="shrink-0">
|
||||
<IconExternalLink class="h-3.5 w-3.5" />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<a
|
||||
{href}
|
||||
class="mx-4 block rounded px-3 py-2 font-semibold"
|
||||
class="mx-4 flex items-center gap-x-1 rounded px-3 py-2 font-semibold"
|
||||
style:background-color={selected ? 'var(--bg-surface-highlight)' : undefined}
|
||||
>
|
||||
<svelte:component this={icon} class="text-color-4 mr-1 inline h-4 w-4 align-middle" />
|
||||
|
@ -5,10 +5,12 @@
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import IconEmail from '$lib/icons/IconEmail.svelte';
|
||||
import IconHome from '$lib/icons/IconHome.svelte';
|
||||
import IconSettings from '$lib/icons/IconSettings.svelte';
|
||||
import IconSpinner from '$lib/icons/IconSpinner.svelte';
|
||||
import * as events from '$lib/utils/events';
|
||||
|
||||
export let user: User | undefined;
|
||||
export let projectId: string | undefined;
|
||||
</script>
|
||||
|
||||
<div
|
||||
@ -16,15 +18,16 @@
|
||||
style:background-color="var(--bg-surface-highlight)"
|
||||
style:border-color="var(--border-surface)"
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<Link href="/" class="p-1">
|
||||
<IconHome />
|
||||
</Link>
|
||||
<div class="flex items-center gap-x-1">
|
||||
<Link href="/" class="p-1"><IconHome /></Link>
|
||||
<Tooltip label="Send feedback">
|
||||
<button class="p-1 align-middle" on:click={() => events.emit('openSendIssueModal')}>
|
||||
<IconEmail class="align-top" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
<Link href={`/${projectId}/settings`} class="p-1">
|
||||
<IconSettings />
|
||||
</Link>
|
||||
{#if $isLoading}
|
||||
<Tooltip label={loadStack.join('\n')}>
|
||||
<IconSpinner class="scale-75" />
|
||||
|
@ -53,8 +53,7 @@
|
||||
<BaseBranchCard {project} {baseBranchService} {branchController} {prService} />
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
<DomainButton href={`/${project.id}/board`} icon={IconBranch}>Active branches</DomainButton>
|
||||
<DomainButton href={`/${project.id}/settings`} icon={IconSettings}>Settings</DomainButton>
|
||||
<DomainButton href={`/${project.id}/board`} icon={IconBranch}>Applied branches</DomainButton>
|
||||
</div>
|
||||
<YourBranches {project} {branchController} {vbranchService} />
|
||||
{#if githubContext}
|
||||
@ -62,6 +61,6 @@
|
||||
{:else}
|
||||
<RemoteBranches {remoteBranchService} projectId={project.id}></RemoteBranches>
|
||||
{/if}
|
||||
<Footer {user} />
|
||||
<Footer {user} projectId={project.id} />
|
||||
<AppUpdater {update} />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user