mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-30 10:05:54 +00:00
refactor(web): extract asset viewer logic from Timeline into TimelineAssetViewer component - Extracted asset viewer navigation and action handling logic from Timeline.svelte into a dedicated TimelineAssetViewer component - Reduces Timeline.svelte complexity by ~150 lines and improves separation of concerns - No functional changes - purely a refactoring to improve code organization ## Changes - Created new TimelineAssetViewer.svelte component containing all asset viewer-related logic - Moved handlePrevious, handleNext, handleRandom, handleClose, handlePreAction, and handleAction methods - Timeline.svelte now only passes required props to the new component - Maintained all existing functionality including navigation, asset actions, and stack management |
||
|---|---|---|
| .. | ||
| 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 | ||