1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/server/src/services
David Kerr 07538299cf
feat: folder view (#11880)
* feat: folder view poc

* fix(folder-view): ui modifications

* fix(folder-view): improves utility return types

* fix(folder-view): update getAssetsByOriginalPath

Endpoint now only returns direct children of the path instead of all images in all subfolders.  Functions renamed and scoped to "folder", endpoints renamed

* fix(folder-view): improve typing

* fix(folder-view): replaces css with tailwind

* fix(folder-view): includes folders in main panel

* feat(folder-view): folder cache implementation

* fix(folder-view): can now search for absolute paths

* fix(folder-view): sets default sort to alphabetical by filename

* refactor/styling the browser view

* double click to navigate

* folder tree

* use correct side bar icon

* styling when selected

* correct open icon

* folder layout

* return assetReponseDto

* it's alive

* update new api

* more styling for folder tree

* use query params and path viewer

* use arrow up left for parent folder backward navigation

* use arrow up left for parent folder backward navigation

* encode URL

* handle long folder name

* refactor to the view controller

* remove unused code

* clear cache when logout

* cleaning up

* cleaning up web

* clean as new

* clean as new

* pr feedback + show asset name

* add tests

* add tests

* remove generated file

* lint

* revert docker-compose.dev file

* Update server/src/services/view.service.ts

Co-authored-by: Jason Rasmussen <jason@rasm.me>

* Update server/src/services/view.service.ts

Co-authored-by: Jason Rasmussen <jason@rasm.me>

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-21 13:49:37 -05:00
..
activity.service.spec.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
activity.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
album.service.spec.ts fix(server): album statistics endpoint (#11924) 2024-08-20 07:50:36 -04:00
album.service.ts fix(server): album statistics endpoint (#11924) 2024-08-20 07:50:36 -04:00
api-key.service.spec.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
api-key.service.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
api.service.ts refactor(server): build resources (#10958) 2024-07-08 14:53:18 -04:00
asset-media.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
asset-media.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
asset.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
asset.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
audit.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
audit.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
auth.service.spec.ts refactor: auth service (#11811) 2024-08-15 09:14:23 -04:00
auth.service.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
cli.service.spec.ts refactor(server): remove unused code (#9737) 2024-05-24 16:37:29 -04:00
cli.service.ts refactor: config caching (#10168) 2024-06-12 11:07:35 +00:00
database.service.spec.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
database.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
download.service.spec.ts feat(server): do not automatically download android motion videos (#11774) 2024-08-15 20:06:16 +00:00
download.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
duplicate.service.spec.ts chore: Lower default duplicate detection distance (#10703) 2024-06-30 11:36:02 -04:00
duplicate.service.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
index.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00
job.service.spec.ts feat(server): conditionally run facial recognition nightly (#11080) 2024-07-14 22:53:42 +00:00
job.service.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
library.service.spec.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
library.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
map.service.spec.ts refactor(server)!: move markers and style to dedicated map endpoint/controller (#9832) 2024-05-29 11:51:01 -04:00
map.service.ts feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
media.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
media.service.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
memory.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
memory.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
metadata.service.spec.ts fix(server): do not match live photos across libraries (#11952) 2024-08-20 21:23:50 -04:00
metadata.service.ts fix(server): do not match live photos across libraries (#11952) 2024-08-20 21:23:50 -04:00
microservices.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
notification.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
notification.service.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
partner.service.spec.ts refactor(server): partner search dto (#10902) 2024-07-08 16:41:39 -04:00
partner.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
person.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
person.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
search.service.spec.ts feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
search.service.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
server.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
server.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
session.service.spec.ts feat(server): remove inactive sessions (#9121) 2024-04-27 16:45:16 -04:00
session.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
shared-link.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
shared-link.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
smart-info.service.spec.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
smart-info.service.ts refactor(server): move files to separate table (#11861) 2024-08-19 20:03:33 -04:00
stack.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
storage-template.service.spec.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
storage-template.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
storage.service.spec.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
storage.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
sync.service.spec.ts fix(server): new full sync return stacked assets individually (#9189) 2024-05-14 10:30:33 -05:00
sync.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
system-config.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
system-config.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
system-metadata.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
system-metadata.service.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
tag.service.spec.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
tag.service.ts chore(server): rename domain repositories -> interfaces (#8147) 2024-03-21 06:59:49 -05:00
timeline.service.spec.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
timeline.service.ts refactor: access core (#11930) 2024-08-20 07:49:56 -04:00
trash.service.spec.ts fix(server): asset delete logic (#10077) 2024-06-10 13:04:34 -04:00
trash.service.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
user-admin.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
user-admin.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
user.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
user.service.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
version.service.spec.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
version.service.ts refactor: server emit events (#11780) 2024-08-15 20:12:41 +00:00
view.service.spec.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00
view.service.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00