Skip to main content

Module actions

Module actions 

Source
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ยง

TrashTarget ๐Ÿ”’
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 targets to the Immich trash; on_trashed runs 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.