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/controllers
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.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
album.controller.ts fix(server): album statistics endpoint (#11924) 2024-08-20 07:50:36 -04:00
api-key.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
app.controller.ts refactor(server): auth route metadata (#9344) 2024-05-09 13:58:44 -04:00
asset-media.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
asset.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
audit.controller.ts refactor(server): auth route metadata (#9344) 2024-05-09 13:58:44 -04:00
auth.controller.ts refactor(server): user endpoints (#9730) 2024-05-27 05:15:52 +07:00
download.controller.ts refactor: asset media endpoints (#9831) 2024-05-31 13:44:04 -04:00
duplicate.controller.ts refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
face.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
file-report.controller.ts refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
index.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00
job.controller.ts refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
library.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
map.controller.ts feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
memory.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
notification.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
oauth.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
partner.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
person.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
search.controller.ts feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
server-info.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
server.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
session.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
shared-link.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
stack.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
sync.controller.ts refactor(server): auth route metadata (#9344) 2024-05-09 13:58:44 -04:00
system-config.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
system-metadata.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
tag.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
timeline.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
trash.controller.ts refactor(server): controller cleanup (#11923) 2024-08-20 12:50:14 +00:00
user-admin.controller.ts feat(server): granular permissions for api keys (#11824) 2024-08-16 09:48:43 -04:00
user.controller.ts feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00
view.controller.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00