Skip to content

fix: improve channel step UX copy and resume prompt#568

Merged
WcaleNieWolny merged 2 commits intomainfrom
fix/channel-step-ux-copy
Mar 23, 2026
Merged

fix: improve channel step UX copy and resume prompt#568
WcaleNieWolny merged 2 commits intomainfrom
fix/channel-step-ux-copy

Conversation

@WcaleNieWolny
Copy link
Copy Markdown
Contributor

@WcaleNieWolny WcaleNieWolny commented Mar 23, 2026

Summary

  • Replace vague channel step copy with a clear explanation: what a channel is, that nothing goes live until a native build with Capacitor Updater ships to the stores, and a link to channel docs
  • Convert channel confirm ("Do you want a custom channel name instead of production?") into a select with emoji labels: ✅ Use "production" / ✏️ Choose a custom name
  • Convert resume prompt ("Would you like to continue from where you left off?") into a select with emoji labels for consistency: ✅ Yes, continue / ❌ No, start over

Test plan

  • Run node dist/index.js i — channel step should show the new explanation + select
  • Cancel mid-onboarding, re-run — resume prompt should show emoji select instead of yes/no confirm

Summary by CodeRabbit

  • Improvements

    • Switched resume confirmation to a two-choice selector for clearer flow
    • Changed channel selection to a two-choice selector between default and custom names
    • Adjusted channel input placeholder to show examples (e.g., staging, beta, dev)
  • Documentation

    • Added/updated link and guidance for channel (release track) information

- Replace vague channel prompt with clear explanation of what a channel
  is, that nothing goes live until a native build ships, and a link to
  docs (https://capgo.app/docs/live-updates/channels/)
- Convert channel confirm to select: "Use production" vs "Choose a
  custom name" with emoji labels
- Convert resume confirm to select with emoji labels for consistency
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 23, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 55e20c47-ca74-409f-b683-6b6dbd2eac47

📥 Commits

Reviewing files that changed from the base of the PR and between d40fa8a and 2e85e3b.

📒 Files selected for processing (1)
  • src/init/command.ts

📝 Walkthrough

Walkthrough

Replaced yes/no confirmation prompts with 2-option selectors in the init command onboarding flow: resume steps confirmation and channel selection. Updated conditional checks to compare selector string values and revised user-facing channel guidance and placeholder text.

Changes

Cohort / File(s) Summary
Init command prompts
src/init/command.ts
Replaced pConfirm booleans with pSelect returning `'yes'

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hopped through prompts both crisp and new,

Chose “default” or “custom,” yes or no withdrew.
Channels now wear tracks of release,
The init path hums with tidier peace.
🥕✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main changes: improving UX copy for the channel step and updating the resume prompt mechanism from yes/no confirmations to select-based options.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/channel-step-ux-copy

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d40fa8a6d5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Instead of showing "production" as placeholder when the user chose
custom, show "e.g. staging, beta, dev" since they opted out of production.
@WcaleNieWolny WcaleNieWolny merged commit cb465fd into main Mar 23, 2026
13 of 14 checks passed
@sonarqubecloud
Copy link
Copy Markdown

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.

1 participant