krutaw / Playbook

Playbook is a workflow engine for performing various tasks from the perspective of the NOC (Network Operations Center) team's perspective.
MIT License
2 stars 0 forks source link

Fullcalendar integration #1

Open krutaw opened 6 years ago

krutaw commented 6 years ago

Need to write the Django bits to integrate with Fullcalendar to make the creation of on-call schedule "pretty".

krutaw commented 6 years ago

After reading through the Full Calendar documentation, it looks like this is going to require integration of an API (enter http://www.django-rest-framework.org/) and then methods within the API to handle GET/POST/PATCH against the Calendar model. Also, this may require changing of the Calendar model to include all of the necessary object properties (see: https://fullcalendar.io/docs/event-object.)

I've been able to (on my local copy) get Full Calendar to display a calendar, but have not attacked the API side of things thus far. For anyone curious, I'm updating this ticket merely to show progress so that it doesn't look like I just slacked during the time since my last commit. :)

krutaw commented 6 years ago

After some investigation, this looks to not be too terribly difficult. Turns out that the django-scheduler project handles nearly all of the fancy bits so, yay. Commits should be coming in the next day or so with massive modifications to the models (because no need to duplicate them from django-scheduler) and the addition of some jquery love.