-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor frontend pr draft #795
base: main
Are you sure you want to change the base?
Conversation
todos - make sidebar react to new minors, conditional rendering - make add plan / edit plan modal support adding / edit minors - also needs to be implemented for localstorage
TODO MAKE CURRENT MINOR SHOW UP IN EDIT DROPDOWN
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -29,13 +29,16 @@ import { useForm } from "react-hook-form"; | |||
import { mutate } from "swr"; | |||
import { | |||
useSupportedMajors, | |||
//useSupportedMinors, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
@@ -173,6 +185,9 @@ export class OnboardStudentDto { | |||
@IsString() | |||
major: string; | |||
|
|||
@IsString() | |||
minor: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be optional too?
if (supportedMinorsError) { | ||
handleApiClientError(supportedMinorsError, router); | ||
} | ||
//if (supportedMinorsError) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
return Object.keys(minorMap ?? {}) | ||
.map((minorName) => { | ||
return { | ||
//label: (minorMap?.[minorName].verified ? "" : "[BETA] ") + majorName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's encode the label check in
* adding business parsed JSON * bringing back all majors with business in name * remove mathematics test minor
updated array of catalog years
Update index.ts
Modal Error Component + Co-op in first/last semester bug
todos - make sidebar react to new minors, conditional rendering - make add plan / edit plan modal support adding / edit minors - also needs to be implemented for localstorage
TODO MAKE CURRENT MINOR SHOW UP IN EDIT DROPDOWN
Description
Minor frontend support.
Closes # (issue number)
Type of change
Please tick the boxes that best match your changes.
yarn install
yarn dev:migration:run
How Has This Been Tested?
Please describe how you tested this PR (both manually and with tests) Provide instructions so we can reproduce.
Checklist: