olin-build / abe-web

Web Calendar front-end to ABE (Amorphous Blob of Events)
https://events.olin.build/
MIT License
5 stars 4 forks source link

Events are not visible on greyed-out days beyond the end of the current month #260

Closed HALtheWise closed 3 years ago

HALtheWise commented 6 years ago

When viewing the month view, no events show past the end of the current month, even when that day is visible on the calendar because it is part of the same row. This creates the false impression that nothing is happening then, and is different from how other calendar applications handle this case.

kylecombes commented 3 years ago

This is likely caused by the fact that the events are only fetched for the month being shown (at least on initial load). We need to make sure we fetch the events for all the dates that will be shown on the screen in refreshEvents in actions.js.

Suggested change: increase the start and end dates sent in the URL to the server to include all the visible dates.

Relevant libraries: