ComputerScienceHouse / Cal

A beautification for the standard google calendar display
1 stars 3 forks source link

Switching months is not reactive #26

Open andreweggleston opened 4 years ago

andreweggleston commented 4 years ago

When switching months using the arrows at the top, the date changes before the displayed events do; attached is a gif example. Slow switching

Dr-N0 commented 4 years ago

It's a google calendar api call. The lag is the promise waiting to be resolved

andreweggleston commented 4 years ago

What's the viability of grabbing the whole year at a time? Is gapi ok with such a big query?

Dr-N0 commented 4 years ago

Slows down initial page load time. I could load a few months afterwards, but it would slow down the performance of the bootstrap which is the information most likely to be opened first