Skip to content

feat: add clear failed task action / 添加清理失败记录入口#95

Merged
CookSleep merged 1 commit into
CookSleep:mainfrom
Chenzr888:clear-failed-gallery-records
Jun 7, 2026
Merged

feat: add clear failed task action / 添加清理失败记录入口#95
CookSleep merged 1 commit into
CookSleep:mainfrom
Chenzr888:clear-failed-gallery-records

Conversation

@Chenzr888
Copy link
Copy Markdown

@Chenzr888 Chenzr888 commented Jun 2, 2026

摘要 / Summary

  • 在画廊状态筛选旁新增紧凑垃圾桶按钮 / Add a compact trash action next to the gallery status filter
  • 清理所有失败生成记录前弹出确认框 / Confirm before clearing all failed generation records
  • 通过 clearFailedTasks() 复用现有批量删除流程 / Reuse the existing multi-task deletion flow via clearFailedTasks()
  • 增加 store 测试,验证完成任务和运行任务会被保留 / Cover the action with a store test that preserves done and running tasks

Closes #94

验证 / Verification

  • npm test
  • npm run build

@Chenzr888 Chenzr888 changed the title feat: add clear failed task action feat: add clear failed task action / 添加清理失败记录入口 Jun 2, 2026
@CookSleep CookSleep merged commit 086e2d0 into CookSleep:main Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add quick action to clear failed generation tasks / 添加一键清理失败生成记录

2 participants