icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
54 stars 64 forks source link

feat: create hover view #836

Closed KevinWu098 closed 7 months ago

KevinWu098 commented 9 months ago

WIP To-Dos

Summary

  1. Implement a HoveredStore to store the currently hovered course
  2. SectionTableBody will access and update HoveredStore when a section is hovered
  3. Hovered Courses will be appended to events passed to the Calendar

chrome-capture-2023-11-6 (1)

Test Plan

  1. Check that it correctly displays the course on the calendar
  2. Light and Dark mode compatibility
  3. Doesn't activate on Added Pane
  4. Doesn't activate on already added courses

Issues

Closes #828

Future Followup

  1. Remove the schedule conflict feature, since this covers much of the same functionality? Unsure on this (since SC is my baby 🥺, but it's a valid question)
KevinWu098 commented 9 months ago

TL;DR of latest changes:

  1. "Hovered" courses are now 80% opacity
  2. Settings Menu has some updated styling
  3. Preview Mode is now in settings menu, defaulting false

I've chosen not to move Schedule Conflict into the experimental menu, as after some further thought, I agree with Eric on that it's a feature people have gotten used to, but I'm happy to circle back to that as needed