MedEvac: per-dataset Common Services user filter - #2919
Draft
morgang-adappt wants to merge 18 commits into
Draft
Conversation
(cherry picked from commit 8700f8c5c42e49ae5a87ca06e245ee79fd181174)
(cherry picked from commit 16cf74d35c4261863ff02176084ba1b15321b52a)
(cherry picked from commit 545642d7cd53c837e0f8350cb09eac5b1d42571a)
…s filter values (cherry picked from commit b13da852457c3044aa9b85eb04d1175e4bb41597)
(cherry picked from commit cee0b817d5134508b3f1a9d79a358e44d8112b73)
* Move CS User field handling logic to email.service (cherry picked from commit aefc04a1aef438fa36c6492faee5e15725205603)
(cherry picked from commit 589a96335d6abbf6314f8f5b51e29ee1cd61c973)
(cherry picked from commit 9838db99a1869ab7346b35eff1f5c1352bb5a4e6)
…ers filter value picker
17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a per-dataset Common Services user filter for separate-email datasets, so recipients can be selected from the Common Services user directory instead of, or alongside, a per-row email field. Filter values may be
{{Block N.field}}tokens taken from the dataset itself, which the function resolves per row at send time. This introduces a dataset-token editor in the filter row and forwards the available field settings to it, and stabilises the expression editor's token options with a memoised field list andtrackBy, fixing value choices that were unclickable on production builds.Also adds the general-flow toggle that lets a separate-email dataset be sent to the distribution list as well as its own recipients, and loosens the distribution list requirement to match.
Useful links
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Screenshots
Please include screenshots of this change. If this issue is only back-end related, and does not involve any visual change of the platform, you can skip this part.
Checklist:
( * == Mandatory )