ufosc / SwampScheduler

The future of scheduling is here.
https://osc.rconde.xyz
GNU Affero General Public License v3.0
22 stars 43 forks source link

Course / section hover color-change #29

Open RobertConde opened 11 months ago

RobertConde commented 11 months ago

The goal is to easily identify groups of courses.

chrisnicollo commented 11 months ago

Working on changing the color of sections in the middle when a course on the left is hovered. Progress is slow, new to Typescript and React

RobertConde commented 11 months ago

This may help you.

This may be a little tough tho.

RobertConde commented 11 months ago

And this too.

chrisnicollo commented 11 months ago

I was able to get a basic version of it working using prop drilling of a state function defined in from ScheduleBuilder.tsx, although the code is currently messy, and I'm not sure if it's the most optimal right now

chrisnicollo commented 11 months ago

Actually after skimming those stack overflow links, it seems like my solution is the somewhat 'expected' one. Code is still a mess though

RobertConde commented 11 months ago

Well, commit it to your fork of this repo. Then make a pull request on yours to ours. I'll be happy to take a look 😃