Skip to content

fix(init): replace confirm prompts with toggle to fix false display#10231

Merged
davidfirst merged 2 commits intomasterfrom
fix/init-confirm-prompt-display
Mar 18, 2026
Merged

fix(init): replace confirm prompts with toggle to fix false display#10231
davidfirst merged 2 commits intomasterfrom
fix/init-confirm-prompt-display

Conversation

@davidfirst
Copy link
Member

The enquirer confirm prompt renders the boolean initial value literally as "false" instead of showing N or No. Switched both yes/no prompts in bit init to use toggle type which properly displays No / Yes with the active option underlined.

The enquirer confirm prompt renders boolean initial values literally as
"false" instead of "No". Switch to toggle prompts which properly display
Yes/No options.
Copilot AI review requested due to automatic review settings March 16, 2026 20:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Bit’s interactive bit init prompts to use Enquirer’s toggle prompt style (with explicit “Yes/No” labels), improving clarity and consistency for boolean choices during host initialization.

Changes:

  • Switched the “external package manager” prompt from confirm to toggle and added enabled/disabled labels.
  • Switched the “set up MCP server” prompt from confirm to toggle and added enabled/disabled labels.

You can also share your feedback on Copilot code review. Take the survey.

@davidfirst davidfirst enabled auto-merge (squash) March 18, 2026 20:17
@davidfirst davidfirst merged commit 95e8cb0 into master Mar 18, 2026
12 checks passed
@davidfirst davidfirst deleted the fix/init-confirm-prompt-display branch March 18, 2026 20:52
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.

3 participants