feat: 同步动作与首帧编辑能力并统一工作区反馈
接入动作时间轴、密度审计、人工视线目标和后台首帧编辑;独立读取已保存提示词,并在首帧晋升前重新核对持久化质量状态。 统一 NMessage 结果反馈、局部 loading 和业务说明间距,保留真实长任务进度与部分失败语义。 验证:pnpm check(49 个文件、393 项测试)、pnpm build;当前环境无法完成 localhost 浏览器验收及真实后端联调。
This commit is contained in:
1 parent
83482a70c5
commit
7a60db3ced
76 files changed
+2485
-457
No files matched your search
@@ -106,7 +106,7 @@ async function openProject(initialPath: string) {
|
||||
}
|
||||
|
||||
describe('剧本完成前的下游访问限制', () => {
|
||||
it('身份请求加载、成功和失败均使用临时消息,切换主体不遗留横幅', async () => {
|
||||
it('身份请求不使用全局加载消息,完成和失败使用临时消息且不遗留横幅', async () => {
|
||||
vi.useFakeTimers()
|
||||
const id = 'identity-message-test'
|
||||
vi.spyOn(projectsApi, 'detail').mockResolvedValue(project(id, 'completed'))
|
||||
@@ -119,7 +119,7 @@ describe('剧本完成前的下游访问限制', () => {
|
||||
Object.assign(operation, { pending: true, notice: '' })
|
||||
await flushPromises()
|
||||
expect(wrapper!.find('.project-notices').exists()).toBe(false)
|
||||
expect(document.querySelector('.n-message--loading-type')!.textContent).toContain('AI 生成主体身份,请稍候')
|
||||
expect(document.querySelector('.n-message--loading-type')).toBeNull()
|
||||
await router.replace({ query: { subjectId: 'second-subject' } })
|
||||
Object.assign(operation, {
|
||||
pending: false,
|
||||
|
||||
Reference in new issue
Block a user