ryanhugh / searchneu

Search over Classes, Professors and Employees at NEU!
https://searchneu.com
GNU Affero General Public License v3.0
74 stars 18 forks source link

Prereqs For fixes #37

Closed edward-shen closed 6 years ago

edward-shen commented 6 years ago

Addresses most issues in #32.

edward-shen commented 6 years ago

While I'm not entirely done with #32 I got what we needed to make this prod ready. There are some questions though:

Why do we have a shouldUpdateComponent( ... ) function when it looks like it only checks for changed state? React automatically updates the component when there's a change to the state. Also still haven't gotten ordering completely down.

I might look into putting most of these helper functions into the base class panel instead, since it's just redundant code.

edward-shen commented 6 years ago

Ryan:

ryanhugh commented 6 years ago

Looks good to me! Changed some of the styles and the Prereq section now looks like this.

One thing we could do is add a tooltip on top of 'Prerequisite for' and 'Optional Prerequisite for' to explain what they are. I'm down to merge for now and add that in the future.

image

ryanhugh commented 6 years ago

Feel free to merge into master!