fix(web): fix View in Timeline not working for stacked assets #16993
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As non-primary assets in a stack don't appear in the timeline, attempting to use the
View in timeline
feature from the navigation bar attempted to navigate you to an asset that wasn't there. Instead,View in timeline
now takes you to the stack's primary asset, which should always be available in the timeline.Fixes #14987
How Has This Been Tested?
View in timeline
Screenshots (if appropriate)
vmware_2025-03-19_18-55-46.mp4
Checklist:
src/services/
uses repositories implementations for database calls, filesystem operations, etc.src/repositories/
is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/
)