-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bctw 935 add critter form #1069
Conversation
…NoSummarySectionData.tsx
…tterbase from within SIMS api
…o critterbase calls, still need to implement automated signup
…pi routes similar to existing SIMS routes
…mponents can now be added to form on button click
… calling cb api through hooks in the frontend. No more extra auth headers, now all done through keycloak JWT.
…rbase. Made a wrapper function for critterbase selects that uses existing Formik components
…der and the docker compose that we don't need anymore
…ge in dev environment
@NickPhura Resolved the issues in the above comment |
I tested this and noticed a few things: SIMS is now on mui 5 so it would be great if the date pickers were updated to use the mui date picker. An example of these is in the project create form When Moose, Grizzly or any of the Animal Families (Alces, Canidae, Ursidae ect) are selected under the Markings form, the With Animal Measurements if nit pick: In a capture event, if I toggle the UTM Coordinates it fills the coordinates with the center point of the map. Not sure if this is a bug or not just something I noticed |
"With Animal Measurements if Estimated Age is selected the value field specifies Value [kilogram's]"
Update: All issues mentioned resolved. |
…r release/capture and measurements
…biohubbc into BCTW-935-Add-Critter-Form
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
🌮
Pre Requirements
Links to Jira Tickets
Description of Changes
This PR contains the new Create Critter (Add Individuals) form.
Handles general animal details, captures, mortalities, measurements, markings, families
Inline validation using formik + additional critterbase requests to check if certain values are valid.
CbSelect component handles retrieving and displaying the critterbase related lookup values.
Some additional wrapper components / custom tooltips.
Storing all animal form related strings in i18n.ts
Mostly net-new components, with some additional refactoring of some duplicated components into a single component used in survey section.
Note: Does not currently support images or telemetry devices. Will make seperate tickets for those additional features.
Testing Notes