feat(tasks): add copy queue controls and task visibility - #629
Open
fryeggs wants to merge 1 commit into
Open
Conversation
Co-Authored-By: OpenAI Codex <noreply@openai.com>
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
This PR improves the task page for large copy queues and adds an administrator-only pause/resume control for queued copy work. Running and waiting counts are visible, running tasks can be isolated, unfinished tasks refresh frequently, completed tasks refresh and sort by completion time, and non-English locales fall back to English for newly added keys.
本 PR 面向大型复制队列改进任务页面,并为管理员增加排队复制任务的暂停/恢复控制。页面显示运行中/等待中数量,可只查看运行任务;未完成任务高频刷新,已完成任务按完成时间刷新和排序;非英语语言缺少新键时自动回退到英语。
Related repository PRs / 关联仓库 PR:
Testing / 测试
pnpm exec prettier --check src/app/i18n.ts src/lang/en/tasks.json src/pages/manage/tasks/Copy.tsx src/pages/manage/tasks/Task.tsx src/pages/manage/tasks/Tasks.tsxpnpm buildChecklist / 检查清单
prettier.AI Disclosure / AI 使用声明
Tools used / 使用工具:
Usage scope / 使用范围:
Code generation / 代码生成
Refactoring / 重构
Tests / 测试
Translation / 翻译 fallback keys
Review assistance / 审查辅助
I have reviewed and validated all AI-assisted content included in this PR.
I have ensured that this AI-assisted commit includes
Co-Authored-Byattribution.I can reproduce the checked behavior from the committed source and test commands without relying on hidden runtime state.