Skip to content

Commit

Permalink
Schedule Generator (#928)
Browse files Browse the repository at this point in the history
* added blue icon, need to adjust centering and add grey icon

* Added grey icon, still need to adjust text centering and new width?

* Formatting

* feature flag schedule generator

* added blue icon, need to adjust centering and add grey icon

* Added grey icon, still need to adjust text centering and new width?

* Formatting

* Changed icon title to Generate, tried to fix spacing

* Centered icon with Builder Label

* Added mobile sched builder icon, fixed formatting and centering

* Changed profile icon label in mobile

* removed cypress

* Create header component for scheduler side panel (#880)

* chore: create schedule sidebar panel header

* style: also define appearance property in SchedulerPanelHeader.vue for compatability

* docs: add inline docs to SchedulerPanelHeader

* link icon w/header

* link icon w/header

* fix: style schedule-gen sidebar background and padding

---------

Co-authored-by: Andrew J Xu <[email protected]>

* chore: create schedule sidebar panel header

* style: also define appearance property in SchedulerPanelHeader.vue for compatability

* docs: add inline docs to SchedulerPanelHeader

* link icon w/header

* Run Courses Script for FA23 (#856)

* Run courses script for FA23

* Fix CS 1110 Frontend Test

Corrects the CS 1110 frontend test with the new course title

* Spring 2024 courses script (#864)

* add header

* fix header

* fix header

* move into folder

* fix full-courses

* link modal to schedule builder icon

* modal

* modal clickable

* type fix and rename

* rename

* rename

* [Schedule Generator] Courses Component (#893)

* link icon w/header

* fix: style schedule-gen sidebar background and padding

* add schedules and courses sections

* fix indent

* chore: flesh out component for LHS of schedgen modal

* fix

* fix modal

* fixes

* fix

---------

Co-authored-by: Simon Ilincev <[email protected]>

* [Schedule Generator] Schedules Component (#904)

* add schedules and courses sections

* fix indent

* chore: flesh out component for LHS of schedgen modal

* fixes

* schedule

* refactoring

* calculate minutes and labels

* fix lint

---------

Co-authored-by: Simon Ilincev <[email protected]>

* Schedule Generator Algorithm: V1 (#909)

* chore: rewrite basic java algorithm impl in ts

* chore: create output format for algorithm

* chore: update course-scheduling algorithm to use timeslots and 15-min gaps

* "fix" 😈: get rid of ugly java-style syntax

also checkpoint: progress towards dealing with days of the week & labs

* refactor internal algorithm logic, improve pretty-print, handle days of the week

* docs: add docs for new folder

---------

Co-authored-by: Simon Ilincev <[email protected]>

* [Schedule Generator] Add Requirements (#905)

* add requirements component

* fix dropdown

* fixed dropdowns

* fixed dropdowns

* fixed dropdowns

* fix lint

* clean up styling

* frontend for requirement courses (#914)

* frontend for requirement courses

* type fix

* documentation

---------

Co-authored-by: elizabeth-tang <[email protected]>

* [Schedule Generator] Schedule Fixes (#913)

* fix course height and flex box

* fixes

* [Schedule Generator] Read in Requirements (#918)

* read in reqs

* linting

* fix linting

* fix adding courses

* documentation

* add as many reqs as possible

* Support schedule downloading + pagination in schedgen modal (#919)

* add schedules and courses sections

* fix indent

* chore: flesh out component for LHS of schedgen modal

* refactoring

* create pdf schedule generator with table + headers + credits

to work on: wrong data, calendar thingie

* support passing around data into pdf schedule download

now just missing calendar
also need to fix formatting in download

* hotfix overflow issue by shortening req names

* fix typo

* chore: add in docs for the new pdf schedule downloader

* migrate styles from figma

* almost fully styled / laid out

just missing right-aligned download button

* right-align download button

* merge conflict fixes

* revert changes

* fixed download

---------

Co-authored-by: Andrew J Xu <[email protected]>

* comments

* courses from user input show up on modal, schedule info passed into modal for gen request

* log generated schedule

* added random time generator for testing, logs schedule correctly

* adjusted algorithm, mapped generated schedule to frontend

* colors match on mapped sched

q

* changed testing

* add reqs to top of list

* side of modal is updated with course count / total credits

* quick fixes

* connected courses to fa24 firestore meeting times/patterns

* fully connect sidebar to schedule

* rename pdf output

* finally integrate download pdf, but algo only ever returns one course

* fix algo by correcting type parameters

* fix overlap calculation and button size

* add algo improvement note

* FA24 Courses JSON (#924)

* courses json

* reqs

* semi-working one course max per req

* fix: always try to fulfill 1+ req for each

* [Schedule Generator] Frontend Fixes (#925)

* disable generate

* Generating... when generating schedule and fix max hour bug

* lint

* cleanup

* credit limit and overflow

* courses overflow

* change warning

* fix fonts

* padding and font fix

* cleanup

---------

Co-authored-by: Nidhi Mylavarapu <[email protected]>

* [Schedule Generator] Filter courses by latest semester / requirement (#926)

* started req/sem filtering logic

* undo changes

* fixes

* filter courses by sem from json

* read sem courses only

* lint

* lint

* fix: only show unique courses in requirement groups

* adjusted for courses without meeting times

* cleanup

* add no requirement

* fix test.spec.ts

* lint

---------

Co-authored-by: andxu282 <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>

* fixes

* import issue

* lint

* update ScheduleGenerate dir

* prettier

* update courses

* reqs

---------

Co-authored-by: Nidhi Mylavarapu <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>
Co-authored-by: Zak Kent <[email protected]>
Co-authored-by: Nidhi Mylavarapu <[email protected]>
Co-authored-by: elizabeth-tang <[email protected]>
  • Loading branch information
7 people authored May 2, 2024
1 parent 68b5af7 commit 5e8d334
Show file tree
Hide file tree
Showing 34 changed files with 4,292 additions and 252 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11.0
6 changes: 1 addition & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"esbuild": "^0.15.5",
"firebase": "^9.9.3",
"firebase-admin": "^11.5.0",
"html2canvas": "^1.4.1",
"intro.js": "^3.3.1",
"jspdf": "^2.5.1",
"jspdf-autotable": "^3.5.25",
Expand Down
Loading

0 comments on commit 5e8d334

Please sign in to comment.