fix(calendar): exclude ended sessions from upcoming week view#1237
fix(calendar): exclude ended sessions from upcoming week view#1237mayurigade-hub wants to merge 1 commit into
Conversation
|
@mayurigade-hub is attempting to deploy a commit to the durdana3105's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesCalendar week view ended-session filter
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 install failed: dependency version conflict. Check your lock file or package.json. 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 |
|
please resolve merge conflicts |
Related Issue
Closes #1073
Description
Fixed an inconsistency between the calendar list view and week view where ended sessions were still displayed under the "Upcoming Sessions" section.
Previously, the list view correctly filtered out sessions with
status === "ended", but the week view continued to include them when buildingsessionsByDay. This caused users to see sessions that had already ended in a section intended only for upcoming sessions.Changes Made
status === "ended"when buildingsessionsByDaySteps to Test
status = "ended"Expected Result
Files Changed
src/components/CalendarView.tsxType of Change
Summary by CodeRabbit