Commit Graph

4 Commits

Author SHA1 Message Date
menghao 03a4410272 game agent无限画布开发 (#136)
Project CI / Repository checks (push) Successful in 1m5s
Project CI / Frontend tests (push) Successful in 3m20s
Project CI / Backend tests (push) Successful in 4m1s
Project CI / Native shell tests (push) Failing after 11m56s
主要工作是共享同一套“画布内核与通用 UI 源码”,网站和 Tauri 只分别实现宿主适配层。

---------

Co-authored-by: 段舒康 <kdletters@qq.com>
Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/136
Co-authored-by: menghao <mh18530625731@163.com>
Co-committed-by: menghao <mh18530625731@163.com>
2026-08-12 10:54:16 +08:00
kdletters 028a648d9c 复用图标按钮收口生成关闭动作
生成跟随框关闭按钮改为复用 PlatformIconButton 的 surfaceFloating 变体,统一浮动图标动作 chrome。

编辑器薄包装 EditorIconButton 透传 variant,避免局部再写一套关闭按钮基础样式。

补充测试与 TRACKING,删除本地关闭按钮重复 CSS。
2026-06-14 17:54:31 +08:00
kdletters fd768493fa 复用媒体框收口侧栏缩略图
编辑器 SidebarMediaItem 缩略图改为复用 PlatformMediaFrame,统一素材和图层预览框结构。

删除侧栏缩略图内部 img 填充的重复 CSS,保留编辑器局部尺寸和背景样式。

补充 primitive 测试覆盖共享媒体框委托,并更新 TRACKING。
2026-06-14 16:41:41 +08:00
kdletters 3f7b0674c0 收口编辑器图标按钮组件
EditorIconButton 改为委托 PlatformIconButton,保留编辑器本地样式入口。

新增编辑器按钮 primitive 测试,覆盖可访问属性和平台图标按钮 chrome。

更新 TRACKING 记录本次组件复用收口。
2026-06-14 14:32:39 +08:00