* some work
* some work on course popup
update the stories and create the header component
* use chip component in header
* complete CourseHeaderAndActions Component
added course buttons, using proper subcomponents now.
* Change test course to 314
* Add rmp callback
* some unocss updates
* add course button onclick handlers
* add todo for calendar button
* Rename CoursePopup
Old one to "Old", remove "2" from new one
* description stuff done
* Modify story to use proper course info
* Add Grade Distribution Stuff
* Minor tweaks
change style in header
* Add TODO
replace current grade colors with a tailwind palette
* Fix syllabi url
Remove unused variable and unnecessary args to url
* Bunch of renaming
* Kinda complete the handlers
* change grade distribution colors to match updated figma
* change from reducer pattern to state variables, remove chartData from state
* add additional story
* disabled add when course is not open
* use array fill
* Some changes with the instructor names
* trying to get the CES stuff to work
* CES button is working
* remove a todo
* add actual color for dminus
* fix description, start no distribution state
* post merge fixes
* small fixes
* fix: import as type
* fix: some better typescript stuff i think
* fix: manifest.ts
* fix: pr feedback
* Apply suggestions from code review
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* Temporarily uninstalling husky cause github desktop has issues with it
* Cleaned up some code. Removed unnecessary state value on injected popup
* Should've fixed popup alignment issue. Still need to integrate course schedule with calendar. Still debugging.
* Updated CalendarGridStories
* Fix: change to ExampleCourse from exampleCourse
* setCourse and calendar header need work
* Update as part of merge
* Fix: fixed build errors
* Fix: Added Todo
* Chore: Cleaned up useFlattenedCourseSchedule hook
* fix: List now keeps track of state when existing items are switched, while adding new items to the end
* Added back husky
* Update src/views/components/calendar/Calendar/Calendar.tsx
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* refactor: added type-safety, destructuring, etc. ready for re-review
* refactor: got rid of ts-ignore in openNewTabFromContentScript
* Update src/views/components/calendar/CalendarHeader/CalenderHeader.tsx
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* refactor: using path aliasing
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* refactor: using path aliasing
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* refactor: using satisfies instead of as
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* refactor: using satisfies instead of as
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* style: reformatted spacing
* style: eslint import order
* refactor: added new constructor for UserSchedule to avoid passing down null values to child props
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* fix: use StatusType
* fix: use AutoLoadStatus
* fix: use typof SiteSupport.*
* fix: one more of Status to StatusType
* fix: use import type
* fix: use path alias imports
* fix: use Extract
* fix: remove unnecessary import
* fix: **revert this later** - comment out build errs
* fix: add schedule to story
* feat: add props for dividers
* revert: un-comment build errors
This reverts commit 082e9e0269.
* Revert "fix: remove unnecessary import"
This reverts commit 9230346d26.
* Revert "fix: use Extract"
This reverts commit f6aa80d411.
* Revert "fix: use path alias imports"
This reverts commit ea9bf3c635.
* Revert "fix: use import type"
This reverts commit 27fee47778.
* Revert "Merge branch 'fix/Status-to-StatusType' into fix/divider-usage"
This reverts commit b1715ea360, reversing
changes made to 9ccc43ca27.
* fix: dont use magic number
* fix: lint errs
* fix: reorder imports