feat(history): implement undo/redo grouping#143
Open
WZQHYP wants to merge 1 commit into
Open
Conversation
|
|
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 / 摘要
Motivation / 背景与动机
Changes / 变更内容
packages/plugin-history:packages/plugin-table: (如果修改了表格相关代码,请列出;否则删除此行)Testing / 测试
pnpm testpasses / 全绿pnpm build) / 受影响包构建通过Compliance / 合规自检
CLA signed — 已签署
AI disclosure: the functional code in this PR is not primarily generated by AI. AI assistance, if any, is described below.
AI-assisted notes / AI 使用说明:
使用了 Qoder CN(通义灵码)作为辅助编程工具。具体使用方式:
1. 使用 Repo Wiki 功能帮助理解项目架构和 plugin-history 模块
2. 使用 Quest 模式辅助实现撤销/重做分组的核心逻辑
3. 本人负责了方案设计、代码审查、测试验证和最终集成
核心算法设计(时间窗口分组策略、与 CodeMirror 6 Transaction 的交互方式)由本人主导,AI 辅助生成代码实现。
New dependencies (if any) listed with license & rationale (none if blank):
No build artifacts committed / 未提交构建产物
No secrets /
.env/ personal vault data committed / 无敏感信息Checklist / 自检清单
live-preview-table.ts→ walked through the 12 Table Widget rules in CLAUDE.md(未修改表格相关代码,此项不适用)Screenshots / Recordings · 截图或录屏 (UI changes)