Repository navigation
feat(task): 任务分组——分组→清单两级结构与侧边栏树 - #18
Merged
Merged
Conversation
added 7 commits
September 8, 2026 14:07
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.
概要
为任务引入「分组 → 清单」两级归属结构,解决个人任务与公司工作任务混在一起无法区分的问题。任务规划与设计见
.trellis/tasks/09-08-task-list-groups/(prd / design / research)。主要变更
后端
0023_task_list_groups.sql:新表task_list_groups+task_lists.group_id(可空 FK),存量数据零改动application/list_groups.rs:分组 CRUD / 排序 / 删除(解散语义:清单回未分组、任务不动)/ 撤销;task_list_overview侧边栏聚合;inbox 拒绝归组build_task_filters接入listGroupId过滤(含软删除排除);today_tasks(scope)分组过滤task_list_group_create/rename/reorder/delete/undo_delete、task_list_overview前端
TaskSidebarTree):分组折叠记忆、未完成数徽标、dnd 拖拽归组/排序、全套右键菜单、点击分组/清单直达过滤路由/tasks/:listId与/tasks/group/:groupId路由生效、清单下拉按组分层、「按清单分区显示」开关、一次性 工作/个人 分组引导验证
cargo test:193 lib + 13 integration 通过(schema 断言 23)pnpm typecheck通过;pnpm test:unit53/53 通过待人工确认(GUI 场景)