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
|
||
|---|---|---|
| .. | ||
| internal | ||
| day-group.svelte.ts | ||
| group-insertion-cache.svelte.ts | ||
| month-group.svelte.ts | ||
| timeline-manager.svelte.spec.ts | ||
| timeline-manager.svelte.ts | ||
| types.ts | ||
| utils.svelte.ts | ||
| viewer-asset.svelte.ts | ||