mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Create abstract PhotostreamManager and PhotostreamSegment base classes to enable reusable
timeline-like components. This refactoring extracts common viewport management, scroll
handling, and segment operations from TimelineManager and MonthGroup into reusable
abstractions.
Changes:
- Add PhotostreamManager.svelte.ts with viewport and scroll management
- Add PhotostreamSegment.svelte.ts with segment positioning and intersection logic
- Refactor TimelineManager to extend PhotostreamManager
- Refactor MonthGroup to extend PhotostreamSegment
- Add utility functions for segment identification and date formatting
- Update tests to reflect new inheritance structure
|
||
|---|---|---|
| .. | ||
| 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 | ||