- Remove channel connection step from onboarding flow (6 steps -> 5 steps) - Users can now start using ClawX immediately - Channel configuration moved to Settings > Channels (future) - Update architecture doc to reflect simplified setup flow - Reduces onboarding friction for new users
2.2 KiB
2.2 KiB
Commit 13: Remove Channel Setup Step
Overview
Simplified the setup wizard by removing the channel connection step. Users can now start using ClawX immediately and configure messaging channels later in Settings.
Rationale
- Channel connection (WhatsApp, Telegram, etc.) is complex and requires external platform configuration
- Not required for core functionality - users can use the built-in chat interface directly
- Reduces onboarding friction for new users
- Progressive disclosure - advanced features available when needed
Changes
1. Setup Wizard (src/pages/Setup/index.tsx)
Steps reduced from 6 to 5:
| Before | After |
|---|---|
| 0: Welcome | 0: Welcome |
| 1: Runtime | 1: Runtime |
| 2: Provider | 2: Provider |
| 3: Channel | (removed) |
| 4: Skills | 3: Skills |
| 5: Complete | 4: Complete |
Code changes:
- Removed
channelstep fromstepsarray - Updated
currentStepindices for content rendering - Updated
useEffectforcanProceedvalidation - Removed
selectedChannelstate variable - Removed
ChannelContentcomponent andChannelinterface - Updated
CompleteContentto remove channel row - Added note about configuring channels in Settings
2. Architecture Document (ClawX-项目架构与版本大纲.md)
- Updated section 2.4.2 setup wizard steps (removed ChannelStep)
- Updated directory structure (added ChannelsSettings.tsx to Settings, removed ChannelStep.tsx)
- Updated v0.5.0 milestone to note channel connection is deferred
User Experience
Before:
Welcome → Runtime → Provider → Channel → Skills → Complete
↑
(complex, often skipped)
After:
Welcome → Runtime → Provider → Skills → Complete
↓
"Configure channels in Settings"
Files Changed
src/pages/Setup/index.tsx- Removed channel step (-140 lines)ClawX-项目架构与版本大纲.md- Updated documentation
Future Work
- Implement Settings > Channels page with:
- WhatsApp QR code scanning
- Telegram bot token configuration
- Discord/Slack OAuth flows
- Connection status indicators