mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
- Extracts the asset grid rendering logic from `MonthSegment` into a
dedicated `AssetLayout` component
- Simplifies `MonthSegment` by delegating layout responsibilities
while maintaining all existing functionality
- Renames `customLayout` prop to `customThumbnailLayout` for clarity
across Timeline components
## Changes
- Created new `AssetLayout.svelte` component that handles:
- Asset grid rendering with proper positioning
- Animation transitions
- Filtering of intersecting viewer assets
- Updated `MonthSegment.svelte` to use `AssetLayout` via composition
pattern
- Renamed `customLayout` to `customThumbnailLayout` in Timeline and
related components
- Moved thumbnail click and selection logic to Timeline parent
component using snippets
|
||
|---|---|---|
| .. | ||
| admin-settings | ||
| album-page | ||
| asset-viewer | ||
| assets | ||
| faces-page | ||
| forms | ||
| jobs | ||
| layouts | ||
| memory-page | ||
| onboarding-page | ||
| pages | ||
| photos-page | ||
| places-page | ||
| server-statistics | ||
| share-page | ||
| shared-components | ||
| sharedlinks-page | ||
| sidebar | ||
| timeline | ||
| user-settings-page | ||
| users | ||
| utilities-page | ||
| ServerAboutItem.svelte | ||