Event Ordering Issue fix - #746
Conversation
|
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 event ordering
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. 🔧 PHPStan (2.2.7)PHP Warning: require(/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory in /vendor/composer/autoload_real.php on line 39 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 |
Description: Fixed. List view was rendering events in the wrong order when “Expand Multi-day Events” was set to “No”.
Cause: Calendar::set_events() sorts event buckets by end time (for navigation bounds). With expand off, that order is left alone. List view then walked those buckets as-is and only sorted within each start-time group—so Late Lunch (ends 3pm) appeared before Event Party (ends 6pm), even though Party starts earlier.
Clickup: https://app.clickup.com/t/1867958/86d32p6gc
After: https://drive.google.com/file/d/1F_1dgIUK48gblZ_dPdD06GOukxPWa3a7/view?usp=drivesdk
Summary by CodeRabbit