Skip to content

fix(frontend): preserve task dialog draft on dismiss - #1012

Merged
xiaomakuaiz merged 1 commit into
chaitin:mainfrom
2379278408:260806-fix-task-dialog-draft
Aug 6, 2026
Merged

fix(frontend): preserve task dialog draft on dismiss#1012
xiaomakuaiz merged 1 commit into
chaitin:mainfrom
2379278408:260806-fix-task-dialog-draft

Conversation

@2379278408

Copy link
Copy Markdown
Contributor

变更内容

  • 保留创建任务弹窗在遮罩、Escape 和关闭按钮关闭后的草稿
  • 点击取消或创建成功后清空草稿
  • 保留有效的模型、宿主机和系统镜像选择
  • 补充草稿关闭行为回归测试

验证

  • tsx --test test/start-develop-task-dialog.test.ts
  • node --test test/create-default-task-dialog-model-selection.test.mjs
  • npx eslint src/components/console/task/create-default-task-dialog.tsx test/create-default-task-dialog-model-selection.test.mjs
  • npm run build

测试环境: https://11180-44fb865d4a1f81e6.monkeycode-ai.online

@2379278408
2379278408 force-pushed the 260806-fix-task-dialog-draft branch from defb059 to b500dfa Compare August 6, 2026 07:27
@xiaomakuaiz
xiaomakuaiz merged commit 1231da2 into chaitin:main Aug 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants