feat(ux): improve first-time user experience#155
Conversation
- JSON tracker without --prd now opens TUI with load dialog instead of erroring at the terminal - Remove 'ralph' from default labels filter so users see all epics by default (can still add labels manually in config) - Show helpful guidance in beads empty state with checklist: - Check for epic beads defined - Show configured labels if any - Mention children and dependencies - Add auto-commit status (✓/✗) to dashboard (d key)
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
WalkthroughAdds runtime control to show the epic loader on startup for JSON trackers without a PRD, converts missing PRD validation into a warning/prompt, exposes tracker-configured labels to the epic selection UI, and surfaces auto-commit in the progress dashboard via prop threading. Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as "CLI (run.tsx)"
participant Config as "Config validator"
participant RunWrapper as "RunAppWrapper"
participant RunApp as "RunApp (TUI)"
participant Tracker as "Tracker plugin (beads/json)"
participant User as "User (TUI)"
CLI->>Config: load config
Config-->>CLI: return config + PRD warning (if json && no prdPath)
CLI->>RunWrapper: create with initialShowEpicLoader=(tracker==='json' && !prdPath)
RunWrapper->>RunApp: mount with initialShowEpicLoader
RunApp->>Tracker: request configuredLabels and tracker data
Tracker-->>RunApp: return configuredLabels, epics
RunApp->>RunApp: init showEpicLoader from initialShowEpicLoader
RunApp->>User: render EpicSelectionView (configuredLabels) and ProgressDashboard (autoCommit)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The default labels filter was changed from 'ralph' to '' so users see all epics by default. Update the test to match.
The JSON tracker without prdPath now produces a warning instead of an error since the TUI will prompt for file selection. Update the test to match the new behavior.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #155 +/- ##
==========================================
- Coverage 45.97% 45.96% -0.01%
==========================================
Files 63 63
Lines 16101 16109 +8
==========================================
+ Hits 7402 7405 +3
- Misses 8699 8704 +5
🚀 New features to boost your workflow:
|
…devex feat(ux): improve first-time user experience
Summary
Improves the developer experience for first-time users by addressing friction points when getting started with ralph-tui.
--prd, the TUI now opens with the load dialog instead of erroring at the terminal'ralph'as the default label filter during setup, so users see all their epics by default (can still add labels manually)Test plan
ralph-tui runwithtracker: jsonin config but without--prdflag - should open TUI with file promptSummary by CodeRabbit
New Features
Improvements
Tests
✏️ Tip: You can customize this high-level summary in your review settings.