feat(web): Change the primary asset of a stack (#18913)

* - Add set primary primary asset button to asset viewer

* - Cleanup
- change AssetAction to contain a StackResponseDto
- Properly update displayed stack at bottom of the asset viewer

* - update the assetStore with the changed stack

* - Cleanup
This commit is contained in:
xCJPECKOVERx 2025-06-08 22:35:41 -04:00 committed by GitHub
parent e0ac588ca8
commit de2115d11e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 53 additions and 3 deletions

View file

@ -10,6 +10,7 @@ export enum AssetAction {
ADD_TO_ALBUM = 'add-to-album',
UNSTACK = 'unstack',
KEEP_THIS_DELETE_OTHERS = 'keep-this-delete-others',
SET_STACK_PRIMARY_ASSET = 'set-stack-primary-asset',
SET_VISIBILITY_LOCKED = 'set-visibility-locked',
SET_VISIBILITY_TIMELINE = 'set-visibility-timeline',
}