fix completion tomorrow preview progression for buddy sessions#175
Conversation
Use day-based progression math for the completion tomorrow line so buddy sessions and any non-canonical completed durations still show the viewer's correct next sit duration. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe change fixes the completion screen's "tomorrow" sit preview for buddy participants by clarifying the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 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. 📋 Issue PlannerBuilt with CodeRabbit's Coding Plans for faster development and fewer bugs. View plan used: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
CompletionScreentomorrow preview to use day-based progression (BASE_DURATION + dayNumber * INCREMENT) instead ofduration + INCREMENT.completedDurationand adding a comment to avoid confusing session duration with progression base.durationdiffers from the viewer's canonical day duration.Closes #132.
Test plan
npm run buildHomeViewprogression formula (BASE_DURATION + (currentDay - 1) * INCREMENT)Made with Cursor
Summary by CodeRabbit