Open Apexal opened 5 years ago
Turns out this is easier than it seems. Everything is set up to read/edit users Google calendars. We just need to speak with testers to see what sort of integration they actually want.
I also need to learn what exactly to do with access tokens in terms of storing them in the database.
I seem to have fixed the token issue! Time to move forward.
I think that best option is to create a new calendar for the user for work blocks.
I implemented creating a new calendar for work blocks.
Now I need to learn how to detect changes from Google Calendar to update LATE's db.
If possible, creating/updating/deleting GCal events should be moved into the Block model pre-save, and pre-remove hooks.
I think this had broken and I disabled it. I must return to it and finalize it since it is super important.
GCal integration is now done for all blocks. Creating the course schedule still is disabled and needs to be redone.
NOT done for all blocks. GCal gets out of sync when an assessment gets deleted and when an assessment gets completed early. Refactoring all of the GCal methods now.
GCal Block events should be in sync now. Time for the course schedule...
LATE should offer the ability to connect to your Google Calendar and put your work blocks into your Google calendar (and keep them synced of course).