-
Notifications
You must be signed in to change notification settings - Fork 1
Frontend blocks #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
We may want to add a "Save" or "Submit" button, or we may just want it to always auto-save. For now, it submits every time $scope.schedule updates.
oh, and I'm hard-coding the schedule ID for now - until we set up some kind of login system or something, we're only going to be supporting one schedule. You'll want to add "SCHEDULE_ID=1" to your .env |
#7 has the PUT stuff in it. Imma take a look at the stuff today. Overall it seems to be aight. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 good expressive use of lo-dash
👍 lookin' good my friend! |
That is pretty sick. I like that angular-drop |
I think I've got the front-end mostly set up to handle schedule blocks and update them accordingly when the user interacts with the UI. I'm having some trouble with the schedule API calls, though: I'm not sure how to make GET give me each block's teacher and student group IDs, and when I PUT a new schedule, it says 200 but doesn't seem to actually update the schedule on the server. Ideally I'd like to spend some time digging into these for my own edification, but for now: any tips from our Ruby guys?