From a2f3634c7e219e7120f0ebdb960c694c053e6151 Mon Sep 17 00:00:00 2001 From: Dream Hunter Date: Sat, 4 Oct 2025 20:04:26 +0800 Subject: [PATCH] feat: add multi-select batch operations for admin account management (#737) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add multi-select functionality with native Naive UI selection column - Implement batch operations: delete, clear inbox, clear sent items - Create reusable executeBatchOperation function to eliminate code duplication - Add error recovery mechanism: failed items remain selected for retry - Add progress modal with real-time percentage display - Support smart skip logic: skip addresses with no mails/sent items - Add i18n support for English and Chinese - Update CHANGELOG.md with new features 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- CHANGELOG.md | 2 + frontend/src/views/admin/Account.vue | 177 ++++++++++++++++++++++++++- 2 files changed, 174 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d548d9af..19590e3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - feat: |DB| update db schema add index - feat: |地址密码| 增加地址密码登录功能, 通过 `ENABLE_ADDRESS_PASSWORD` 配置启用 +- fix: |GitHub Actions| 修复 debug 模式配置,仅当 DEBUG_MODE 为 'true' 时才启用调试模式 +- feat: |Admin| 账户管理页面新增多选批量操作功能(批量删除、批量清空收件箱、批量清空发件箱) ## v1.0.5 diff --git a/frontend/src/views/admin/Account.vue b/frontend/src/views/admin/Account.vue index d97156ff..980a5f91 100644 --- a/frontend/src/views/admin/Account.vue +++ b/frontend/src/views/admin/Account.vue @@ -1,6 +1,6 @@