Skip to content

Comments

🐛 Fix: Implement hotfix to address events start of week date filter not being returned consistently#471

Merged
that-one-arab merged 3 commits intomainfrom
bug_fix_allday_events_not_returned_when_filtered
Jun 2, 2025
Merged

🐛 Fix: Implement hotfix to address events start of week date filter not being returned consistently#471
that-one-arab merged 3 commits intomainfrom
bug_fix_allday_events_not_returned_when_filtered

Conversation

@that-one-arab
Copy link
Contributor

Closes #428

This hotfix resolves the issue by adjusting start date to be 1 day before the actual start date, this allows us to extend our date range to cover additional events that may not be returned. We ensure that the returned events match the initial date range by manually filtering them.

@that-one-arab that-one-arab requested a review from tyler-dane May 30, 2025 16:56
@that-one-arab
Copy link
Contributor Author

@tyler-dane I realize a test is failing, I'll be sure to address it, but I want to know your thoughts about this approach

@tyler-dane
Copy link
Contributor

I'm good with this approach.

Wondering how it'll work if there are events on Saturday, though. Would those show up on Sunday now?

As long as weird bugs like that aren't introduced and the tests pass, I think we can merge this one

@that-one-arab
Copy link
Contributor Author

@tyler-dane I did smoke test it and it looked fine. Will continue testing and fix failing tests on sunday.

Test was failing due to mock event's start-end date being outdated. Since we now introduce a manual filtering layer in the get events pipeline, we need to ensure that expect statements validated against mock events have correct start-end date range
@that-one-arab
Copy link
Contributor Author

@tyler-dane Fixed failing tests and added videos to better show results. LMK your thoughts.

@that-one-arab
Copy link
Contributor Author

@tyler-dane I guess you missed my notification. i'm going ahead with the merge for now.

@that-one-arab that-one-arab merged commit 93bd6ce into main Jun 2, 2025
4 checks passed
@that-one-arab that-one-arab deleted the bug_fix_allday_events_not_returned_when_filtered branch June 2, 2025 03:17
@tyler-dane
Copy link
Contributor

Looks good. Deployed to prod and seems to be working fine, thanks for finding a creative solution here and seeing it through. @that-one-arab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating an all day event at the start of the week does not display it after refreshing the page

2 participants