Skip to content

MedEvac: per-dataset Common Services user filter - #2919

Draft
morgang-adappt wants to merge 18 commits into
medevac/grid-action-ssefrom
medevac/cs-user-filter
Draft

MedEvac: per-dataset Common Services user filter#2919
morgang-adappt wants to merge 18 commits into
medevac/grid-action-ssefrom
medevac/cs-user-filter

Conversation

@morgang-adappt

Copy link
Copy Markdown
Contributor

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 and trackBy, 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

  • New feature (non-breaking change which adds functionality)
  • Improvement (refactor or addition to existing functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • Test A
  • Test B

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 )

  • * I have set myself as assignee of the pull request
  • * My code follows the style guidelines of this project
  • * Linting does not generate new warnings
  • * I have performed a self-review of my own code
  • * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • * I have commented my code, particularly in hard-to-understand areas
  • * I have put JSDoc comment in all required places
  • * My changes generate no new warnings
  • * I have included screenshots describing my changes if relevant
  • * I have selected labels in the Pull Request, according to the changes with code brings
  • I have made corresponding changes to the documentation ( if required )
  • I have added tests that prove my fix is effective or that my feature works
  • * New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

NarendranMurugan and others added 18 commits July 27, 2026 01:03
(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)
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