High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
refactor: timeline components (#22089)
Jason Rasmussen2bf484c91c50
diff --git a/web/src/lib/components/shared-components/scrubber/scrubber.svelte b/web/src/lib/components/timeline/Scrubber.sveltesimilarity index 100%rename from web/src/lib/components/shared-components/scrubber/scrubber.svelterename to web/src/lib/components/timeline/Scrubber.sveltediff --git a/web/src/lib/components/timeline/Timeline.svelte b/web/src/lib/components/timeline/Timeline.svelteindex ad0fac1bb5..16cab3af43 100644--- a/web/src/lib/components/timeline/Timeline.svelte+++ b/web/src/lib/components/timeline/Timeline.svelte@@ -7,7 +7,7 @@import Skeleton from '$lib/components/photos-page/skeleton.svelte';import type { AbsoluteResult, RelativeResult } from '$lib/components/shared-components/change-date.svelte';import ChangeDate from '$lib/components/shared-components/change-date.svelte';- import Scrubber from '$lib/components/shared-components/scrubber/scrubber.svelte';+ import Scrubber from '$lib/components/timeline/Scrubber.svelte';import {setFocusToAsset as setFocusAssetInit,setFocusTo as setFocusToInit,@@ -37,7 +37,7 @@import { DateTime } from 'luxon';import { onMount, type Snippet } from 'svelte';import type { UpdatePayload } from 'vite';- import AssetDateGroup from '../photos-page/asset-date-group.svelte';+ import TimelineDateGroup from './TimelineDateGroup.svelte';import DeleteAssetDialog from '../photos-page/delete-asset-dialog.svelte';import Portal from '../shared-components/portal/portal.svelte';@@ -946,7 +946,7 @@style:transform={`translate3d(0,${absoluteHeight}px,0)`}style:width="100%">- <AssetDateGroup+ <TimelineDateGroup{withStacked}{showArchiveIcon}{assetInteraction}diff --git a/web/src/lib/components/photos-page/asset-date-group.svelte b/web/src/lib/components/timeline/TimelineDateGroup.sveltesimilarity index 100%rename from web/src/lib/components/photos-page/asset-date-group.svelterename to web/src/lib/components/timeline/TimelineDateGroup.svelte