-
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
Visitation Flow #247
base: main
Are you sure you want to change the base?
Visitation Flow #247
Conversation
* cases put/delete request
This reverts commit d8a01e9.
placeholder="Select child(ren)" | ||
/> | ||
> | ||
{/* TODO: Update these options. */} |
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've left this as a TODO because we need to retrieve the child options from an endpoint. I'd be happy to work on this as part of a smaller ticket.
Visit the preview URL for this PR (updated for commit 83d3662): https://childrens-aid-society--pr247-rt-visit-backend-rlo9ghck.web.app (expires Sun, 18 Aug 2024 18:20:02 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 93f6cb7bff946a1edd29d684408e6d31442cf0b1 |
readOnly={readOnly} | ||
<Select | ||
disabled={readOnly} | ||
as={Select} | ||
id="guardian" | ||
options={["Full", "Partial", "Unsupervised"]} |
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.
Same applied for Transportation, original values were "options={["Full", "Partial", "Unsupervised"]}". We may need to tweak these default options. For now left as generic 1,2,3 until we decide.
visit_service.create_visit(visit) | ||
return jsonify({"message": "Visit created successfully"}), 201 | ||
except Exception as e: | ||
return jsonify({"error": str(e)}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Notion ticket link
Visitation Flow
Implementation description
Steps to test
What should reviewers focus on?
Checklist