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

Added need_additional_details column to Reasons table #541

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

johnyu95
Copy link
Contributor

@johnyu95 johnyu95 commented Apr 27, 2021

This PR adds a column to the Reasons table for need_additional_details. If this is set to true then an alert will pop up to prompt the user to provide additional details when selecting that reason for Denials and Closings. Also removes the census reminder alert from the codebase.

Setup:

  • Run flask db migrate to upgrade database migration
  • Run update reasons set need_additional_details = false; to set default value for new column
  • Run update reasons set need_additional_details = true where id in (3, 35, 80); to set the reasons you want to trigger the alert. Currently set for "Fulfilled in Part", "Denied - Reason Below", "Denied in Part – Not All Records are Available"

@lgtm-com
Copy link

lgtm-com bot commented Apr 27, 2021

This pull request introduces 1 alert when merging 25e093a into 0967097 - view on LGTM.com

new alerts:

  • 1 for Unused import

@johnyu95
Copy link
Contributor Author

Ridhdhi is currently doing QA on this PR.

@lgtm-com
Copy link

lgtm-com bot commented Apr 27, 2021

This pull request introduces 1 alert when merging b66b12f into 0967097 - view on LGTM.com

new alerts:

  • 1 for Unused import

@johnyu95 johnyu95 merged commit 1b7655a into main Apr 28, 2021
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.

2 participants