Revert "Add a little explainer to the Online/Offline button"

This reverts commit 301d8a6b7c.
This commit is contained in:
Rūdolfs Ošiņš
2025-04-25 08:43:19 +02:00
parent 301d8a6b7c
commit e13ffec559
9 changed files with 31 additions and 61 deletions
+1 -1
View File
@@ -172,7 +172,7 @@
}}
hideSidebar
styleSecondColumnOverflow="visible"
{config}>
publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={config.publicKey} />
{/snippet}
+4 -1
View File
@@ -106,7 +106,10 @@
}
</style>
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
<Layout
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={config.publicKey} />
{/snippet}
+1 -1
View File
@@ -115,7 +115,7 @@
}
</style>
<Layout {config}>
<Layout publicKey={config.publicKey}>
{#snippet sidebar()}
<Sidebar activeTab="issues" rid={repo.rid} />
{/snippet}
+1 -1
View File
@@ -314,7 +314,7 @@
}
</style>
<Layout {config}>
<Layout publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={issue.id} />
{/snippet}
+4 -1
View File
@@ -84,7 +84,10 @@
}
</style>
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
<Layout
hideSidebar
styleSecondColumnOverflow="visible"
publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={repo.rid} />
{/snippet}
+3 -4
View File
@@ -24,7 +24,6 @@
</script>
<script lang="ts">
import type { Config } from "@bindings/config/Config";
import type { Snippet } from "svelte";
import { onMount } from "svelte";
@@ -33,7 +32,7 @@
interface Props {
children: Snippet;
config: Config;
publicKey: string;
headerCenter?: Snippet;
secondColumn: Snippet;
sidebar?: Snippet;
@@ -45,7 +44,7 @@
const {
children,
config,
publicKey,
headerCenter = undefined,
secondColumn,
sidebar = undefined,
@@ -133,7 +132,7 @@
<div class="layout">
<div class="header">
<Header {config} center={headerCenter}></Header>
<Header {publicKey} center={headerCenter}></Header>
</div>
{#if sidebar}
+1 -1
View File
@@ -356,7 +356,7 @@
</div>
{/snippet}
<Layout loadMoreSecondColumn={loadMoreTeasers} {config}>
<Layout loadMoreSecondColumn={loadMoreTeasers} publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={patch.id} />
{/snippet}
+1 -1
View File
@@ -120,7 +120,7 @@
{loadMoreContent}
hideSidebar
styleSecondColumnOverflow="visible"
{config}>
publicKey={config.publicKey}>
{#snippet headerCenter()}
<CopyableId id={repo.rid} />
{/snippet}