immich/web
Min Idzelis d06bdb3f14 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-14 17:40:09 +01:00
..
bin chore: build sdk while server is starting (#22083) 2025-09-16 12:48:31 -04:00
src refactor(web): extract asset viewer logic from Timeline into TimelineAssetViewer component (#22268) 2025-10-14 17:40:09 +01:00
static chore: add security.txt (#17952) 2025-04-29 13:48:06 -04:00
.browserslistrc chore: bump browserlists version and load tscompat browserlist from file (#19212) 2025-06-16 10:03:46 -05:00
.dockerignore feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
.gitignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.npmrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.nvmrc chore(deps): update node.js to v22.20.0 (#22496) 2025-10-02 09:17:40 +00:00
.prettierignore chore(web): fix weblate conflicts (#10071) 2024-06-10 13:59:54 +01:00
.prettierrc chore(web): enable prettier json key sorting recursively (#10120) 2024-06-11 12:52:20 +01:00
eslint.config.js chore(web): upgrade ESLint and plugins (#22495) 2025-10-14 17:40:09 +01:00
package.json chore(web): upgrade ESLint and plugins (#22495) 2025-10-14 17:40:09 +01:00
README.md fix(web): Updated web README.md (#12899) 2024-09-25 12:59:35 +00:00
svelte.config.js feat: service worker cache static app resources, and all entry points (#18043) 2025-06-12 19:33:29 -04:00
tsconfig.json feat: timeline performance (#16446) 2025-03-18 09:14:46 -05:00
vite.config.ts chore: use pnpm for builds (#19752) 2025-08-19 08:55:24 -04:00

Immich web project

This project uses the SvelteKit web framework. Please refer to the SvelteKit docs for information on getting started as a contributor to this project. In particular, it will help you navigate the project's code if you understand the basics of SvelteKit routing.

When developing locally, you will run a SvelteKit Node.js server. When this project is deployed to production, it is built as a SPA and deployed as part of the server project.