Skip to content

feat(tasks): prioritize running undone tasks by default#502

Open
Ironboxplus wants to merge 1 commit into
OpenListTeam:mainfrom
Ironboxplus:merge
Open

feat(tasks): prioritize running undone tasks by default#502
Ironboxplus wants to merge 1 commit into
OpenListTeam:mainfrom
Ironboxplus:merge

Conversation

@Ironboxplus
Copy link
Copy Markdown

@Ironboxplus Ironboxplus commented May 8, 2026

Description / 描述

在未完成任务列表中,按任务状态优先级排序:正在运行的任务(state=1)排在最前,其次是等待中/排队中的任务(state=0,8,9),最后是已取消/出错等其他状态(state=3,5,6)。仅在 undone 视图、按名称排序且未反转时生效。

Motivation and Context / 背景

此更改让运行中的任务自动置顶,提升任务管理效率。

How Has This Been Tested? / 测试

  • running 状态任务排在最前
  • 点击名称列之后按名称排序
  • 验证 done 视图不受影响

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
  • I have formatted my code with go fmt or prettier.
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking
    permissions).
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
  • I have updated the repository accordingly (If it's needed).

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.

1 participant