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

Funding Sources Feature Branch #1066

Merged
merged 165 commits into from
Aug 16, 2023
Merged

Funding Sources Feature Branch #1066

merged 165 commits into from
Aug 16, 2023

Conversation

NickPhura
Copy link
Collaborator

@NickPhura NickPhura commented Aug 3, 2023

Links to Jira Tickets

https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-171
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-172
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-173
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-174
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-181
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-195

Description of Changes

Manage Funding Sources

Add new Funding Source tables.
Add new pages to create/edit/view/delete funding sources.

Survey

Add new funding source controls on create/edit/view survey pages.

Project

Removed all funding source controls (APP, API, DB) from projects.

Testing Notes

Manage Funding Sources

  • View list of funding sources
  • Add/edit/delete funding source
  • View single funding source with survey references

Survey

  • Add funding sources to survey
  • Remove funding sources from survey
  • Edit funding source amount on survey
  • View funding sources associated to survey on survey page

Project

  • No references to Funding should be present

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #1066 (e6bc251) into dev (2f43099) will decrease coverage by 1.59%.
The diff coverage is 57.71%.

@@            Coverage Diff             @@
##              dev    #1066      +/-   ##
==========================================
- Coverage   67.34%   65.75%   -1.59%     
==========================================
  Files         403      406       +3     
  Lines       12580    12646      +66     
  Branches     2105     2040      -65     
==========================================
- Hits         8472     8316     -156     
- Misses       3557     3812     +255     
+ Partials      551      518      -33     
Files Changed Coverage Δ
api/src/models/project-create.ts 93.61% <ø> (-1.47%) ⬇️
api/src/models/project-update.ts 100.00% <ø> (+7.69%) ⬆️
api/src/models/project-view.ts 100.00% <ø> (ø)
api/src/openapi/schemas/project.ts 100.00% <ø> (ø)
api/src/paths/project/{projectId}/survey/create.ts 96.15% <ø> (ø)
api/src/paths/project/{projectId}/survey/list.ts 96.66% <ø> (ø)
...hs/project/{projectId}/survey/{surveyId}/update.ts 96.29% <ø> (ø)
...roject/{projectId}/survey/{surveyId}/update/get.ts 84.37% <ø> (+1.51%) ⬆️
...aths/project/{projectId}/survey/{surveyId}/view.ts 95.83% <ø> (ø)
api/src/paths/project/{projectId}/update.ts 91.37% <ø> (-0.15%) ⬇️
... and 68 more

... and 12 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

KjartanE
KjartanE previously approved these changes Aug 15, 2023
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.

🐈

al-rosenthal
al-rosenthal previously approved these changes Aug 15, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🦋

@NickPhura NickPhura dismissed stale reviews from al-rosenthal and KjartanE via 262231b August 15, 2023 18:27
KjartanE
KjartanE previously approved these changes Aug 15, 2023
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.

🐈

curtisupshall and others added 4 commits August 15, 2023 12:10
* Fixed linting errors

* Removed some test skips

* ignore-skip

* Removed some snapshots

* ran fix, removed comment

* Updated hook dependencies

* Added useMemo for debounce call

* add useMemo dependency

---------

Co-authored-by: Alfred Rosenthal <alfred.k.rosenthal@gmail.com>
Co-authored-by: Nick Phura <nickphura@gmail.com>
jeznorth
jeznorth previously approved these changes Aug 15, 2023
al-rosenthal
al-rosenthal previously approved these changes Aug 15, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

☺️

@al-rosenthal al-rosenthal dismissed stale reviews from jeznorth and themself via 2c6bc2b August 15, 2023 20:27
KjartanE
KjartanE previously approved these changes Aug 15, 2023
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.

🐱

al-rosenthal
al-rosenthal previously approved these changes Aug 15, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🍼

Many were failing due issues related to: https://github.com/styled-components/jest-styled-components
Rename 'test' to 'it'
@NickPhura NickPhura dismissed stale reviews from al-rosenthal and KjartanE via e6bc251 August 16, 2023 01:43
@sonarcloud
Copy link

sonarcloud bot commented Aug 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

No Coverage information No Coverage information
1.5% 1.5% Duplication

Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🧪

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.

:cat

@NickPhura NickPhura merged commit 8232845 into dev Aug 16, 2023
18 of 20 checks passed
@NickPhura NickPhura deleted the funding_sources_feature branch August 16, 2023 20:28
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