-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Add submittions types to data model, types, and frontend, update intake state and activity status #24
Conversation
Changed enums and const util files to reflect new statuses Made SubmissionsForm default activity state to 'New'. modified: frontend/src/components/form/Dropdown.vue modified: frontend/src/components/submission/SubmissionForm.vue modified: frontend/src/utils/constants.ts modified: frontend/src/utils/enums.ts
Code Climate has analyzed commit b0afeb9 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
…submissionTypes logic
1daec71
to
b0afeb9
Compare
Preemptively approving - approved once the 500 on Submission load is fixed. |
@@ -65,7 +66,12 @@ export default { | |||
notes: input.notes, | |||
user: input.user?.userId ? { connect: { userId: input.user.userId } } : disconnectRelation, | |||
intakeStatus: input.intakeStatus, | |||
applicationStatus: input.applicationStatus | |||
applicationStatus: input.applicationStatus, | |||
guidance: input.guidance ? input.guidance : false, |
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.
cant these just be guidance: input.guidance
the db field defaults to false.. the html form can submit false
@@ -39,9 +40,19 @@ const assigneeOptions: Ref<Array<User>> = ref([props.submission.user]); | |||
// Default form values | |||
const initialFormValues: any = { | |||
...props.submission, | |||
applicationStatus: props.submission.applicationStatus | |||
? props.submission.applicationStatus | |||
: APPLICATION_STATUS_LIST.NEW, |
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.
i think this can be removed now that youre adding NEW during chefs data import(?)
Description
Updated intake state and activity status values to title case from uppercase
Added new activity status "New"
Set default activity state to "New" on edit on frontend
Added new submission types to data model and types
Make frontend changes to allow editing new submission types
Added validation to frontend for submission types
Added new value "bcOnlineCompleted" to data model
Added checkbox for BC Online Completed to frontend
Types of changes
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist
Further comments