-
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
SIMSBIOHUB-648: Create Sampling Period Page #1446
base: dev
Are you sure you want to change the base?
Conversation
Openshift URLs for the PR Deployment: |
A few things I noticed: When creating a period, if you select a site, and then remove the period from it, the validation is probably failing because the form won't submit, but there is no error message shown. When editing an existing sample period, I can't select or change the sample sites. Nit: I can save a period with a start and end date that are exactly the same (with no time). If I pick the same times, then the save stops working, though there is no error message about why. I have 1 sampling site, 1 technique, and 3 periods. The techniques aren't being combined in the observations table when adding a record: |
|
Fix some api tests. Remove some deprecated code.
Update api and app to account for null survey_sample_period fields.
|
…ng always. Fixed issue preventing observations from loading. Fixed issue in seed.
…to SIMSBIOHUB-648
Update create/edit periods to enforce site, technique, and period information. UI tweaks to create/edit periods pages. Enforce site/technique/period validation on observations table. Update sample sites left list, to show technique/period details.
Tweak analytics frontend (disable sorting which is not yet supported)
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
Links to Jira Tickets
Description of Changes
Testing Notes
TODO Notes (Nick)
Database/API allow null periods/techniques/sample sites when reading/writing periods. Add trigger/constraint to ensure at least 1 of the 3 pieces of data is provided in a periodFix Frontend requires ALL site/technique/period data in CREATE/EDIT periodsFix sampling site left nav not showing periodsFix the frontend observation table validation, so that if a site is required, a technique is required, and a period.Fix openapi schemas for periods to handle the 3 cases (null site, null technique,null dates)Fix observation analytics (not rendering periods in the table?)Fix Invalid Date in sampling periods table on survey page.Fix issue where a partial period record isn't saved when editing an existing observation record