Objective
Add titles and descriptions to form groups using the huh v0.7.0+ feature to improve visual organization and user understanding.
Context
The current interactive form presents all fields in a single flow without clear section separation. Adding group titles and descriptions helps users understand what information is being collected and why.
Approach
Organize the form into logical sections with titles and descriptions:
huh.NewGroup(
huh.NewInput().Title("Workflow Name"),
huh.NewSelect[string]().Title("Trigger"),
huh.NewSelect[string]().Title("Engine"),
).
Title("Basic Configuration").
Description("Let's start with the fundamentals of your workflow"),
huh.NewGroup(
huh.NewMultiSelect[string]().Title("Tools"),
huh.NewMultiSelect[string]().Title("Safe Outputs"),
).
Title("Capabilities").
Description("Select the tools and outputs your workflow needs"),
huh.NewGroup(
huh.NewSelect[string]().Title("Network Access"),
// Network-related fields
).
Title("Network & Security").
Description("Configure network access and security settings"),
huh.NewGroup(
huh.NewText().Title("Workflow Intent"),
).
Title("Instructions").
Description("Describe what you want this workflow to accomplish"),
Files to Modify
- Update:
pkg/cli/interactive.go - Add group titles and descriptions
Acceptance Criteria
AI generated by Plan Command for discussion #7214
Objective
Add titles and descriptions to form groups using the
huhv0.7.0+ feature to improve visual organization and user understanding.Context
The current interactive form presents all fields in a single flow without clear section separation. Adding group titles and descriptions helps users understand what information is being collected and why.
Approach
Organize the form into logical sections with titles and descriptions:
Files to Modify
pkg/cli/interactive.go- Add group titles and descriptionsAcceptance Criteria
Related to [plan] Enhance interactive workflow builder with huh v0.7.0+ features #7216