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

TN-3235 opt-out feature #4337

Open
wants to merge 132 commits into
base: develop
Choose a base branch
from
Open

Conversation

pbugni
Copy link
Collaborator

@pbugni pbugni commented Sep 6, 2023

Monster PR to implement the opt-out feature.
included front end changes from #4335
reused a migration (by altering the order defined within the migration files down_revision variable), and corrected as the previous sequential counts we not keeping up. (TN-3274)

includes implementations for:

@pep8speaks
Copy link

pep8speaks commented Sep 20, 2023

Hello @pbugni! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 45:101: E501 line too long (105 > 100 characters)
Line 50:101: E501 line too long (103 > 100 characters)
Line 52:1: E302 expected 2 blank lines, found 1
Line 158:101: E501 line too long (118 > 100 characters)

Line 19:101: E501 line too long (128 > 100 characters)

Line 28:11: E271 multiple spaces after keyword
Line 78:101: E501 line too long (121 > 100 characters)
Line 79:101: E501 line too long (123 > 100 characters)
Line 80:101: E501 line too long (123 > 100 characters)
Line 81:101: E501 line too long (123 > 100 characters)
Line 82:101: E501 line too long (123 > 100 characters)
Line 83:101: E501 line too long (123 > 100 characters)
Line 84:101: E501 line too long (123 > 100 characters)
Line 85:101: E501 line too long (123 > 100 characters)
Line 86:101: E501 line too long (123 > 100 characters)

Comment last updated at 2024-05-13 23:19:41 UTC

@pbugni pbugni force-pushed the feature/sequential-hard-triggers-fix branch from 4a53cde to 9f0b7b9 Compare October 4, 2023 23:49
@pbugni pbugni force-pushed the feature/sequential-hard-triggers-fix branch from 9f0b7b9 to c4f1acd Compare November 16, 2023 22:47
@pbugni pbugni force-pushed the feature/sequential-hard-triggers-fix branch from 97cc939 to 5f2645a Compare January 25, 2024 03:00
@pbugni pbugni force-pushed the feature/sequential-hard-triggers-fix branch 2 times, most recently from e993e23 to ae92158 Compare March 12, 2024 21:30
… counts, so the test db can be switched over to a hotfix without this migration.
log rather than blow up, when a finding missing SDC observations.
…g errors.

improve logging when trigger_states become out of sync with qb_timeline due to consent change.
@pbugni pbugni force-pushed the feature/sequential-hard-triggers-fix branch from 9c29d3b to 7f4bb5e Compare March 20, 2024 16:40
pbugni and others added 18 commits April 16, 2024 16:58
(needed in this PR as a few test users are in a broken state)
part of https://movember.atlassian.net/browse/TN-3284
address OPT OUT requirement: `A patient can choose to opt out a maximum
of 3 times for a single domain`

Changes include:
Frontend will now check triggers history to ensure that user had not
chosen to opt out of a domain at least 3 times in the past, i.e. check
`_total_opted_out` of the domain property.
If so, it will not present the domain as an opt out option on UI.

---------

Co-authored-by: Amy Chen <clone@cesium.cirg.washington.edu>
…s, requiring a captcha.

Pulled the content to files on the file system.
…e notification emails to clearly show the domains to be contacted about vs those the user requested be left alone.
@pbugni pbugni changed the title TN-3236 opt-out feature TN-3235 opt-out feature Apr 23, 2024
@pbugni pbugni requested review from mcjustin and ivan-c April 23, 2024 18:47
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.

None yet

4 participants