-
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-353/325: Survey form updates #1149
Conversation
Openshift URLs for the PR Deployment: |
Codecov Report
@@ Coverage Diff @@
## dev-staging #1149 +/- ##
===============================================
- Coverage 62.14% 61.94% -0.20%
===============================================
Files 554 547 -7
Lines 16914 16564 -350
Branches 2593 2539 -54
===============================================
- Hits 10511 10261 -250
+ Misses 5696 5621 -75
+ Partials 707 682 -25
... and 49 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -202,7 +202,8 @@ POST.apiDoc = { | |||
type: 'string' | |||
}, | |||
field_method_id: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably in our best interest to remove and field mthod code entirely, and not just allow it to be null. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I agree, I think it could cause some confusing leaving this in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call, removed field method from the open api specs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have since removed field method from the project 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to update the db seed file, adding a value for site selection strategy, seeing as it should be required, and removing the value for field method id. A deprecation comment in the db column for field_method_id could be useful too.
Good idea. I've removed the field method from the seed file and added the site strategy to the survey seed process |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, everything looks good to me 👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me. Tested this locally and everything works as expected. 👍
Openshift URLs for the PR Deployment: |
Removed field method and site selection strategies are now required on surveys
Links to Jira Tickets
SIMSBIOHUB-325
SIMSBIOHUB-353
Description of Changes
Testing Notes