immich/web/src/lib/components
Min Idzelis 966ab22065
refactor(web): extract asset viewer logic from Timeline into TimelineAssetViewer component (#22268)
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
2025-10-07 14:01:06 +00:00
..
admin-settings chore: replace immich.app/docs with docs.immich.app globally (#22428) 2025-10-02 10:42:14 -05:00
album-page fix(deps): update typescript-projects (#21510) 2025-09-19 12:29:01 -04:00
asset-viewer fix: use full-size image for non-web-compatible panoramas (#20359) 2025-10-06 12:38:41 -04:00
assets refactor: loading spinner (#22103) 2025-09-16 16:22:13 -04:00
faces-page refactor: loading spinner (#22103) 2025-09-16 16:22:13 -04:00
forms chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
jobs refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
layouts fix: missing responsive calculation in UserPageLayout (#22455) 2025-10-06 12:36:20 -04:00
memory-page refactor: loading spinner (#22103) 2025-09-16 16:22:13 -04:00
onboarding-page chore: replace immich.app/docs with docs.immich.app globally (#22428) 2025-10-02 10:42:14 -05:00
pages refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
photos-page chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
places-page chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
server-statistics refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
share-page refactor: rename timeline actions (#22086) 2025-09-16 13:37:01 -04:00
shared-components fix: improve the selected sidebar item text color in dark mode (#22640) 2025-10-06 21:51:00 +00:00
sharedlinks-page refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
sidebar chore: upgrade to tailwind v4 (#18353) 2025-05-18 13:51:33 +00:00
timeline refactor(web): extract asset viewer logic from Timeline into TimelineAssetViewer component (#22268) 2025-10-07 14:01:06 +00:00
user-settings-page refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
users refactor: admin settings (#22109) 2025-09-16 17:15:57 -04:00
utilities-page refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
ServerAboutItem.svelte refactor: server-about-modal (#22138) 2025-09-17 16:23:23 +00:00