Skip to content
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-219: Add new sampling site #1100

Merged
merged 142 commits into from
Sep 27, 2023
Merged

SIMSBIOHUB-219: Add new sampling site #1100

merged 142 commits into from
Sep 27, 2023

Conversation

al-rosenthal
Copy link
Contributor

Links to Jira Tickets

SIMSBIOHUB-219

Description of Changes

  • Added migration for tracking survey samples, methods and time periods
  • Added API function for creating a new sample site with accompanying methods and periods
  • Added new UI for importing shape files
  • Added new UI for adding methods/ time periods

Testing Notes

  • To test you will need to navigate to the proper page. Starting on the project page -> go to any survey -> click 'Manage Observations' button -> click '+ Add' button in the sampling site section
  • The data will be visualized in SIMSBIOHUB-220 so in order to see any results you will need to open the database and inspect the following tables: survey_sample_site, survey_sample_method, survey_sample_period
  • Sample Sites that are added are based on the number of features found in the shape file uploaded. For example, if a shape file uploaded contains 5 features, it will create 5 distinct sample sites, each with a copy of any methods/ periods on the form at submission time

Copy link
Contributor

@curtisupshall curtisupshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review part 2

Copy link
Contributor

@curtisupshall curtisupshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review part 3/3

NickPhura
NickPhura previously approved these changes Sep 27, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 27, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
24.5% 24.5% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Copy link
Contributor

@KjartanE KjartanE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐈 Ran locally running properly

@KjartanE KjartanE self-assigned this Sep 27, 2023
@al-rosenthal al-rosenthal merged commit 6d00b84 into dev Sep 27, 2023
17 of 20 checks passed
@al-rosenthal al-rosenthal deleted the SIMSBIOHUB-219 branch September 27, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants