feat(design): integrate conversation-first creation flow
This commit is contained in:
1 parent
14efa99f0c
commit
945b40de11
14 files changed
+374
-234
No files matched your search
@@ -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: '先选择作品形状。',
|
||||
|
||||
Reference in new issue
Block a user