patelc75 / coop-scheduling Goto Github PK
View Code? Open in Web Editor NEWCo-op School's app to schedule classes based on classroom, teacher, specialist, and class schedule
Home Page: http://thecoopschool.org/
Co-op School's app to schedule classes based on classroom, teacher, specialist, and class schedule
Home Page: http://thecoopschool.org/
Confirm with Mandy that Some specials don't apply to specific classes
If so add a new key/value pair called classes
in specials.json
as shown below:
{
"title": "spanish",
"specialist": "carla",
"room": "library, music",
"num_per_week": "5",
"num_of_groups": "2",
"duration_in_mins": "30 mins",
"google_calendar_id": "thecoopschool.org_i28t6js6u9mc8i2c62t48g18eg@group.calendar.google.com",
"classes": "bumblebees", "dragonflies"
}
Because 1 special slot alternates between two specials and therefore 2 teachers, so we need 1 special to map to 2 GCals
num_per_week
is 5) for the remaining days of the week in a new method (eg. create_events_for_remainder_of_week
.store_special_in_cal_events
Cache results of fetch_calendar main function so calendars aren't repeatedly fetched and created on each iteration of the loops. See coop_scheduler.rb
Line 186
Cache these:
cal_specialist_input
cal_specialist_output
cal_class_input
cal_class_output
puts statements:
From the Google API
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars
DELETE /calendars/calendarId
"Calendar List" - a list of all calendars on a user's calendar list in the Calendar UI.
Naming convention of calendars:
Special In | Gardening Sophie
Special In | Spanish Carla
....
Class In | Pre-K | Dragonflies
Class In | Pre-K | Catydids
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.