fix(onboard): clarify messaging skip prompt#3480
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe messaging channel selection prompt is updated to clarify that pressing Enter with no channels selected skips the setup step. A test validates that this skip behavior is documented in the prompt text. ChangesMessaging Channel Selection Skip Behavior
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
5688156 to
1bdd0b8
Compare
|
✨ Thanks for submitting this PR to clarify the messaging channel selector prompt and add a regression test to ensure the skip wording is correct. This change aims to improve the onboarding process by making it clearer that selecting no channels skips the step. Related open issues: |
1bdd0b8 to
4044e3e
Compare
|
/ok to test 4044e3e |
|
Hey @WuKongAI-CMU — change looks good and the fix matches the issue's UX ask, but the commit shows as Unverified on GitHub. NemoClaw requires verified commits before merge. |
|
@WuKongAI-CMU thanks for the fix here. This PR is blocked by commit signature requirements, so I opened #4027 with the same/squashed work from a signed commit and will close this one to unblock the change. For your next PR, please configure GitHub-verified commit signing before opening it so the required signature check passes on the original PR. GitHub docs: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits |
|
Closing in favor of #4027 because this PR is blocked by commit signature requirements. |
|
Heads-up @WuKongAI-CMU — opened #4026 carrying this forward from a maintainer branch. This PR is double-blocked by:
Rather than wait on both, #4026 applies the same prompt-text update against current main (text retargeted from the now-refactored Plan is to close this as superseded once #4026 merges — flag if you'd prefer otherwise. Thanks for surfacing the UX issue. |
… prompt (#3471) (#4026) ## Summary Surface the implicit skip path in the messaging-channels selection prompt. Reporter pointed out that pre-selected channels force the user into the token prompt loop with no documented escape (the actual escape — pressing the digit to deselect, then Enter — only becomes obvious after entering an empty token at the next step). ## Related Issue Fixes #3471. Supersedes #3480 (WuKongAI-CMU), which carries the same intent but is blocked on (a) commit-verification failure (`no_user`) and (b) a stale-fork base-image build failure unrelated to the diff. ## Changes - `src/lib/onboard.ts`: append "(none selected skips)" to the messaging selection prompt. Applied to the current prompt shape (main has refactored `MESSAGING_CHANNELS.length` to `availableChannels.length`). ## Type of Change - [x] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Verification - [x] `npm run build:cli` clean. - [x] No secrets, API keys, or credentials committed. - [ ] Tests added or updated for new or changed behavior — **intentionally none**, see below. - [ ] Docs updated for user-facing behavior changes (prompt text only, no contract change). **On tests:** the change is a one-line user-facing prompt text update. The original PR (#3480) added a source-text assertion that would be rejected by this repo's `source-shape-test-budget` hook (budget: 0). A meaningful behavior test would need to mock `process.stderr` + `process.stdin` (with raw mode) for a single string of UX copy — outsized for this scope.⚠️ Committed with `--no-verify` (user-authorized): the pre-commit `Test (CLI)` hook hits unrelated timeout flakes on this macOS workstation (Defender/Spotlight contention). CI on Linux runners is the authoritative gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated the messaging-channel setup prompt to clarify that pressing Enter with no channels selected will skip the setup process. * Clarifies expected behavior during onboarding to reduce confusion and accidental selections. * No other onboarding behavior or flows were changed. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/NVIDIA/NemoClaw/pull/4026?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Charan Jagwani <cjagwani@nvidia.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Fixes #3471.
Verification
git diff --checknpm test -- test/onboard.test.ts -t "selecting no messaging channels skips"Signed-off-by: Intern Dev dev@wukongai.io
Summary by CodeRabbit
Tests
Documentation