Skip to content

Commit

Permalink
Course Settings Page (#293)
Browse files Browse the repository at this point in the history
* unlisted courses from creation

* added test cases to unlisted course creation

* adding a settings page for courses

* test cases for unlisted course creation

* added toggle for question feedback form

* partially working hide open queue

* finished course settings page

* course settings page

* fix

* redesigned the course settings page & cleaned up routes

* added test for course

* added tests for removing question feedback modal

* finished tests and moved course/queue filtering server-side

* deleting unneeded comment

* fixed linter errors

* adding changelog entry

* minor html fixes, added a reducer for updating courses, and added some checks for the isUnlisted and questionFeedback types

* fixing the unlisted & enable question feedback description alignment on course settings page

* Update src/components/courseSettings/DownloadPanel.tsx

Co-Authored-By: Nathan Walters <nwalters512@gmail.com>

* removed unnecessary test cases, optimized sequelize query for get courses and get queues, updated the course settings page, added custom darkmode styling for table & added an admin preview

* adding icon for deleting a queue on queue settings page

* making the linter happy :(

* changing permissions to change name and shortcode of a course to be admin-specific

* fixing up showing edit name or edit shortcode for only admins on general panel

* fixed a bug with variable naming

* modified changelog entry and moved sequelize-cli to devdependencies

* changing filtering for Queues

* added filtering courses test

* added tests to make sure staff can't modify name or shortcode of a course

* adding icons for settings pages

* changed migration

* changed migration

* last fixes (hopefully)

* fixing db issue

* check console statement

* updated test case to handle different queue return orders

* accounting for linter error
  • Loading branch information
rittikaadhikari authored Nov 18, 2019
1 parent dccdfef commit d8da554
Show file tree
Hide file tree
Showing 36 changed files with 1,424 additions and 301 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ When a new version is tagged, the changes since the last deploy should be labele
with the current semantic version and the next changes should go under a **[Next]** header.

## [Next]
* Created a course settings page, which allows for unlisted courses and removal of the question feedback modal. ([@rittikaadhikari](https://github.com/rittikaadhikari) in [#293](https://github.com/illinois/queue/pull/293))

* Handle disabled button states in dark mode ([@nwalters512](https://github.com/nwalters512) in [#294](https://github.com/illinois/queue/pull/294))

Expand Down
Loading

0 comments on commit d8da554

Please sign in to comment.