feat(design): integrate conversation-first creation flow
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
brother7 committed 2026-09-04 07:39:58 +08:00
1 parent 14efa99f0c
commit 945b40de11
14 files changed
+374 -234

No files matched your search

+1 -3
View File
@@ -139,7 +139,7 @@ describe('youth Design projection', () => {
expect(model.readinessMessage).not.toContain('可以开始制作');
});
it('shows only the first consequential choice and concrete quote blockers', () => {
it('projects concrete quote blockers without exposing server decision prompts', () => {
const workspace = designWorkspaceFixture({
form: designFormFixture({
decisionPrompts: [{
@@ -174,8 +174,6 @@ describe('youth Design projection', () => {
const model = projectYouthCreationCard(workspace, { quoteBlockers: blockers });
expect(model.phase).toBe('exploring');
expect(model.activeChoice?.id).toBe('question-1');
expect(model.activeChoice?.options).toHaveLength(3);
expect(model.blockers).toEqual([{
...blockers[0],
message: '先选择作品形状。',