-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing events in week view #4431
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4431 +/- ##
============================================
- Coverage 29.42% 29.40% -0.02%
Complexity 330 330
============================================
Files 220 220
Lines 7702 7700 -2
Branches 1019 1017 -2
============================================
- Hits 2266 2264 -2
Misses 5436 5436
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Agreed. @jancborchardt wdyt? |
/backport to stable3.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good – thanks for the explanation on the drawbacks. :)
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
b7b43f2
to
c5b5f16
Compare
If there are too many events on the last day of a week (e.g. Sunday), some might be hidden when the "limit events per view" checkbox is checked.
There already is an ongoing upstream ticket at fullcalendar/fullcalendar#6608. The bug is not yet solved by the FC maintainers but there is a (dirty) quick fix available (ref fullcalendar/fullcalendar#6608 (comment)). Unfortunately, this fix introduces some visual regressions because it changes the ordering of events inside the view. Take a look at my screenshots below (basically events are primarily ordered by title now). If there is a proper solution/fix for the ticket we may revert our changes.
In my opinion, missing events are more severe than having a slightly different event order so I strongly recommend moving on with this.
Thanks to @miaulalala for helping me debug this and finding the mentioned issue.
Before
After
Visual regressions
Before
After