roymondchen
|
4bbda354a9
|
feat(editor,dep): collectIdle 使用常驻 Web Worker 做依赖收集
将节点树遍历与 target 匹配下沉到与 collectByWorker 共用的常驻 worker,
避免大页面时主线程卡死;通过可序列化 descriptor 重建内置 target,
失败时回退主线程空闲队列。
|
2026-07-30 17:03:48 +08:00 |
|
roymondchen
|
3fe9cf9b66
|
fix(editor): 修复 IdleTask 任务异常或 clearTasks 时队列卡住的问题
单个任务失败不再中断整批依赖收集,并在 runTaskQueue 中正确重置 taskHandle、始终通过实例队列消费任务。
|
2026-07-28 15:32:58 +08:00 |
|
roymondchen
|
b5abf31066
|
fix(editor): 修复 collectIdle 批次结算与中断时 Promise 挂起问题
引入批次级 Promise 结算,避免快速连续触发或 clearIdleTasks 后 collecting 卡死。
collectIdle 返回 boolean 表示是否完整完成,initService 据此跳过被中断的 stage 更新。
|
2026-07-24 17:17:55 +08:00 |
|
roymondchen
|
9fe10e274c
|
test: 补充 editor、stage、table 单元测试覆盖
|
2026-06-11 18:45:42 +08:00 |
|
roymondchen
|
ab6918f43d
|
test: 完善测试用例
|
2026-05-14 15:26:22 +08:00 |
|
roymondchen
|
94641bad76
|
refactor: 依赖收集相关代码抽出独立成库
|
2023-11-16 19:34:50 +08:00 |
|
roymondchen
|
2d5b7726ef
|
fix(editor): 数据源列表中依赖的key会重复出现
|
2023-11-03 14:58:19 +08:00 |
|
roymondchen
|
35862078b3
|
feat(editor,schema): 支持组件显示条件配置
|
2023-08-04 15:52:55 +08:00 |
|
roymondchen
|
35f9a59f44
|
feat(editor): 新增依赖收集器
|
2023-03-27 19:07:56 +08:00 |
|