roymondchen
|
95769d6ae0
|
fix(editor): 数据源配置面板默认激活「数据定义」tab
未指定编辑方法或字段路径时,将 tab 容器默认激活到 fields,避免无 active 状态。
|
2026-06-16 16:34:27 +08:00 |
|
roymondchen
|
8933c46b73
|
fix(editor): sidebar 侧栏项 key 与 SideItemKey 常量对齐
确保侧栏配置与字段编辑时切换 tab 的 key 一致,避免硬编码字符串不一致。
|
2026-06-16 14:12:14 +08:00 |
|
roymondchen
|
c811908971
|
chore: update lockfile v1.8.0-beta.6
v1.8.0-beta.6
|
2026-06-15 20:47:10 +08:00 |
|
roymondchen
|
0774aa8e59
|
chore: release v1.8.0-beta.6
|
2026-06-15 20:46:05 +08:00 |
|
roymondchen
|
2ff7c479c2
|
test(editor): 补齐 CodeSelectCol 单测 uiService.set mock
|
2026-06-15 20:45:50 +08:00 |
|
roymondchen
|
4a8289137b
|
fix(playground): 修复历史恢复后加载 DSL 时缺少页面基线记录
初始 set root 时标记各页面历史栈为已保存,并用 dsl.id 恢复 IndexedDB 历史,避免 restore 后再赋值时走 diff 分支导致无 initial 基线。
|
2026-06-15 20:43:53 +08:00 |
|
roymondchen
|
ffcc734102
|
feat(editor): 查看/编辑时自动切换 sidebar 并定位到对应配置
点击代码块、数据源字段或方法的选择器编辑/查看按钮时,自动切换到对应 sidebar tab,并打开详情中的目标字段或方法配置。
|
2026-06-15 17:43:09 +08:00 |
|
roymondchen
|
b35132e93e
|
feat(editor): 边框方向有配置时显示高亮状态
|
2026-06-15 17:10:55 +08:00 |
|
roymondchen
|
921188d2da
|
refactor(editor): 优化历史记录 IndexedDB 持久化,仅序列化 step diff
避免 serialize-javascript 序列化整份快照,改为结构化克隆写入 IndexedDB;初始历史行展示已保存标记;root-change 事件携带 options。
|
2026-06-12 17:46:55 +08:00 |
|
roymondchen
|
6960bd50e1
|
feat(editor): 增强 *AndGetHistoryId 与 revertById 的 historyIds 能力
*AndGetHistoryId 同时返回原操作结果与 historyIds 数组;revertById/revertPageStepById 统一按 uuids 批量回滚。
|
2026-06-12 16:32:47 +08:00 |
|
roymondchen
|
27fac02e99
|
fix(editor): 仅在使用 left/top 定位时修正节点位置
避免对使用 right/bottom 定位的绝对定位节点误写 left 或 top。
|
2026-06-12 15:04:45 +08:00 |
|
roymondchen
|
1298104732
|
fix(editor): 完善 fixed 与 absolute 定位切换逻辑
EditorNodeInfo 增加 path 复用节点路径,修复 right/bottom 锚定及冲突定位属性的计算问题。
|
2026-06-11 20:48:47 +08:00 |
|
roymondchen
|
9fe10e274c
|
test: 补充 editor、stage、table 单元测试覆盖
|
2026-06-11 18:45:42 +08:00 |
|
roymondchen
|
89cef4e9a9
|
feat(editor): 数据源与代码块历史记录不再合并相邻操作
每条操作独立展示,与页面历史的合并策略区分开。
|
2026-06-11 17:25:54 +08:00 |
|
roymondchen
|
273d13dd1f
|
chore: update lockfile v1.8.0-beta.5
v1.8.0-beta.5
|
2026-06-11 17:06:05 +08:00 |
|
roymondchen
|
771880b994
|
chore: release v1.8.0-beta.5
|
2026-06-11 17:05:03 +08:00 |
|
roymondchen
|
113af7dd51
|
feat(editor): 页面删除前增加确认弹窗并支持危险样式按钮
|
2026-06-11 17:00:10 +08:00 |
|
roymondchen
|
846f05e04d
|
feat(design): popover 支持点击外部关闭
新增 closeOnClickOutside 与 clickOutsideIgnore 配置,
兼容 element-plus / tdesign 衍生浮层。
历史列表面板改用 v-model:visible 配合自动收起。
|
2026-06-11 16:49:54 +08:00 |
|
roymondchen
|
fd652b0d13
|
feat(editor): 页面历史记录点击选中对应画布节点
支持在页面历史 tab 点击记录行选中 diff 中的节点,并联动画布与 overlay;清空页面历史改用 clear-page 事件,避免 restore 时重复触发 change。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-11 16:22:25 +08:00 |
|
roymondchen
|
7d45aa5eec
|
style(editor): 优化历史列表操作区悬停展示与列对齐
将回滚/回到/查看差异收敛为悬停显示的操作区,固定序号列右对齐,并调整「回到」按钮配色。
|
2026-06-11 15:51:44 +08:00 |
|
roymondchen
|
171d31e207
|
fix(stage): 复用 TargetShadow 修正闪烁高亮定位
闪烁提示改为通过 TargetShadow 定位,支持 updateDragEl 校准与滚动偏移。
|
2026-06-11 15:24:50 +08:00 |
|
roymondchen
|
6ba59c0d14
|
feat(editor): 将侧边栏激活面板状态同步至 uiService
|
2026-06-11 15:12:56 +08:00 |
|
roymondchen
|
4f284e8d9c
|
feat(editor): 支持页面初始基线与 root 变更历史记录
设置 root 时为各页建立 initial 基线并展示在历史列表底部;编辑期间再次 set root 按页面粒度写入历史,并抽取历史工具函数以支持撤销下限与持久化恢复。
|
2026-06-11 15:00:11 +08:00 |
|
roymondchen
|
c4ec2c5c72
|
perf(editor): 优化节点信息查找性能
|
2026-06-09 14:23:43 +08:00 |
|
roymondchen
|
48519b0155
|
fix(editor): 优化历史回滚确认流程
|
2026-06-09 11:05:26 +08:00 |
|
roymondchen
|
a965dfb06e
|
refactor(editor): 优化历史记录列表复用
|
2026-06-08 20:09:10 +08:00 |
|
roymondchen
|
614f12adf3
|
feat(editor): 支持历史记录持久化
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-08 17:04:39 +08:00 |
|
roymondchen
|
bddc6f343c
|
feat(editor): 支持按历史记录 uuid 回滚
|
2026-06-05 19:25:50 +08:00 |
|
roymondchen
|
be3a900e6a
|
fix(editor): 修复历史对比属性配置上下文缺失
|
2026-06-05 17:27:20 +08:00 |
|
roymondchen
|
bc555ebdc0
|
chore: update lockfile v1.8.0-beta.4
v1.8.0-beta.4
|
2026-06-04 17:15:03 +08:00 |
|
roymondchen
|
b7d1cea7c1
|
chore: release v1.8.0-beta.4
|
2026-06-04 17:13:59 +08:00 |
|
roymondchen
|
3bd0eecb42
|
fix(editor): 修复合并历史记录信息展示
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-04 17:10:54 +08:00 |
|
roymondchen
|
cd19dec790
|
fix(editor): 修复历史对比样式配置显示
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-04 16:59:08 +08:00 |
|
roymondchen
|
10b70c36bb
|
fix(editor): 禁止缺少变更记录的历史回滚
|
2026-06-04 16:48:24 +08:00 |
|
roymondchen
|
27b2c2c685
|
feat(editor): 历史记录支持操作来源
|
2026-06-04 16:08:52 +08:00 |
|
roymondchen
|
a8a9cf372d
|
chore: update lockfile v1.8.0-beta.3
v1.8.0-beta.3
|
2026-06-04 14:13:01 +08:00 |
|
roymondchen
|
6253d7ed23
|
chore: release v1.8.0-beta.3
|
2026-06-04 14:12:13 +08:00 |
|
roymondchen
|
444d4223a9
|
feat(stage): 非点击画布选中组件时高亮闪烁选中区域
从图层树、面包屑等外部选中组件时,在画布上对选中区域做一次紫色高亮闪烁,
帮助用户快速定位组件;选中页面不触发。支持通过 editor 的 disabledFlashTip 关闭。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-04 14:02:57 +08:00 |
|
roymondchen
|
a9e9e65f9c
|
feat(editor): 历史记录列表展示时间并优化回滚差异弹窗
为历史步骤自动写入 timestamp 并按当天/跨天格式化展示;回滚确认弹窗区分标题与说明,关闭时清理确认回调。
|
2026-06-03 18:09:21 +08:00 |
|
roymondchen
|
42162f2e4a
|
feat(editor): 历史记录差异对比弹窗关闭时派发 close 事件
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-02 19:56:34 +08:00 |
|
roymondchen
|
7a161cab00
|
refactor(editor): 历史记录数据源/代码块 tab 复用通用 BucketTab
|
2026-06-02 19:07:38 +08:00 |
|
roymondchen
|
1cd69b33fe
|
feat(editor): 对比表单支持自定义 loadConfig 加载逻辑
将 CompareCategory 等类型抽取到 type.ts,
新增 CompareFormLoadConfig 支持外部接管表单配置加载,
HistoryDiffDialog 透传 loadConfig 并支持 width 配置及对外导出。
|
2026-06-02 17:03:27 +08:00 |
|
roymondchen
|
12069e0937
|
feat(form): submitForm 支持返回 changeRecords
新增 returnChangeRecords 选项,开启后 resolve { values, changeRecords },
便于命令式调用时获取表单变更记录,并同步更新文档与单测。
|
2026-06-02 16:43:07 +08:00 |
|
roymondchen
|
1b66ab1b88
|
refactor(editor): 抽取 serializeConfig 工具统一序列化配置
将分散在 CodeLink、CodeEditor 及 playground 中重复的 serialize-javascript
序列化逻辑收敛为 @editor/utils/editor 的 serializeConfig 并对外导出复用。
|
2026-06-02 16:34:23 +08:00 |
|
roymondchen
|
64d35d5363
|
fix(form): 对比模式下无 name 字段时不展示差异
避免 name 为空时拿整个 model/lastValues 做对比导致误判
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-02 16:28:08 +08:00 |
|
roymondchen
|
35fc394199
|
feat(form): fieldset legend 支持函数动态生成标题
|
2026-06-02 14:24:09 +08:00 |
|
roymondchen
|
8612311db1
|
feat(editor): 历史记录面板支持自定义扩展 tab 并开放 Bucket/goto 配置
新增 historyListExtraTabs 配置,可在内置页面/数据源/代码块 tab 后追加业务自定义历史 tab。
导出 HistoryListBucket 供复用,GroupRow 支持配置是否允许跳转,Bucket 支持配置是否展示初始项。
|
2026-06-01 19:21:36 +08:00 |
|
roymondchen
|
818b41f07f
|
chore: update lockfile v1.8.0-beta.2
v1.8.0-beta.2
|
2026-05-29 18:56:40 +08:00 |
|
roymondchen
|
9b34124805
|
chore: release v1.8.0-beta.2
|
2026-05-29 18:55:38 +08:00 |
|
roymondchen
|
7a61a35664
|
fix(editor): 显式标注 CompareForm 的 defineExpose 类型以修复 DTS 构建报错
defineExpose 同时暴露 MForm 实例 ref 与递归的 FormConfig ref,导致
vue-tsc 生成声明文件时推断类型过大无法序列化(TS7056)。改为显式标注
暴露类型,使其引用具名别名而非展开完整结构。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-29 18:53:08 +08:00 |
|