From efaf0a556c96d21d7ff6604d341828ee219b71a4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 12 Sep 2023 23:09:25 -0700 Subject: feat(settings): move categories to details --- src/routes/settings/+page.svelte | 188 +++++++++++++++++++++------------------ 1 file changed, 101 insertions(+), 87 deletions(-) (limited to 'src/routes') diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index cd213013..18aa42cc 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -30,113 +30,127 @@ {#if data.user === undefined} Please log in to modify settings. {:else} -

Display

- - - theme - - - - paused media - +
+ Display + + + theme + + + + paused media + + +

+ + + completed anime + + Completed anime = anime on your lists which have finished airing + +

+ + unresolved + Displays unresolved chapter counts as "?" + +

+ + + media with zero progress + + + May cause + rate-limiting + depending on how much releasing manga are on your lists + + +

+ + + anime panel by default + + + manga panel by default + + + Sort anime by {@html !$settings.sortByDifference + ? 'difference between last watched and next episode' + : 'days left until next episode'} + +

- - completed anime - - Completed anime = anime on your lists which have finished airing +

+ Calculation -

- - unresolved - Displays unresolved chapter counts as "?" + + chapters + + + 50/50.6 would {@html $settings.roundDownChapters ? 'not' : ''} be due + +

- - media with zero progress - - - May cause - rate-limiting - depending on how much releasing manga are on your lists - - -

+

+ Cache - - anime panel by default - - - manga panel by default - - - Sort anime by {@html !$settings.sortByDifference - ? 'difference between last watched and next episode' - : 'days left until next episode'} - + Re-cache ALL unresolved manga -

Calculation

+

- - chapters - - - 50/50.6 would {@html $settings.roundDownChapters ? 'not' : ''} be due - + Re-cache ALL manga + Force a re-cache of all cached manga chapter counts -

Cache

+

- Re-cache ALL unresolved manga + Re-cache ALL media keys every + + minutes + Media keys = your cached list data -

+

- Re-cache ALL manga - Force a re-cache of all cached manga chapter counts + Re-cache ALL manga chapter counts every + + minutes + + Low values may cause + rate-limiting + depending on the amount of releasing manga are on your lists + +

- Re-cache ALL media keys every - - minutes - Media keys = your cached list data - -

+

+ Reset Settings - Re-cache ALL manga chapter counts every - - minutes - - Low values may cause - rate-limiting - depending on the amount of releasing manga are on your lists - - -

Reset

- - Reset ALL settings - - Resets all settings present on this page to their default values - + Reset ALL settings + + Resets all settings present on this page to their default values + -

+

- localStorage.clear()}>Clear localStorage - - Doesn't break anything, but resets all settings and clears all key caches. Recommended after - updates - + localStorage.clear()}>Clear localStorage + + Doesn't break anything, but resets all settings and clears all key caches. Recommended after + updates + +

{/if}

-- cgit v1.2.3