Commit Graph

28 Commits

Author SHA1 Message Date
doprz
2593b371d5 chore: lint and format repo - 1 lint error left 2024-03-07 16:45:35 -06:00
Som Gupta
a99a55788a feat: Calendar Schedule component finished, fix: list didn't allow updates when adding a new schedule (#115)
* 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>
2024-03-06 15:11:30 -06:00
doprz
3a48859ddd fix: openTabFromContentScript TS issue 2024-03-06 15:11:30 -06:00
Dhruv
19fe070491 fix: type issues by using correct import (#111)
* 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
2024-03-06 15:11:29 -06:00
doprz
8a6e9070e0 chore: lint-format-docs-tests-bugfixes (#105)
* docs: add jsdoc

* feat: change enums to as const objects

* chore(test): add themeColors.test.ts

* fix: fix tests and bugs with strings.ts util

* fix: path alias imports and tsconfig file bug

* fix: remove --max-warnings 0
2024-03-06 15:11:27 -06:00
knownotunknown
35fab34445 feat: can open tabs, updated injected popup heading. basically done 2024-03-06 15:10:30 -06:00
Razboy20
0560a01a55 refactor: Replace Webpack with Vite (#53) 2024-01-24 19:40:30 -06:00
Sriram Hariharan
aea9b16f98 refactoring courseschedule storage 2023-09-17 19:29:00 -05:00
Sriram Hariharan
9658697d96 fxied 2023-09-17 15:25:14 -05:00
Sriram Hariharan
1fac71dbd1 generating calendar html 2023-09-17 15:20:42 -05:00
Sriram Hariharan
4ae2966e98 not using param 2023-09-17 14:29:18 -05:00
Sriram Hariharan
e2c9955b41 inline database destructure 2023-09-17 14:28:45 -05:00
Sriram Hariharan
6afd372945 multiple schedule suppport kinda 2023-03-15 23:54:07 -05:00
Sriram Hariharan
e60242198a query grade distributions working, and filtering by semesters working 2023-03-09 16:11:42 -06:00
Sriram Hariharan
f3bf746c6e textbook button, properly scraping the semester (year and season) from the url" 2023-03-07 22:17:17 -06:00
Sriram Hariharan
353c43c987 lot of refactoring, reorganized course buttons. Now linking to professors directory page 2023-03-07 21:49:41 -06:00
Sriram Hariharan
950c4a573a added onclose to popup, coursepopup now displaying time info, renamed vars, added compiler for scss to typescript and tsconfig plugins 2023-03-06 21:02:29 -06:00
Sriram Hariharan
9b76f8afa0 line height text, refactored course schedule, added string representation functions to course meeting 2023-03-06 16:51:46 -06:00
Sriram Hariharan
ad8a06d831 Link component, Card component, Course Popup component styling, and wrangling with the serialization type" 2023-03-05 22:52:11 -06:00
Sriram Hariharan
6147289b40 created reusable text component, and setup typing for it automatically. also fixed bugs with autoload and scraper so that it would handle appending course name headers 2023-03-05 17:34:56 -06:00
Sriram Hariharan
0956525e94 auto-loading completely done 2023-03-05 14:34:26 -06:00
Sriram Hariharan
15e9ff92a8 moved files around 2023-03-04 23:33:39 -06:00
Sriram Hariharan
d9739cdb56 decided to add season support 2023-03-04 23:00:01 -06:00
Sriram Hariharan
070c8ea486 added ExtensionRoot for consistent styling across injected components, and added a bunch of comments for all the added types and classes 2023-03-04 21:10:12 -06:00
Sriram Hariharan
e99ba5864a CourseScraper completely done
'
2023-03-04 20:14:26 -06:00
Sriram Hariharan
c9684beb5b wip scraping infra 2023-03-04 11:51:56 -06:00
Sriram Hariharan
e9c420a873 injecting into table, created table header, and buttons for each row 2023-03-03 21:57:00 -06:00
Sriram Hariharan
beb61176c1 refactoring, using different pattern for page injection and reusing same pattern for both popup and content scripts 2023-03-03 21:13:43 -06:00