Skip to content
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 - Playground Default Source Version Selector #1073

Merged
merged 13 commits into from
May 20, 2020

Conversation

chrystalquek
Copy link
Contributor

@chrystalquek chrystalquek commented Apr 15, 2020

Context

This PR adds the Playground Default Source Version Selector component for the CP3108 Staff Dashboard project. The Playground Default Source Version Selector allows staff to easily change the current default source version using a dropdown menu.

Implementation

  • The Playground Default Source Version Selector is accessible through the navigation bar and can only be accessed by staffs/admin.
  • Added fetch, update and change actions.
  • Added GET and POST requests.
  • Used current redux state to store the default source version.
  • Updated snapshots and added some tests.

Screenshot 2020-04-15 at 10 10 43 PM

Other Information

Corresponding PR to cadet: source-academy/backend#585

Copy link

@dearvae dearvae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coveralls

This comment has been minimized.

@angelsl
Copy link
Contributor

angelsl commented May 19, 2020

The associated backend PR has been merged.

@seanlowjk seanlowjk merged commit 3f929bd into source-academy:sa_2021 May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants