Expand description
Selection-mode wiring and bulk batch operations.
Manages multi-select mode toggling, selection-count tracking, and batch actions such as bulk download, bulk delete-to-trash, and bulk add-to-album for the library grid.
Structsยง
- Trash
Target ๐ - A server asset the user asked to move to the Immich trash.
Functionsยง
- collect_
selected_ ๐assets - confirm_
and_ ๐bulk_ delete - confirm_
trash ๐ - Ask before moving
targetsto the Immich trash;on_trashedruns after the server confirms. - connect_
bulk_ ๐actions - connect_
bulk_ ๐archive - connect_
bulk_ ๐share_ link - Selection-bar button: create one public link for every selected server asset.
- connect_
delete_ ๐key - connect_
select_ ๐mode - remove_
assets_ ๐from_ grid - Drop assets from the grid in place, so open views (like the lightbox) keep their position instead of reloading from the first page; then refresh album/stat counts.
- selected_
items ๐ - selection_
count ๐ - trash_
assets ๐ - Trash on the server, then drop the items from the grid.
- trash_
dialog_ ๐text - Heading and body for the trash confirmation dialog.