-
Notifications
You must be signed in to change notification settings - Fork 50
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
CP3108 Staff Dashboard - Backend Modifications for Playground Default Source Version Selector #585
Conversation
I'm running into some issues setting up and running locally with this branch:
The errror seems to be complaining that the users_nusnet_id_index is no longer unique upon reinserting the default groups of users in priv/repo/seeds.exs. I've tried dropping the database and rerunning ecto.setup which will not produce this error but it does not seem to affect the next error I hit when attempting to switch the chapter in the frontend: Switching to any of the 4 chapters produces this error:Here is what I am getting on the backend:
|
Pull Request Test Coverage Report for Build 2900
💛 - Coveralls |
Context
This PR is for modifying the backend API to support the Playground Default Source Version Selector for the CP3018 Staff Dashboard project.
The Playground Default Source Version Selector is meant to allow staff to easily change the default source version for the playground.
Implementation
Added a new table, 'Chapter'. The table contains a single entry with the current default source version. Added GET and UPDATE routes.
Other Information
Corresponding PR to cadet: source-academy/frontend#1073