Skip to content

Feat: Batch Operations for Images #662

@PritamP20

Description

@PritamP20

Is there an existing issue for this?

  • I have searched the existing issues

Description

Add ability to select multiple images and perform bulk actions (delete, tag, move to album).

Problem

Users can only perform actions on one image at a time, which is inefficient for large collections.

Solution

  • Selection mode toggle in navbar
  • Checkboxes on images for multi-select
  • Floating toolbar with batch actions: Delete, Tag, Move to Album
  • Keyboard shortcuts: Ctrl+A (select all), Escape (deselect)

Technical Details

Frontend:

  • Redux state for selection
  • BatchToolbar component
  • BatchTagDialog component
  • Update ImageCard with checkbox

Backend:

  • DELETE /images/batch-delete
  • POST /images/batch-tag
  • POST /images/batch-move

Record

  • I agree to follow this project's Code of Conduct

Checklist before Submitting

  • Have you updated docs for it?
  • Have you added unit tests?
  • Have you made sure unit tests pass?
  • Have you made sure code formatting is correct?
  • Do Your changes passes all tests?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions