ddcat666
|
5f359f2b1d
|
feat(canvas): 画布同步 - 新增操作事务、预演保存与并发恢复能力
|
2026-10-11 22:36:47 +08:00 |
|
 ddCatandCursor
|
f3875357a8
|
fix(canvas): 画布版本 - 合并 PR #528 防止旧内容覆盖并支持历史恢复
将画布 revision CAS 与历史快照接到 schema v23,保留当前顶栏积分弹窗和已有菜单入口。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-18 10:40:23 +08:00 |
|
 ddCatandCursor
|
648c30983f
|
style(web): 工作台入口 - 侧栏容量加硬盘图标,积分入口改为礼盒标
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-18 10:30:08 +08:00 |
|
 ddCatandCursor
|
87d92fcf8b
|
feat(web): 积分中心 - 改为全局弹窗并去掉独立钱包页
顶栏、账户菜单、命令面板、画布余额和 /wallet 回跳都打开同一积分中心弹窗,支付结果不再跳进整页超市。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-17 23:32:19 +08:00 |
|
kinoko
|
35ebed3097
|
fix(canvas): 画布 - 防止旧内容覆盖并支持版本历史恢复
|
2026-09-17 18:40:42 +08:00 |
|
 ddCatandCursor
|
4bac05e361
|
fix(canvas): 画布保存 - 修复重生成媒体绑定死锁并新增手动保存与强制覆盖保存 (#517)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-16 23:56:07 +08:00 |
|
 ddCatandCursor
|
54f51c44ed
|
feat(web): 用户工作台 - 产品化壳层、内容库布局与积分入口
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-16 22:59:45 +08:00 |
|
VicoHu
|
8f018ae6bf
|
fix(canvas): 画布保存 - 修复重生成媒体绑定死锁并新增手动保存与强制覆盖保存
|
2026-09-16 18:29:48 +08:00 |
|
ddCat
|
9727656b2b
|
chore: commit workspace updates
|
2026-09-14 01:11:56 +08:00 |
|
ddCat
|
45ab6d3797
|
feat(*): 创作工作台 - 优化全景打光交互、生成模式与图片缓存
|
2026-09-12 00:12:13 +08:00 |
|
王志伟
|
3ac07ff1fa
|
fix(canvas): Agent 展开时调整顶部工具栏布局
|
2026-09-09 13:02:20 +08:00 |
|
 ddCatandCursor
|
03cdb91136
|
fix(canvas): 画布顶栏 - 提示改走浮层避免被生成面板遮挡
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-09 09:46:18 +08:00 |
|
ddCat
|
ab89c05362
|
feat(*): 画布创作体验 - 完善 Agent 引导、生成防重、搜索快捷键、素材多选与分辨率兼容
|
2026-08-28 16:24:58 +08:00 |
|
QAyong
|
5b7f173102
|
feat: 完善创作工作台与用户诊断支持 (#295)
* feat(canvas): 参考素材 - 增加移除按钮并删除对应连线
* feat(canvas): 完善节点面板交互与拖拽反馈
* fix(canvas): 画布交互与小地图 - 统一浮层层级并完善节点识别
* feat(prompt-optimizer): 增加 AI 提示词优化器及宿主接入
* feat(canvas): 画布 - 增加自动整理节点按钮并补充文档
* chore(web): 前端 - 修正提示词优化器格式
* chore(backend): 后端 - 修正 Go 格式检查
* feat(workspace): 完善诊断导出与本地排障支持
* chore(web): 格式化诊断导出文件
* fix(web-test): 兼容 Bun 测试运行时
* fix(web-test): 对齐模型目录协议断言
|
2026-08-25 13:49:15 +08:00 |
|
ddCat
|
7043c8ac7a
|
feat(agent): 画布 Agent - 重构工作流上下文与技能交互
|
2026-08-24 12:09:15 +08:00 |
|
QAyong
|
34a207eb39
|
feat(canvas): 画布视觉 - 优化浮动控件与连接线可读性
|
2026-08-22 03:08:15 +08:00 |
|
ddCat
|
d47975f9bc
|
refactor(core): 模型路由与画布 - 收敛渠道模型映射并优化交互
|
2026-08-19 20:27:26 +08:00 |
|
kinoko
|
0e272f3b83
|
feat(canvas): TapNow - 支持公开画布导入 (#255)
(cherry picked from commit 9b96135a5e409b4718e6204ab4212b7ef22635aa)
|
2026-08-19 11:58:06 +08:00 |
|
ddCat
|
d2a089f1ec
|
feat(canvas): 画布能力 - 完善 LibTV 导入与资源预览
|
2026-08-19 07:16:07 +08:00 |
|
ddCat
|
acbbbe1078
|
fix(canvas): 创作界面 - 统一素材选择并修复画布顶栏与暗色交互
|
2026-08-14 18:35:43 +08:00 |
|
 爱笑的毛毛虫andsikongyue
|
7946625be9
|
feat(canvas): 前端重构与渠道兼容 - 重构工作区、任务中心等多页面,修复智能体对话与节点生成
Co-authored-by: sikongyue <3155157671@qq.com>
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/217
|
2026-08-14 12:01:21 +08:00 |
|
 爱笑的毛毛虫andsikongyue
|
971489a336
|
feat(canvas): 沉浸专注与短剧流程 - 支持专注模式与流程条并入顶栏体系 (#157)
- 沉浸专注:进入后隐藏顶部栏、Dock、缩放控件、小地图与素材托盘,保留专注胶囊可唤出工具与智能体;小屏默认进入,⇧⌘F 切换,Esc 在无选中与浮层时退出
- 智能体面板改贴边停靠并按顶栏让位,作为沉浸专注的配套依赖
- 短剧流程条并入顶栏:折叠入口移入顶栏按钮组,展开条锚定顶栏下缘,与工作模式开关互斥
- 流程步骤改为里程碑节点与状态轨道,新增 --flow-step-* Design Token
Co-authored-by: sikongyue <3155157671@qq.com>
|
2026-08-06 08:32:38 +08:00 |
|
ddCat
|
54ffdebbd9
|
fix(canvas): 画布工具栏 - 修复设置面板布局与命令标签遮挡
|
2026-08-05 13:51:52 +08:00 |
|
sikongyue
|
bd73d0a3b7
|
refactor(canvas): 浮层 inset token 体系重建 + 全量应用(审计 D2/P0-2)
#116 曾引入 --canvas-inset-* token,上游合并后丢失。本轮重新建立画布
安全区 token 并全量替换硬编码定位,所有替换值等价(零视觉变化)。
新增 token(globals.css 6b 段,紧随 Elevation):
- --canvas-inset-x/y: 16px 浮层水平/垂直安全区
- --canvas-topbar-h: 64px 顶部栏高度
- --canvas-topbar-offset: 72px 顶栏下方浮层顶部偏移
- --canvas-dock-popover-offset: 50px dock 弹出面板底部偏移
替换:
- dock 根 inset-x-4/bottom-4 → --canvas-inset-x/y
- dock 弹出面板 bottom-[50px] ×4(appearance/add-node/zoom/asset-tray)→ --canvas-dock-popover-offset
- 顶栏 h-16/px-4 → --canvas-topbar-h/--canvas-inset-x
- 活动任务面板 top-[72px] → --canvas-topbar-offset
活动任务面板 right-3(12px) 刻意保留:与 16px 安全区不同且改它会级联到
--canvas-panel-width 公式(PR #130 领地),不宜混入。
|
2026-08-04 21:18:51 +08:00 |
|
 爱笑的毛毛虫andsikongyue
|
d6a42d53a1
|
refactor(canvas): 浮层体系重构 — z-index 14档+专注模式+工具栏click触发 #126 #127 #128 (#129)
按视觉层重设计 z-index(12→14 档),新增节点层/激活节点层/节点工具栏层等
语义 token,并下沉节点内部 stacking context(--node-z-content/overlay/handle)
与 dock 子面板(--dock-z-popover),消除硬编码 z 值。
新增专注模式(避让分屏可切换):use-focus-mode 管理 localStorage 偏好与小屏
(<1024px)强制避让;助手面板从 flex 改为 absolute + 垂直分槽(顶部 288px
让位活动任务面板),画布区按面板宽度动态 padding;顶栏新增 PanelRight
切换按钮并带强制态反馈。
节点工具栏由 hover+select 触发放为 click-only(选中即显),组件由
canvas-node-hover-toolbar 重命名为 canvas-node-toolbar;移除 project 与
render-model 中冗余的 toolbarNodeId 状态。
活动任务面板 z-index 由 --z-modal-overlay(110) 降至 --z-panel-floating(80),
归位浮动面板层;AGENTS.md Elevation 同步至 14 档。
Co-authored-by: sikongyue <3155157671@qq.com>
|
2026-08-04 20:46:25 +08:00 |
|
ddCat
|
f439d600ba
|
feat(*): 功能开放与页面布局 - 新增运维开关并优化后台及创作界面空间利用
|
2026-08-04 16:24:18 +08:00 |
|
 爱笑的毛毛虫andsikongyue
|
d22526506d
|
feat(canvas): 设计token系统 - 建立三层架构骨架 (#101)
* feat(canvas): 设计token系统 - 建立三层架构骨架 #94 #96
建立 Primitive→Semantic→Component 三层设计 token 体系,覆盖 9 个维度:
色彩/间距/字号/圆角/阴影/Elevation/动效/描边/不透明度。
- Primitive 层:纯值无语义,含 neutral 色板+节点类型色板+状态色、
4px 栅格间距、10档字号、10档圆角、阴影+glow、12档 z-index、
动效(duration+easing+delay+motion-scale)、描边、不透明度
- Semantic 层:引用 Primitive,随主题切换,含通用语义色、
Canvas 语义(--cn-*)、Aceternity spatial 语义、节点类型语义、状态语义
- Component 层:引用 Semantic,含 Dock/Node/Modal/Panel/Prompt面板/
进度条/缩放控制专属 token
- @theme inline 映射:节点类型色、状态色、Canvas 语义色、字号映射到 Tailwind utility
- prefers-reduced-motion 三级降级(L0正常/L1简化/L2禁用)
- AGENTS.md 新增 Design Token 使用规范,禁止新增裸 px 值
- 附带修复 canvas-drawing-excalidraw-editor.tsx TS7006 类型注解
- 附带修复 canvas-drawing-editor-modal.tsx TS2339 engine 字段缺失
Wayfinder 决策来源:#95 #96 #97 #98 #99
* fix(canvas): 设计token系统 - 修复CSS变量循环引用和命名兼容性 #94 #96
修复两个问题:
1. CSS变量循环引用:Primitive层 --color-node-*/--color-status-* 与
@theme inline 中的 --color-node-*/--color-status-* 同名,经 Semantic
层中转后形成循环(A→B→A)。改用 --palette- 前缀隔离 Primitive 色板,
打断循环链路。
2. 变量名小数点兼容性:--space-0.5/1.5/2.5/3.5 中的小数点被部分 CSS
linter 误判为类选择器。改为 --space-half/-1-half/-2-half/-3-half,
保持语义清晰的同时提升工具链兼容性。
* refactor(canvas): 画布核心组件 - 迁移硬编码值到设计token #94
批次1:5个画布核心组件的裸 text-[Npx]/rounded-[Npx]/z-[N] 替换为
对应设计token,统一视觉语言:
- canvas-node.tsx:text-[10/11/9/17px]→fs-tiny/label/micro/heading-lg,
rounded-[18px]→node-radius
- canvas-node-hover-toolbar.tsx:text-[11/17/10/9px]→fs-*,
rounded-[14/9px]→dock-radius/dock-item-radius,z-[70]→z-panel-floating
- canvas-toolbar.tsx:text-[9/10/11px]→fs-*,
rounded-[17/16/11/10px]→panel-radius/dock-item-radius-*,
z-[30/40]→z-toolbar/z-toolbar-floating
- canvas-assistant-panel.tsx:text-[8/9/10/11px]→fs-*
- canvas-script-node.tsx:text-[9/10/11px]→fs-*
视觉零回归(token值与原硬编码值一致),代码可维护性提升。
* refactor(canvas): 画布辅助组件 - 迁移硬编码值到设计token #94
批次2:6个画布辅助组件的裸 text-[Npx]/rounded-[Npx]/z-[N] 替换为
对应设计token:
- canvas-style-picker-modal.tsx:text-[10/11px]→fs-tiny/label
- canvas-file-drop-overlay.tsx:z-[110]→z-modal-overlay,
rounded-[28/20px]→r-5xl/r-3xl
- canvas-character-reference-node.tsx:text-[10px]→fs-tiny
- canvas-drawing-editor-modal.tsx:text-[11px]→fs-label
- canvas-video-prompt-tools.tsx:z-[1500]→z-toast,
rounded-[12/10px]→r-lg/dock-item-radius
- asset-picker-modal.tsx:text-[10px]→fs-tiny
视觉零回归(token值与原硬编码值一致)。
* refactor(*): 全项目硬编码值 - 批量迁移到设计token #94
批次3:全项目 .tsx 文件中 372 处裸 text-[Npx]/rounded-[Npx] 批量
替换为对应设计token,剩余 25 处无直接 token 对应的低频值保留。
替换覆盖(按频率):
- text-[10px]→fs-tiny (132处)
- text-[11px]→fs-label (100处)
- text-[9px]→fs-micro (45处)
- text-[12px]→fs-caption, text-[13/14px]→fs-body, text-[15px]→fs-body-lg
- text-[18px]→fs-heading-lg, text-[22px]→fs-title, text-[8px]→fs-micro
- rounded-[9/10px]→dock-item-radius, rounded-[12px]→r-lg
- rounded-[14px]→dock-radius, rounded-[16px]→r-2xl
- rounded-[17px]→panel-radius, rounded-[8px]→r-md
涉及 components/ 和 pages/ 下所有 .tsx 文件。
视觉零回归(token值与原硬编码值一致)。
* feat(canvas): 节点视觉层次规范 - 色带+状态徽章+四态递进 #97 #94
基于 Wayfinder 地图 #97 决议执行节点视觉重设计:
1. 节点类型色带(决策1)
- 新增 nodeTypeColorVar() 函数,10种节点类型对应色带色
- 节点左侧3px色条,引用 --cn-type-* token
- 远距离最强信号,用户扫视画布即可识别节点类型
2. 节点状态徽章(决策2)
- 新增 NodeStatusBadge 组件,loading/success/error 三态
- 左上角圆角徽章,backdrop-blur 玻璃质感
- success 态 2s 后自动淡出(canvas-status-success-fade 动画)
3. 四态递进视觉权重(决策3)
- idle:无额外阴影
- hover:轻微抬升阴影(16px 48px)
- selected:2px 边框环(accent.primary 40% 透明度)
- selected-primary:4px 软色环 + resize handle
- active:6px 外发光环 + inner glow(最强强调)
- 120-150ms ease-out 过渡
4. 阴影迁移
- boxShadow 从硬编码改为分层语义化表达
- 边框色 hover 态使用 color-mix 动态加深
Closes #97
---------
Co-authored-by: sikongyue <3155157671@qq.com>
|
2026-08-03 21:38:38 +08:00 |
|
 爱笑的毛毛虫andsikongyue
|
0317ac5bc7
|
feat(canvas): 框选 - 新增工具栏「框选」工具,空白处拖动框选后自动回到移动与选择 (#78)
Co-authored-by: sikongyue <3155157671@qq.com>
|
2026-08-02 14:40:20 +08:00 |
|
 ddcat666andddCat
|
ea15000541
|
feat: 完成短剧项目空间与结构化资产创作闭环 (#38)
* feat(canvas): 短剧项目空间 - 建立项目章节与画布关联 MVP
* feat(canvas): 短剧项目空间 - 完善项目资产、镜头与流程闭环
Refs #30
* fix(deploy): 本地部署 - 修复前端构建并忽略本地 PostgreSQL 配置
* feat(*): 短剧项目空间 - 完成项目、章节、资产、角色与画布创作闭环
Refs #30
---------
Co-authored-by: ddCat <ddcat666@88.com>
|
2026-07-27 10:45:11 +08:00 |
|
ddCat
|
aea35896eb
|
feat(platform): 开源发布 - 初始化 Open AI Canvas
|
2026-07-22 14:29:10 +08:00 |
|