-
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
PUT Case implementation + more Cases Context #244
Conversation
Visit the preview URL for this PR (updated for commit 98f7f6a): https://childrens-aid-society--pr244-jenny-put-case-2-dmfihkew.web.app (expires Sun, 07 Apr 2024 22:11:59 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 93f6cb7bff946a1edd29d684408e6d31442cf0b1 |
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.
Small changes may be needed, but after that, should be good to merge
cpinFileType: intake.caseReferral.cpinFileType, | ||
familyName: intake.caseReferral.familyName, | ||
referralDate: new Date( | ||
intake.caseReferral.referralDate, | ||
).toLocaleDateString("en-GB"), | ||
}, | ||
courtInformation: { | ||
courtStatus: intake.courtInformation.courtStatus, | ||
orderReferral: 0, | ||
currentCourtStatus: intake.courtInformation.courtStatus, |
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.
Is there a reason you chose to change the variable name from courtStatus to currentCourtStatus? Might be best to follow whatever is established in the database already.
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.
was following what was currently in CourtInformationForm but should've just changed the prop names in there instead of changing everything else to currentCourtStatus --my mistake!
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.
No worries, thanks!
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.
If you make any more changes to attribute names, just make sure to carry forward the changes here and anywhere else the variables are used (there should be a shortcut to do this in VS code I think)
f71cacd
to
efe8476
Compare
efe8476
to
98f7f6a
Compare
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.
LGTM! Feel free to merge.
Notion ticket link
Link and Integrate PUT Case Submission Pt. 2
Implementation description
Steps to test
What should reviewers focus on?
Checklist