biohubbc icon indicating copy to clipboard operation
biohubbc copied to clipboard

Filter measurements search by focal and observed species

Open mauberti-bc opened this issue 1 year ago • 4 comments

Links to Jira Tickets

Description of Changes

  • New endpoint for retrieving species observed in a survey
  • Allows measurement search to only return measurements that focal species/observed species can have
  • Updates styling of the configure observations table dialog

Testing Notes

  • Requires Critterbase changes: https://github.com/bcgov/critterbase-api/pull/63
  • Requires BioHub changes: https://github.com/bcgov/biohubbc-platform/pull/250

mauberti-bc avatar Aug 10 '24 00:08 mauberti-bc

Openshift URLs for the PR Deployment:

  • App Route: https://biohubbc-app-1338-af2668-dev.apps.silver.devops.gov.bc.ca/
  • Api Route: https://biohubbc-api-1338-af2668-dev.apps.silver.devops.gov.bc.ca/
  • Pods: https://console.apps.silver.devops.gov.bc.ca/k8s/ns/af2668-dev/pods?name=1338

github-actions[bot] avatar Aug 10 '24 00:08 github-actions[bot]

Codecov Report

Attention: Patch coverage is 30.90909% with 76 lines in your changes missing coverage. Please review.

Project coverage is 46.98%. Comparing base (b856afd) to head (d10c9b8). Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
...ponents/measurements/search/MeasurementsSearch.tsx 0.00% 22 Missing :warning:
...urements/search/MeasurementsSearchAutocomplete.tsx 0.00% 11 Missing :warning:
...nents/measurements/ConfigureMeasurementColumns.tsx 0.00% 9 Missing :warning:
...ponents/data-grid/GenericGridColumnDefinitions.tsx 0.00% 8 Missing :warning:
...onents/environment/ConfigureEnvironmentColumns.tsx 0.00% 7 Missing :warning:
.../grid-column-definitions/GridColumnDefinitions.tsx 0.00% 4 Missing :warning:
app/src/hooks/api/useTaxonomyApi.ts 25.00% 3 Missing :warning:
app/src/hooks/cb_api/useXrefApi.tsx 0.00% 3 Missing :warning:
.../observations-table/ObservationsTableContainer.tsx 0.00% 2 Missing :warning:
...mns/components/general/ConfigureGeneralColumns.tsx 0.00% 2 Missing :warning:
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1338      +/-   ##
==========================================
- Coverage   47.01%   46.98%   -0.03%     
==========================================
  Files         737      738       +1     
  Lines       19810    19894      +84     
  Branches     3048     3067      +19     
==========================================
+ Hits         9313     9347      +34     
- Misses       9929     9979      +50     
  Partials      568      568              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 15 '24 20:08 codecov[bot]

Openshift URLs for the PR Deployment:

  • App Route: https://biohubbc-app-1338-af2668-dev.apps.silver.devops.gov.bc.ca/
  • Api Route: https://biohubbc-api-1338-af2668-dev.apps.silver.devops.gov.bc.ca/
  • Pods: https://console.apps.silver.devops.gov.bc.ca/k8s/ns/af2668-dev/pods?name=1338

github-actions[bot] avatar Aug 16 '24 21:08 github-actions[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
6.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Sep 03 '24 16:09 sonarqubecloud[bot]