feat: migrate prompts from survey to huh
Description
- feat: migrate prompts from survey to huh
This commit completes the migration from AlecAivazis/survey to charmbracelet/huh for all interactive prompts in production code.
-
Add IOStreams prompt methods (Input, Select, MultiSelect, Multiline, Password, Editor, RunForm)
-
Enhance GitLab theme with orange/purple branding and proper cursors
-
Migrate EditorPrompt in cmdutils to use IOStreams.Editor()
-
issue create: Combined Title + Description into single navigable form
-
issue update: Description editor
-
issue board create: Board name prompt
-
mr create: Combined Title + Description into single navigable form
-
mr update: Description editor
-
mr merge: Merge method selection and commit message editor
-
release create: Combined Title + Release notes into single form
-
stack create: Title prompt
-
stack commands: Editor integration via wrappedEdit()
-
Fix cmdutils_test.go compilation (import cycle, signature updates)
-
Add skipPromptTest() helpers to 4 test files for tests using InitAskStubber (incompatible with huh, marked for future migration)
-
11 tests now skipped with TODO comments
Related Issues
- Resolves #8034 (closed)
- Resolves #8035 (closed)
- Resolves #8036 (closed)
- Resolves #8037 (closed)
How has this been tested?
Detailed testing plan in https://gitlab.com/gitlab-org/cli/-/snippets/4909678