immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
52.37k stars 2.77k forks source link

[WEB] Search view does not update when assets change (and don't match the filter anymore) #14209

Open weathondev opened 3 days ago

weathondev commented 3 days ago

The bug

Basically the same as https://github.com/immich-app/immich/issues/13460

The view does not update when e.g. i archive an item like it does when i add an item to an album. It does get the 'archive' icon, but when i refresh the search, it's not gone - ideally it should vanish, as it doesn't match the search filter anymore. Same for date, location, favorites, etc.

The OS that Immich Server is running on

Not relevant

Version of Immich Server

v1.120.2

Version of Immich Mobile App

-

Platform with the issue

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

  1. Search for something with default filters
  2. Archive an asset
  3. Gets an archive icon but doesn't vanish

Repeat the same with add to album while filtering 'not in album' -> it will vanish

Relevant log output

No response

Additional information

No response

weathondev commented 3 days ago

I'll tackle this myself once i'm done with the current task, but it would be good to get some ideas here already, especially regarding the data the user can change via directly opening an asset and how we can track them to update the search.