[PR #623] [MERGED] feat(web): add asset and album count info #8703

Closed
opened 2026-02-05 13:51:46 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/623
Author: @alextran1502
Created: 9/7/2022
Status: Merged
Merged: 9/7/2022
Merged by: @alextran1502

Base: mainHead: 569-feature-counters-photosalbums


📝 Commits (6)

  • 50c9c1e Get asset and album count
  • a049146 Generate APIs
  • b8a0ae8 Added asset count for each type
  • 11f508d Added api on the web
  • 4cf312c Added info button for asset and album count to trigger getting info on hover
  • d2db627 Remove websocket event from photo page

📊 Changes

28 files changed (+932 additions, -39 deletions)

View changed files

📝 mobile/openapi/.openapi-generator/FILES (+5 -0)
📝 mobile/openapi/README.md (+4 -0)
📝 mobile/openapi/doc/AlbumApi.md (+44 -0)
mobile/openapi/doc/AlbumCountResponseDto.md (+17 -0)
📝 mobile/openapi/doc/AssetApi.md (+44 -0)
mobile/openapi/doc/AssetCountByUserIdResponseDto.md (+16 -0)
📝 mobile/openapi/lib/api.dart (+2 -0)
📝 mobile/openapi/lib/api/album_api.dart (+41 -0)
📝 mobile/openapi/lib/api/asset_api.dart (+41 -0)
📝 mobile/openapi/lib/api_client.dart (+4 -0)
mobile/openapi/lib/model/album_count_response_dto.dart (+127 -0)
mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart (+119 -0)
mobile/openapi/test/album_count_response_dto_test.dart (+37 -0)
mobile/openapi/test/asset_count_by_user_id_response_dto_test.dart (+32 -0)
📝 server/apps/immich/src/api-v1/album/album-repository.ts (+34 -19)
📝 server/apps/immich/src/api-v1/album/album.controller.ts (+7 -0)
📝 server/apps/immich/src/api-v1/album/album.service.spec.ts (+2 -1)
📝 server/apps/immich/src/api-v1/album/album.service.ts (+5 -0)
server/apps/immich/src/api-v1/album/response-dto/album-count-response.dto.ts (+18 -0)
📝 server/apps/immich/src/api-v1/asset/asset-repository.ts (+24 -0)

...and 8 more files

📄 Description

  • Get asset and album count
  • Generate APIs
  • Added asset count for each type
  • Added api on the web
  • Added info button for asset and album count to trigger getting info on hover

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/623 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 9/7/2022 **Status:** ✅ Merged **Merged:** 9/7/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `569-feature-counters-photosalbums` --- ### 📝 Commits (6) - [`50c9c1e`](https://github.com/immich-app/immich/commit/50c9c1ef4fba5599cdd6dc1d5a0d026504de5208) Get asset and album count - [`a049146`](https://github.com/immich-app/immich/commit/a049146bc0330522dcf81e287d77c0816599343c) Generate APIs - [`b8a0ae8`](https://github.com/immich-app/immich/commit/b8a0ae8f674e94d67642cdb795694df550f0b65f) Added asset count for each type - [`11f508d`](https://github.com/immich-app/immich/commit/11f508d35f7ac28620d01088a020bbaeb60feba3) Added api on the web - [`4cf312c`](https://github.com/immich-app/immich/commit/4cf312c2e748b7bc87c3d6bf22caa4db8d6488b1) Added info button for asset and album count to trigger getting info on hover - [`d2db627`](https://github.com/immich-app/immich/commit/d2db6270a3d553d80cda4195a6c17fcb29c6a8a6) Remove websocket event from photo page ### 📊 Changes **28 files changed** (+932 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `mobile/openapi/.openapi-generator/FILES` (+5 -0) 📝 `mobile/openapi/README.md` (+4 -0) 📝 `mobile/openapi/doc/AlbumApi.md` (+44 -0) ➕ `mobile/openapi/doc/AlbumCountResponseDto.md` (+17 -0) 📝 `mobile/openapi/doc/AssetApi.md` (+44 -0) ➕ `mobile/openapi/doc/AssetCountByUserIdResponseDto.md` (+16 -0) 📝 `mobile/openapi/lib/api.dart` (+2 -0) 📝 `mobile/openapi/lib/api/album_api.dart` (+41 -0) 📝 `mobile/openapi/lib/api/asset_api.dart` (+41 -0) 📝 `mobile/openapi/lib/api_client.dart` (+4 -0) ➕ `mobile/openapi/lib/model/album_count_response_dto.dart` (+127 -0) ➕ `mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart` (+119 -0) ➕ `mobile/openapi/test/album_count_response_dto_test.dart` (+37 -0) ➕ `mobile/openapi/test/asset_count_by_user_id_response_dto_test.dart` (+32 -0) 📝 `server/apps/immich/src/api-v1/album/album-repository.ts` (+34 -19) 📝 `server/apps/immich/src/api-v1/album/album.controller.ts` (+7 -0) 📝 `server/apps/immich/src/api-v1/album/album.service.spec.ts` (+2 -1) 📝 `server/apps/immich/src/api-v1/album/album.service.ts` (+5 -0) ➕ `server/apps/immich/src/api-v1/album/response-dto/album-count-response.dto.ts` (+18 -0) 📝 `server/apps/immich/src/api-v1/asset/asset-repository.ts` (+24 -0) _...and 8 more files_ </details> ### 📄 Description - Get asset and album count - Generate APIs - Added asset count for each type - Added api on the web - Added info button for asset and album count to trigger getting info on hover --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:51:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8703