Skip to content

Advanced parameter sections and validation-gated run workflow #19

Description

@quinCode

Advanced parameter sections and validation-gated run workflow

Parent

PRD #14: Run workspace usability rewrite

What to build

Make the run setup area usable for real configuration work. Core choices stay visible at all times, while schema-driven advanced fields are grouped and collapsed by default. The collapsed summary should show 已修改 N 项.

The run workflow should make readiness explicit: 开始运行 stays visible but disabled until the current draft validates successfully, and any draft change invalidates validation.

Acceptance criteria

  • Core run choices remain visible while advanced schema fields are collapsed by default.
  • Advanced fields are grouped by purpose where metadata allows, with a sensible fallback group.
  • Collapsed advanced sections display 已修改 N 项.
  • 重置高级参数 updates the modified count and invalidates validation when relevant.
  • 验证配置 shows immediate loading feedback and then durable validation status.
  • 开始运行 is always visible but disabled until the current draft has a successful fresh validation.
  • Changing any core choice or advanced override after validation disables 开始运行 again.
  • Validation errors appear inline in the run setup/status area and may also trigger toast feedback.
  • Frontend tests cover fresh validation, stale validation after edits, disabled start, enabled start, and advanced modified counts.

Blocked by

  • Issue 0015: RunDraft state model with safe persistence
  • Issue 0016: Catalog option adapters and searchable configuration comboboxes

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified and ready for an agent to implement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions