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

Add subcount sign & sampling site list styling changes #1268

Merged
merged 93 commits into from
Apr 25, 2024

Conversation

mauberti-bc
Copy link
Collaborator

@mauberti-bc mauberti-bc commented Apr 8, 2024

Links to Jira Tickets

  • N/A
  • Adds 'sign' field to subcounts to record whether the observation is of footprints, hair, etc., or a direct sighting of an animal.
  • Updates UI styling

Description of Changes

  • Migration to add 'sign' field to subcount table
  • Updated the sampling site list accordion to include stratums and map, and restyled periods
  • Updated colours and markers on the Survey page map
  • Styled the survey progress chip
  • Moved survey map layer information into map container

Testing Notes

  • Can't edit a sampling site yet due to unrelated openAPI validation error

@mauberti-bc mauberti-bc added the Ready For Review PR is ready for review label Apr 19, 2024
@NickPhura
Copy link
Collaborator

@mauberti-bc Just to clarify, that new sign field isn't hooked up to anything yet, right?

@mauberti-bc
Copy link
Collaborator Author

@mauberti-bc Just to clarify, that new sign field isn't hooked up to anything yet, right?

Correct. The migration could have been in a separate PR

Copy link

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.8% Duplication on New Code

See analysis details on SonarCloud

@mauberti-bc mauberti-bc requested a review from NickPhura April 24, 2024 23:29
@mauberti-bc mauberti-bc merged commit 016f266 into dev Apr 25, 2024
17 checks passed
@mauberti-bc mauberti-bc deleted the method-response-variable branch April 25, 2024 22:24
mauberti-bc added a commit that referenced this pull request May 3, 2024
* Add subcount sign & sampling site list styling changes (#1268)

* wip: sample method response metric

* wip: observation subcount sign

* migration changes & ui updates

* migration to add method lookup options

* add and edit response metric for sampling methods

* order by in sample methods sql

* separate sampling sites method and periods into own component

* styling sample site list

* styling

* add method response metric chip to method edit form

* styling

* make survey areas orange on the survey map

* update survey map componenent & include map legend

* update survey map legend

* colors

* method-response-variable

* console logs

* move geojson transform from zod schema into sql for observation geometry repo

* update colours

* linter

* Merge branch 'dev' of github.com:bcgov/biohubbc into method-response-variable

* move legend position

* styling sampling site list panel

* cleanup

* more styling sample periods list

* change timelinedot to calendar icon

* change observations map marker

* styling timeline icons

* leaflet sampling site map

* icons to indicate geometry type of sampling site

* survey map tooltip

* undo

* remove extra fields from get study area request

* remove survey map legend

* include start and end date in survey list table

* cleanup

* console log

* Initial working observation import against sampling period

* Add better loading/disabled handlers

* remove duplicated migration

* update styling

* linter

* Add Knip and SWC

* Update import observations

* Remove console logs

* Remove swc from API to fix unit tests

* Remove knip

* Remove gulp

* Update lock

* Add unit tests. fix spelling

* Add tests

* Fix merge conflicts

* import button changes

* observation import button styling

* include inset sampling site map

* sampling site list tsyling

* spacing

* alternate styling

* additionalproperties: false in samplesite openapi spec

* remove not null constraint on subcount sign

* linter

* update survey progress chip deisgn

* linter

* replace sampling site inset map with survey map component

* jsdoc fixes

* linter

* linter

* code smells

* code smell

* styling

* change to direct imports for MUI components

* change mui/system to mui/material in imports

* prettier

* cleanup

* sort sampling periods by date and time

* typo

---------

Co-authored-by: Nick Phura <[email protected]>

* Simsbiohub 496 bctw deployments script (#1272)

BCTW deployments transferred to SIMS. Uses JQ + JS + Bash to generate SIMS SQL.

* BugFix: Fixes From QA In Test (#1277)

* Add migration to patch missing observation_subcount records
* Update project/survey user search to handle type ahead search
* Update clamav scanner library/code
* Update error logging
* Remove unneeded migration
* Tweak logging

---------

Co-authored-by: Macgregor Aubertin-Young <[email protected]>
Co-authored-by: Mac Deluca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants