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

Implement colors for courses #3

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

Implement colors for courses #3

raxod502 opened this issue Jul 3, 2018 · 0 comments
Labels
good first issue Good for newcomers react

Comments

@raxod502
Copy link
Contributor

raxod502 commented Jul 3, 2018

From @PythonNut on January 12, 2018 6:45

Autogenerated colors for course elements (e.g. in the course search, course list, and weekly schedule) is a nice feature and should be brought back.

Plan

  • Bring the code that computes the course colors into src/model.js.
  • Modify components to receive a color prop.
  • Modify containers to pass colors generated using the code from src/model.js.

Relevant components are:

  • CourseSearchItem
  • CourseListItem
  • MainPanelSchedule

(And their corresponding containers)

Copied from original issue: hyperschedule/hyperschedule#39

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers react
Projects
None yet
Development

No branches or pull requests

1 participant