Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: folder view #11880

Merged
merged 45 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
647a815
feat: folder view poc
davidakerr Aug 17, 2024
65d2e87
fix(folder-view): ui modifications
davidakerr Aug 18, 2024
9ff5c5a
fix(folder-view): improves utility return types
davidakerr Aug 18, 2024
488aaa2
fix(folder-view): update getAssetsByOriginalPath
davidakerr Aug 18, 2024
d121912
fix(folder-view): improve typing
davidakerr Aug 18, 2024
60c9894
fix(folder-view): replaces css with tailwind
davidakerr Aug 18, 2024
095df95
fix(folder-view): includes folders in main panel
davidakerr Aug 18, 2024
93ba64e
feat(folder-view): folder cache implementation
davidakerr Aug 18, 2024
e093218
fix(folder-view): can now search for absolute paths
davidakerr Aug 18, 2024
50b3dbc
fix(folder-view): sets default sort to alphabetical by filename
davidakerr Aug 18, 2024
c1f0c25
merge main
alextran1502 Aug 19, 2024
0d05714
refactor/styling the browser view
alextran1502 Aug 19, 2024
196cef9
double click to navigate
alextran1502 Aug 19, 2024
db21b9c
folder tree
alextran1502 Aug 19, 2024
02d9458
use correct side bar icon
alextran1502 Aug 19, 2024
ed44ecb
styling when selected
alextran1502 Aug 19, 2024
b7eb950
correct open icon
alextran1502 Aug 19, 2024
3dd0623
folder layout
alextran1502 Aug 20, 2024
102bd3f
return assetReponseDto
alextran1502 Aug 20, 2024
b60b310
it's alive
alextran1502 Aug 20, 2024
321e353
merge main
alextran1502 Aug 20, 2024
ecf931b
merge main
alextran1502 Aug 20, 2024
b00107b
update new api
alextran1502 Aug 20, 2024
156a17a
more styling for folder tree
alextran1502 Aug 20, 2024
8749916
use query params and path viewer
alextran1502 Aug 20, 2024
65baf6d
use arrow up left for parent folder backward navigation
alextran1502 Aug 20, 2024
ee97b9a
use arrow up left for parent folder backward navigation
alextran1502 Aug 20, 2024
93cb31f
encode URL
alextran1502 Aug 20, 2024
6947d82
handle long folder name
alextran1502 Aug 20, 2024
8839bdf
refactor to the view controller
alextran1502 Aug 20, 2024
bfb4252
remove unused code
alextran1502 Aug 20, 2024
f622a46
clear cache when logout
alextran1502 Aug 20, 2024
d4f678e
cleaning up
alextran1502 Aug 20, 2024
4270584
cleaning up web
alextran1502 Aug 20, 2024
f5c2f8e
Merge branch 'main' of github.com:immich-app/immich into feat/folder-…
alextran1502 Aug 20, 2024
fcf5a01
clean as new
alextran1502 Aug 20, 2024
8ab7bdd
clean as new
alextran1502 Aug 20, 2024
71d16aa
pr feedback + show asset name
alextran1502 Aug 21, 2024
f28deec
add tests
alextran1502 Aug 21, 2024
1533371
add tests
alextran1502 Aug 21, 2024
735f7c6
remove generated file
alextran1502 Aug 21, 2024
33a0659
lint
alextran1502 Aug 21, 2024
f71b9e8
revert docker-compose.dev file
alextran1502 Aug 21, 2024
2034f83
Update server/src/services/view.service.ts
alextran1502 Aug 21, 2024
f36ad3a
Update server/src/services/view.service.ts
alextran1502 Aug 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update server/src/services/view.service.ts
Co-authored-by: Jason Rasmussen <jason@rasm.me>
alextran1502 and jrasm91 authored Aug 21, 2024
commit 2034f834aa1d771a9ddbfbfe5e189a1ad7bd18b7
2 changes: 1 addition & 1 deletion server/src/services/view.service.ts
Original file line number Diff line number Diff line change
@@ -13,6 +13,6 @@ export class ViewService {
async getAssetsByOriginalPath(auth: AuthDto, path: string): Promise<AssetResponseDto[]> {
const assets = await this.assetRepository.getAssetsByOriginalPath(auth.user.id, path);

return assets.map((a) => mapAsset(a, { auth }));
return assets.map((asset) => mapAsset(asset, { auth }));
}
}