Repository navigation
feat(client): support collapsing backlog and todo columns in board view - #65
Merged
Merged
Conversation
jw5555555555
force-pushed
the
feat/backlog-column-collapse
branch
from
October 26, 2026 08:45
bde6103 to
ecf356a
Compare
Owner
|
与dev最新代码有冲突哈,麻烦解决下冲突。 |
cloader
added a commit
that referenced
this pull request
Oct 31, 2026
feat(client): integrate collapsible backlog and todo columns (#65)
Owner
维护者补充(2026-10-31)感谢 @jw5555555555 的贡献! 已通过集成 PR #69 合入 存储配额异常测试已改为对
|
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.
改了什么?
为任务看板的「待规划 (Backlog)」与「待办 (Todo)」两列增加与「已完成 (Done)」列对齐的侧边折叠/收起能力,为正在推进的卡片释放更多横向展示空间:
状态管理与持久化 (
BoardController):ControllerState中增加backlogCollapsed: boolean与todoCollapsed: boolean字段;setBacklogCollapsed(collapsed)与setTodoCollapsed(collapsed)控制方法;loadView()与persistView()中同步读写VIEW_KEY(localStorage),页面刷新后状态不丢失,严格布尔类型校验降级保护。列头折叠交互与紧凑收起条渲染 (
TaskBoard.tsx):.dsh-atb-colhead)右侧增加折叠按钮(.dsh-atb-colfoldbtn),携带中英文提示;data-collapsed="true",42px 宽),展示状态圆点、竖排文字(「待规划」/「待办」)、卡片数量徽标与展开按钮;双语国际化支持 (
en.ts/zh.ts):board.column.collapseBacklog、board.column.expandBacklog、board.column.collapseTodo、board.column.expandTodo中英文字条。单测覆盖 (
tests/client.spec.ts/tests/i18n.spec.ts):如何验证?
npm run typecheck(tsc --noEmit) 通过npm run build打包构建通过npm test(全量 44 files / 588 tests) 全部通过关联 Issue(可选)
无。来自日常看板多列平铺时的横向空间优化需求。