Skip to content

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.

6 participants