Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add debug tab and download logging component to about and downloads pages

Tonho1e284ff99724
diff --git a/src/routes/about/+layout.svelte b/src/routes/about/+layout.svelte
index cc98e101..5b538c55 100644
--- a/src/routes/about/+layout.svelte
+++ b/src/routes/about/+layout.svelte
@@ -10,6 +10,7 @@
{ href: "/about/project", labelKey: "about.tab.project" },
{ href: "/about/roadmap", labelKey: "about.tab.roadmap" },
{ href: "/about/changelog", labelKey: "about.tab.changelog" },
+ { href: "/about/debug", labelKey: "about.tab.debug" },
] as const;
function isActive(href: string): boolean {
diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte
index 17ff50fb..2e6114b8 100644
--- a/src/routes/about/+page.svelte
+++ b/src/routes/about/+page.svelte
@@ -35,6 +35,7 @@
<a href="/about/changelog" class="about-link">{$t("about.tab.changelog")}</a>
<a href="/about/terms" class="about-link">{$t("about.tab.terms")}</a>
<a href="/about/roadmap" class="about-link">{$t("about.tab.roadmap")}</a>
+ <a href="/about/debug" class="about-link">{$t("about.tab.debug")}</a>
</div>
<div class="about-external">
diff --git a/src/routes/downloads/+page.svelte b/src/routes/downloads/+page.svelte
index ab2f9e2e..1682e436 100644
--- a/src/routes/downloads/+page.svelte
+++ b/src/routes/downloads/+page.svelte
@@ -17,6 +17,7 @@
import Mascot from "$components/mascot/Mascot.svelte";
import ContextHint from "$components/hints/ContextHint.svelte";
import DownloadSpeedGraph from "$components/download/DownloadSpeedGraph.svelte";
+ import DownloadLog from "$components/download/DownloadLog.svelte";
let downloads = $derived(getDownloads());
let courseList = $derived(
@@ -437,6 +438,10 @@
</div>
<span class="item-percent">{Math.max(0, item.percent).toFixed(0)}%</span>
{/if}
+
+ {#if item.status !== "queued"}
+ <DownloadLog id={item.id} />
+ {/if}
</div>
{/snippet}