-
Notifications
You must be signed in to change notification settings - Fork 5
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
[JN-1542] task-specific emails #1368
base: development
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
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 really like the way it's modeled in the backend! I can't seem to get the UI to work, though
<label className="form-label" htmlFor={inputId}>Limit to these surveys | ||
<span className="fst-italic ms-2">(leave blank if trigger applies to all)</span></label> | ||
<Select options={surveys} inputId={inputId} | ||
value={stableIds.map(stableId => surveys.find(survey => survey.stableId === stableId))} |
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 somehow was missing a commit, it works perfectly after pulling latest!
DESCRIPTION (include screenshots, and mobile screenshots for participant UX)
Adds the ability to limit triggers to only specific tasks. The specific use case is for TRCC to have custom email reminders for different study surveys. In the process, this also generalizes some of the Trigger configuration fields so there are now filters and target stable ids that can be customized.
TO TEST: (simple manual steps for confirming core behavior -- used for pre-release checks)