fix(create): 参考内容 - 支持添加、独立删除与筛选管理
- 支持参考内容按稳定 ID 删除、筛选、清空、拖拽与触屏交互 - 保留 Vite 生产环境模型 Logo 加载并兼容 Bun 测试 - 同步最新 main,修正相关格式和陈旧测试断言 Co-authored-by: echoD886 <dingxiaojie66@gmail.com>
This commit is contained in:
1 parent
ce448c26cb
commit
19ebfbb3c1
11 files changed
+266
-144
No files matched your search
@@ -47,10 +47,11 @@ describe("canvas resource mention editor", () => {
|
||||
const project = source("../src/pages/canvas/project.tsx");
|
||||
|
||||
expect(editor).toContain("useResolvedCanvasResourceReferences");
|
||||
expect(panel).toContain("<LoaderCircle className=\"size-3 animate-spin");
|
||||
expect(panel).toContain("<LoaderCircle className=");
|
||||
expect(panel).toContain("animate-spin motion-reduce:animate-none");
|
||||
expect(panel).not.toContain("isRunning ? theme.accent.danger");
|
||||
expect(configComposer).toContain("wrapper.dataset.referenceToken");
|
||||
expect(configComposer).not.toContain('result += `@[node:');
|
||||
expect(configComposer).not.toContain("result += `@[node:");
|
||||
expect(project).not.toContain("removeCanvasResourceMention");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user