Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [easy] Delete AP/IB override code (#587) They will be replaced by the new opt-in/opt-out infra. * Convert TrackUsers to script to store data in Firestore daily (#601) * Copy track users to ts file and make it a script * Output track users script to new track-users collection * Set up cron job to call npm command and run script * Fix lint * Delete Firebase TrackUsers and move function call * Fix Mobile Navbar Click Outside (#598) * Have clicking outside navbar close menu instead of opening onboarding * Bump z-index so modals display above navbar * Fix lint * [easy] Fix enforce release workflow job (#602) * fix enforce release workflow job * Revert "fix enforce release workflow job" This reverts commit 94c05b3. * Revert "Revert "fix enforce release workflow job"" This reverts commit 719fc57. * Add AS Major (#589) * Added as major * Ran prettier, unbroke test * Added requirement to frontend * Fixed up frontend * Fixed slot count error * Ran req-gen * Add NPM clean install to fix failing track-users (#605) * Remove semester type from codebase (#604) * remove semester type * fix type errors * Add prod service account secret to track-users (#608) * Use service account secret when provided (#609) * Add prod service account secret to track-users * Use service account secret when provided * Fix lint * JSON parse service account * Added the template file for the ECE major (#600) * Added the template file for the ECE major * Update ece.ts * Update ece.ts * Requirement builder with the new data format (#588) * add test for minimize semester (#613) * Avoid tracking users that have not finished onboarding (#610) * Avoid tracking users that have not finished onboarding * Fix lint * Add analytics data to CoursePlan route (#607) * Create analytics container and add it to route file (copied from old branch) * Get newest doc to display as json * Pretty print json * Fix lint and type checks * Require auth to access route * Style page if no data shown * Add timestamp of last analytics run * Remove accidental commit * Bug fix for non-cp users * Refactor analytics retrieval to global-firestore-data * Optimize code by only retrieving newest document from collection (and adding timestamp field) * Change timestamp to date type * Remove null check, add comment * Add FA21 contributors to README (#619) ### Summary <!-- Required --> <!-- Provide a general summary of your changes in the Title above --> <!-- Itemize bug fixes, new features, and other changes --> <!-- Feel free to break this into sub-sections, i.e. features, fixes, etc. --> <!-- Some examples are shown below. --> This pull request adds the list of FA21 contributors to CoursePlan now that the semester is over. ### Test Plan <!-- Required --> Confirm the list matches the one on Notion here: https://www.notion.so/courseplan/CoursePlanners-cc431147c85d4d4abfdf47bdbe8b1a1c * Setup infrastructure for two-graph-based progress computation (#615) * Placeholder courses (#592) * Add placeholder component, place after every course temporarily * Make code improvements * Match placeholder styling to Figma in both views * Support FirestoreSemesterPlaceholder type, shows placeholders from Firestore * Define isPlaceholderCourse function, use to resolve type errors & fix bugs * Fix failing jest test * Fix lint * Implement warnings when semester mismatches, in either semester ordering * Simplify utility function * Update comment (and refresh deployment) * Add hover state to 6 dots, change cursor to grab * Delete comment * Implement Intl API for warnings * Add EAS Major (#590) * Added eas reqs * Added chem fulfillment option * (Mostly) finished EAS requirements * Added major * Unbroke test * Cleaned up frontend * Made labeling clearer * Cleaned up message * Fixed typo * Added field work requirement * Changed field work requirement * Specialize requirements (#611) * Implemented specialization functiionality * Added CS specialization * Ran prettier * Ran req-gen * Fixed linter errors * Refactored infra * Added math 2930 * Fixed linter error * Create useful exam mappings derived from exam data (#606) * map exam id to equivalent course and conditions * add exam to course and course to exam mappings * remove majors and colleges from export * fix college type * Address nits * fix tests * fix lint * Fix college type * use fromEntries * nit * Fix AG foreign language checker (#623) * Fix BIO major BIOMG 4320 requirement (#624) * Add exam course ids and conditions to requirements json (#625) * set up structure * add exam course ids and conditions to requirements json * move toggleable conditions to same level as course list * refactor decorators * fix lint issues * add back college name sort * conditional specializations property * Add check-req-json workflow job (#628) * Add check-req-json workflow job * Fix req-json discrepancy * Split up npm install and npm run req-gen * [easy] Fix AP/IB old infra bug for multiple equivalent courses (#631) * fix bug * fix object set * Remove hardcoded dropdown start year to fix new year Cypress bug (#629) * Make start year code common and use in cypress instead of hardcoding 2015 * Turn getYearRange into constant and clarify comment * Fix lint * Switch to new AP/IB infra (#627) * Switch to new AP/IB infra * rename no fulfillments course id * req-gen * fix lint * Update CS major (#626) * add CHEM 2080 requirement and CS 4414 * prettier? * did it update * what about now * now? * hi will * address nit and package lock changes * run req gen Co-authored-by: Will Spencer <[email protected]> * Fix HE credits double counting and DEA statistics req (#630) * Add script for migrating old subject colors to new subject colors (#614) * add color migration script * use if-else instead of switch * reuse switch with hasOwnProperty * lint * delete console log * Run on subjectColorsCollection instead of usernameCollection Co-authored-by: Benjamin Shen <[email protected]> * remove usernaemCollection import Co-authored-by: Hahnbee Lee <[email protected]> Co-authored-by: Benjamin Shen <[email protected]> Co-authored-by: Hahnbee Lee <[email protected]> * Dashboard entrypoint (#616) * add icons * navbar design * add tools page * mobile responsiveness * address nits * add feature flag + mobile plan icon * prettier Co-authored-by: Hahnbee Lee <[email protected]> * Deprecate old ap/ib infra (#632) * deprecate old ap/ib infra * fix lint * fix tests * add ap/ib exam id tests (#635) * Fix swim test bugs (#637) * change unique id from -1 to 'swim test' * change swim test requirement * refactor and fix deleteTransferCredit * unbreak requirement id test * Refactor constraint violations (#633) * refactor constraint violations * format * add object structuring to removeIllegalEdges * remove null return type * modify allowDoubleCounting function to be more accurate * Revert "modify allowDoubleCounting function to be more accurate" This reverts commit 03f3840. * change double counting perspective * polish requirementsThatDoNotAllowDoubleCounting * fix lint * fix double counting constraint, polish constraint violation function * preserve requirement order * small fixes * fix lint * remove minor auto double counting * address code comments * rename * fix test * fix courseToRequirementsInConstraintViolations * remove console log * Fix requirements double counting (#638) * fix bugs * remove console log * format * fix arg order * fix add modal opt out * refactor dummy uniqueid * refactor to getRelatedUnfulfilledRequirements * move opt out filter to opt out function * automatically fulfilled requirements * add comment * opt out of all requirements possibly in constraint violation * add minor-grad restriction for double counting Co-authored-by: Sam Zhou <[email protected]> Co-authored-by: Will Spencer <[email protected]> Co-authored-by: zachary0kent <[email protected]> Co-authored-by: Aryan Yadav <[email protected]> Co-authored-by: Toby (Ju Mong) Ko <[email protected]> Co-authored-by: ein <[email protected]> Co-authored-by: Hahnbee Lee <[email protected]> Co-authored-by: Hahnbee Lee <[email protected]>
- Loading branch information