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:
Rūdolfs Ošiņš
2025-04-23 12:45:19 +02:00
committed by Sebastian Martinez
parent 8ebd772068
commit 301d8a6b7c
9 changed files with 61 additions and 31 deletions
+1 -1
View File
@@ -172,7 +172,7 @@
}}
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
{config}>
{#snippet headerCenter()}
<CopyableId id={config.publicKey} />
{/snippet}
+1 -4
View File
@@ -106,10 +106,7 @@
}
</style>
<Layout
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
{#snippet headerCenter()}
<CopyableId id={config.publicKey} />
{/snippet}
+1 -1
View File
@@ -115,7 +115,7 @@
}
</style>
<Layout publicKey={config.publicKey}>
<Layout {config}>
{#snippet sidebar()}
<Sidebar activeTab="issues" rid={repo.rid} />
{/snippet}
+1 -1
View File
@@ -314,7 +314,7 @@
}
</style>
<Layout publicKey={config.publicKey}>
<Layout {config}>
{#snippet headerCenter()}
<CopyableId id={issue.id} />
{/snippet}
+1 -4
View File
@@ -84,10 +84,7 @@
}
</style>
<Layout
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
{#snippet headerCenter()}
<CopyableId id={repo.rid} />
{/snippet}
+4 -3
View File
@@ -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}
+1 -1
View File
@@ -356,7 +356,7 @@
</div>
{/snippet}
<Layout loadMoreSecondColumn={loadMoreTeasers} publicKey={config.publicKey}>
<Layout loadMoreSecondColumn={loadMoreTeasers} {config}>
{#snippet headerCenter()}
<CopyableId id={patch.id} />
{/snippet}
+1 -1
View File
@@ -120,7 +120,7 @@
{loadMoreContent}
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
{config}>
{#snippet headerCenter()}
<CopyableId id={repo.rid} />
{/snippet}