From 72a88b10c841118e1957a854594b2ebdc3b9f11c Mon Sep 17 00:00:00 2001 From: Youwes09 Date: Thu, 23 Apr 2026 21:44:11 -0500 Subject: [PATCH] Feat: Always Display Library Stats & Library Stats Overhaul (#47) --- .../library/components/Library.svelte | 1 + .../library/components/LibraryGrid.svelte | 48 +++++++++---------- .../settings/sections/LibrarySettings.svelte | 4 ++ 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/src/features/library/components/Library.svelte b/src/features/library/components/Library.svelte index ff52096..5df6aec 100644 --- a/src/features/library/components/Library.svelte +++ b/src/features/library/components/Library.svelte @@ -573,6 +573,7 @@ {remainingCount} renderLimit={store.settings.renderLimit ?? 48} cropCovers={store.settings.libraryCropCovers} + statsAlways={store.settings.libraryStatsAlways ?? false} libraryFilter={tab} onCardClick={onCardClick} onCardContextMenu={openCtx} diff --git a/src/features/library/components/LibraryGrid.svelte b/src/features/library/components/LibraryGrid.svelte index c18ba24..f7dc676 100644 --- a/src/features/library/components/LibraryGrid.svelte +++ b/src/features/library/components/LibraryGrid.svelte @@ -15,6 +15,7 @@ remainingCount: number; renderLimit: number; cropCovers: boolean; + statsAlways: boolean; libraryFilter: string; bulkWorking: boolean; visibleCategories: Category[]; @@ -34,7 +35,7 @@ let { visibleManga, filtered, loading, cols, anims, selectMode, selectedIds, - hasMore, remainingCount, renderLimit, cropCovers, libraryFilter, + hasMore, remainingCount, renderLimit, cropCovers, statsAlways, libraryFilter, bulkWorking, visibleCategories, onCardClick, onCardContextMenu, onCardPointerDown, onCardPointerUp, onCardPointerLeave, onLoadMore, onRetry, onExitSelectMode, onSelectAll, onBulkMove, onBulkRemove, onBulkAutomate, @@ -128,23 +129,17 @@ >
-
- {#if isCompleted} - ✓ complete - {:else if m.unreadCount} - - - {m.unreadCount} unread - - {:else} - - {/if} - {#if m.downloadCount} - - - {m.downloadCount} - - {/if} +
+
+ {#if isCompleted} + ✓ Done + {:else if m.unreadCount} + {m.unreadCount} new + {/if} + {#if m.downloadCount} + ↓ {m.downloadCount} + {/if} +
{#if selectMode}