AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Batch Operations for Images

未关闭
#662 3 条评论 0 个 reaction 已指派 1 人 已被 @PritamP20 认领 在 GitHub 查看
enhancement frontend
主要语言
Python
星标
283
派生
679
平均合并
7 天 2 小时
30 天内合并 PR
3

描述

### Is there an existing issue for this?
- [x] 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

- [x] I agree to follow this project's Code of Conduct

### Checklist before Submitting

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。