Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Support unselected and starred courses #12

Open
5 tasks done
raxod502 opened this issue Jul 3, 2018 · 0 comments
Open
5 tasks done

Support unselected and starred courses #12

raxod502 opened this issue Jul 3, 2018 · 0 comments
Assignees
Labels

Comments

@raxod502
Copy link
Contributor

raxod502 commented Jul 3, 2018

From @PythonNut on January 13, 2018 0:27

Presently, all courses are selected. The ability to select and star courses is important, so it will need to be reimplemented.

Plan

  • Switch store's courseList field from a List to an OrderedMap and map from the courseIds to Maps with the selected and starred properties.
  • Write four new actions w/ creators selectCourse, unselectCourse, starCourse, unstarCourse.
  • Write the relevant reducers in src/reducers.js.
  • Modify CourseListItem to send these actions.
  • Update VisibleMainPanelSchedule to take these properties into account when computing the current schedule.

Copied from original issue: hyperschedule/hyperschedule#48

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants