From f0dc3446b2cc8609853884594e4ed5ca264b6f90 Mon Sep 17 00:00:00 2001 From: Youwes09 Date: Thu, 16 Apr 2026 22:40:22 -0500 Subject: [PATCH] Feat: QOL Animations P1 --- Todo | 12 +- src/components/chrome/Sidebar.svelte | 56 +++++++-- src/components/pages/Library.svelte | 160 +++++++++++++----------- src/components/settings/Settings.svelte | 64 ++++++++-- src/store/state.svelte.ts | 2 + 5 files changed, 203 insertions(+), 91 deletions(-) diff --git a/Todo b/Todo index 0a380b1..fb36fa9 100644 --- a/Todo +++ b/Todo @@ -33,11 +33,19 @@ In-Progress: - Working on 3D Display Cards - Add Small QOL Animations where Appropriate + - Sidebar Animations (C) + - Sliding + - Hover + - Library Animations + - Card Hover (C) + - Completed/Unread Re-Design + - Search Animations + - Card Hover + - SeriesDetail Animations + - 3D Card - Add Flathub Support (Pending Video) - - Working on Optimizing Reader (CURRENT) - Testing: \ No newline at end of file diff --git a/src/components/chrome/Sidebar.svelte b/src/components/chrome/Sidebar.svelte index a25955b..34a6e92 100644 --- a/src/components/chrome/Sidebar.svelte +++ b/src/components/chrome/Sidebar.svelte @@ -13,6 +13,9 @@ { id: "tracking", label: "Tracking", icon: ChartLineUp }, ]; + const anims = $derived(store.settings.qolAnimations ?? true); + const activeIndex = $derived(TABS.findIndex(t => t.id === store.navPage)); + function navigate(id: NavPage) { store.navPage = id; store.activeManga = null; @@ -30,19 +33,22 @@