feat: migrate survey prompts to huh (phase 2)
Description
- feat: migrate survey prompts to huh (phase 2)
Related Issues
Resolves #8031 (closed)
How has this been tested?
mr update - "Proceed with changes" / "Cancel" prompt
This prompt appears when you use the --fill flag without --yes:
# This will show the new huh.NewConfirm() prompt with "Proceed with changes" / "Cancel"
./bin/glab mr update <MR_ID> --fill
What to expect:
- It will show "Proposed changes" with the autofilled title/description
- You'll see a prompt: "What would you like to do?"
- Navigate with left/right arrow or tab between:
- "Proceed with changes" (affirmative)
- "Cancel" (negative)
- Press Enter to confirm your choice
- Try pressing Ctrl+C to test cancellation handling
Example:
# Using an MR from your current branch
./bin/glab mr update --fill
# Or with a specific MR number
./bin/glab mr update 123 --fill
Screenshots (if appropriate):
Edited by Kai Armstrong
