From 158401a6304cf4de2befef401c57580dd64eaf9b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 29 Dec 2023 22:41:01 -0800 Subject: feat(wrapped): acitivity history position --- src/lib/Tools/Wrapped.svelte | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte index 3d5dd29f..35f3e0e3 100644 --- a/src/lib/Tools/Wrapped.svelte +++ b/src/lib/Tools/Wrapped.svelte @@ -62,6 +62,7 @@ let mediaSort = SortOptions.SCORE; let includeMovies = true; let includeOVAs = true; + let activityHistoryPosition: 'TOP' | 'BELOW_TOP' | 'ORIGINAL' = 'ORIGINAL'; $: { if (browser && mounted) { @@ -492,6 +493,15 @@ style={`width: ${width}px;`} class:transparent={transparency} > + {#if !disableActivityHistory && activityHistoryPosition === 'TOP'} +
+
+
+ +
+
+
+ {/if}
+ {#if !disableActivityHistory && activityHistoryPosition === 'BELOW_TOP'} +
+
+
+ +
+
+
+ {/if} {#if animeList !== undefined || mangaList !== undefined}
{#if animeList !== undefined && animeList.length !== 0} @@ -677,7 +696,7 @@ {/if}
{/if} - {#if !disableActivityHistory} + {#if !disableActivityHistory && activityHistoryPosition === 'ORIGINAL'}
@@ -720,6 +739,12 @@ media percentages
Show highest rated genre and tag percentages
+ + Activity history position