mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Add a little explainer to the Online/Offline button
Also move the avatar and alias into the popover, and replace the home icon.
This commit is contained in:
committed by
Sebastian Martinez
parent
8ebd772068
commit
301d8a6b7c
@@ -172,7 +172,7 @@
|
||||
}}
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
{config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={config.publicKey} />
|
||||
{/snippet}
|
||||
|
||||
@@ -106,10 +106,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={config.publicKey} />
|
||||
{/snippet}
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout publicKey={config.publicKey}>
|
||||
<Layout {config}>
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab="issues" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout publicKey={config.publicKey}>
|
||||
<Layout {config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={issue.id} />
|
||||
{/snippet}
|
||||
|
||||
@@ -84,10 +84,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import type { Config } from "@bindings/config/Config";
|
||||
import type { Snippet } from "svelte";
|
||||
|
||||
import { onMount } from "svelte";
|
||||
@@ -32,7 +33,7 @@
|
||||
|
||||
interface Props {
|
||||
children: Snippet;
|
||||
publicKey: string;
|
||||
config: Config;
|
||||
headerCenter?: Snippet;
|
||||
secondColumn: Snippet;
|
||||
sidebar?: Snippet;
|
||||
@@ -44,7 +45,7 @@
|
||||
|
||||
const {
|
||||
children,
|
||||
publicKey,
|
||||
config,
|
||||
headerCenter = undefined,
|
||||
secondColumn,
|
||||
sidebar = undefined,
|
||||
@@ -132,7 +133,7 @@
|
||||
|
||||
<div class="layout">
|
||||
<div class="header">
|
||||
<Header {publicKey} center={headerCenter}></Header>
|
||||
<Header {config} center={headerCenter}></Header>
|
||||
</div>
|
||||
|
||||
{#if sidebar}
|
||||
|
||||
@@ -356,7 +356,7 @@
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
<Layout loadMoreSecondColumn={loadMoreTeasers} publicKey={config.publicKey}>
|
||||
<Layout loadMoreSecondColumn={loadMoreTeasers} {config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={patch.id} />
|
||||
{/snippet}
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
{loadMoreContent}
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
{config}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
Reference in New Issue
Block a user