[PR #3765] [MERGED] feat(web): enable websocket #10104

Closed
opened 2026-02-05 14:16:04 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/3765
Author: @alextran1502
Created: 8/18/2023
Status: Merged
Merged: 10/6/2023
Merged by: @alextran1502

Base: mainHead: feat/web-websocket


📝 Commits (10+)

📊 Changes

16 files changed (+276 additions, -133 deletions)

View changed files

📝 server/src/domain/asset/asset.service.spec.ts (+5 -1)
📝 server/src/domain/asset/asset.service.ts (+4 -0)
📝 server/src/domain/communication/communication.repository.ts (+4 -0)
📝 server/src/domain/job/job.service.spec.ts (+5 -1)
📝 server/src/domain/job/job.service.ts (+21 -4)
server/src/infra/communication.gateway.ts (+0 -34)
📝 server/src/infra/infra.module.ts (+1 -2)
📝 server/src/infra/repositories/communication.repository.ts (+35 -8)
📝 web/src/lib/components/photos-page/asset-date-group.svelte (+2 -0)
📝 web/src/lib/components/photos-page/asset-grid.svelte (+3 -0)
📝 web/src/lib/components/shared-components/status-box.svelte (+35 -49)
📝 web/src/lib/components/shared-components/upload-panel.svelte (+5 -8)
📝 web/src/lib/stores/assets.store.ts (+123 -1)
📝 web/src/lib/stores/websocket.ts (+23 -17)
📝 web/src/routes/(user)/people/[personId]/+page.svelte (+7 -8)
📝 web/src/routes/+layout.svelte (+3 -0)

📄 Description

TODO

  • Add newly uploaded asset to new time bucket
  • Debouncing
  • Album page
  • Photo page
  • Remove message about refreshing page

🔄 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/3765 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 8/18/2023 **Status:** ✅ Merged **Merged:** 10/6/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/web-websocket` --- ### 📝 Commits (10+) - [`695e000`](https://github.com/immich-app/immich/commit/695e000d7c23b55a7b8210f9640b561f28fc89fa) send store event to page - [`ac50354`](https://github.com/immich-app/immich/commit/ac503545505bf3486ac93a0331df12afde577766) fix format - [`5fd3cc6`](https://github.com/immich-app/immich/commit/5fd3cc68f21c261956796468185804ced783cfc4) add new asset to existing bucket - [`0c7590f`](https://github.com/immich-app/immich/commit/0c7590f1338afd0a3e47b0d6f1d57c4a51bccc5c) format - [`ed878f2`](https://github.com/immich-app/immich/commit/ed878f2d959478bba4773aa0cfe7df5809ec7df5) debouncing - [`6a37f38`](https://github.com/immich-app/immich/commit/6a37f3839c3c86561c31f58851d9755d311962b0) format - [`6c28004`](https://github.com/immich-app/immich/commit/6c28004cadb6203f8516dd5dd2ce54a607d5d06a) load bucket - [`95bf734`](https://github.com/immich-app/immich/commit/95bf734efdf9f77da813bd2ab9b8c0db90820586) feedback - [`187384e`](https://github.com/immich-app/immich/commit/187384ec9d67c296c401640017fc3f65a06a3365) feat: listen to deletes and auto-subscribe on all asset grid pages - [`ada1095`](https://github.com/immich-app/immich/commit/ada10955ccd644b3e4c9972750fe11fa7260f988) feat: auto refresh on person thumbnail ### 📊 Changes **16 files changed** (+276 additions, -133 deletions) <details> <summary>View changed files</summary> 📝 `server/src/domain/asset/asset.service.spec.ts` (+5 -1) 📝 `server/src/domain/asset/asset.service.ts` (+4 -0) 📝 `server/src/domain/communication/communication.repository.ts` (+4 -0) 📝 `server/src/domain/job/job.service.spec.ts` (+5 -1) 📝 `server/src/domain/job/job.service.ts` (+21 -4) ➖ `server/src/infra/communication.gateway.ts` (+0 -34) 📝 `server/src/infra/infra.module.ts` (+1 -2) 📝 `server/src/infra/repositories/communication.repository.ts` (+35 -8) 📝 `web/src/lib/components/photos-page/asset-date-group.svelte` (+2 -0) 📝 `web/src/lib/components/photos-page/asset-grid.svelte` (+3 -0) 📝 `web/src/lib/components/shared-components/status-box.svelte` (+35 -49) 📝 `web/src/lib/components/shared-components/upload-panel.svelte` (+5 -8) 📝 `web/src/lib/stores/assets.store.ts` (+123 -1) 📝 `web/src/lib/stores/websocket.ts` (+23 -17) 📝 `web/src/routes/(user)/people/[personId]/+page.svelte` (+7 -8) 📝 `web/src/routes/+layout.svelte` (+3 -0) </details> ### 📄 Description TODO - [x] Add newly uploaded asset to new time bucket - [x] Debouncing - [ ] Album page - [x] Photo page - [x] Remove message about refreshing page --- <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 14:16:04 +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#10104