Replace AssetDateGroup with AssetDateGroupSelectionAware throughout - merge/replace temp

• Update asset-grid-without-scrubber to use AssetDateGroupSelectionAware
• Remove original asset-date-group.svelte component
• Remove date-group-actions-lib.svelte.ts class
This commit is contained in:
midzelis 2025-08-14 20:56:22 +00:00
parent 1fb99e7b1c
commit 14954c669b
2 changed files with 2 additions and 192 deletions

View file

@ -2,6 +2,7 @@
import { afterNavigate, beforeNavigate } from '$app/navigation';
import { page } from '$app/stores';
import { resizeObserver, type OnResizeCallback } from '$lib/actions/resize-observer';
import AssetDateGroupSelectionAware from '$lib/components/photos-page/asset-date-group-selection-aware.svelte';
import AssetGridActions from '$lib/components/photos-page/asset-grid-actions.svelte';
import AssetViewerAndActions from '$lib/components/photos-page/asset-viewer-and-actions.svelte';
import Skeleton from '$lib/components/photos-page/skeleton.svelte';
@ -18,7 +19,6 @@
import { onMount, type Snippet } from 'svelte';
import type { UpdatePayload } from 'vite';
import Portal from '../shared-components/portal/portal.svelte';
import AssetDateGroup from './asset-date-group.svelte';
interface Props {
isSelectionMode?: boolean;
@ -339,7 +339,7 @@
style:transform={`translate3d(0,${absoluteHeight}px,0)`}
style:width="100%"
>
<AssetDateGroup
<AssetDateGroupSelectionAware
{withStacked}
{showArchiveIcon}
{assetInteraction}