-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(waiver-amend): Add waiver amendment emails #993
Merged
Merged
Conversation
This file contains 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
benjaminpaige
changed the title
Waiver amend
feat(waiver-amend): Add waiver amendment emails
Jan 8, 2025
benjaminpaige
temporarily deployed
to
waiver-amend
January 8, 2025 20:52 — with
GitHub Actions
Inactive
benjaminpaige
temporarily deployed
to
waiver-amend
January 8, 2025 20:52 — with
GitHub Actions
Inactive
benjaminpaige
temporarily deployed
to
waiver-amend
January 8, 2025 20:52 — with
GitHub Actions
Inactive
13bfrancis
approved these changes
Jan 8, 2025
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 like it
thetif
approved these changes
Jan 8, 2025
RanyeM
pushed a commit
that referenced
this pull request
Jan 9, 2025
RanyeM
added a commit
that referenced
this pull request
Jan 9, 2025
* feature: adding new FAQ to FAQ page * feature: question should open corresponding section * fix: corrected code back to faq page direct link * fix: removed id * fix: #5 and #6 to expanded section * fix: test coverage * revert package json to what is on main * fix(email): Fixes an issue with Outlook not correctly displaying the OneMAC logo and header (#972) * fixed index test * fix(test): Create mock for calling lambdas (#973) * Added msw endpoints for Lambda, Step Functions, Secure Token Services, and other related services * Added/updated test data to support new endpoints * Updated tests to use the new endpoints instead of mocking individually * fix(email): switch email logo back to using url * fix(schema): remove logic for determining next business day for `submissionDate` (#980) * fix: remove logic for determining next business day for `submissionDate` * fix: update `submissionDate` value * feat(ui): Remove status date from package details pages for all users (#965) * fix(initial verbiage fix): Email verbiage fixes from qa (#974) * correct verbage for med and chip spa * fix issues with verbiage need confirmation * remove comment * add date and attachment logic * update snapshots * Update ChipSpaState.tsx * test(email): proces email test (#979) * feat(test)proces email test * Removed console.log * linter correction * removed a ine * remove brackets * add region * Address change reqeust * feat(test)-submit lambda (#987) * feat(test)-submit lambda * Update withdrawpackage to withdrawrai * linter corrections * Fix some test * Test for malformed objects * Remove import vs code added in * remove console.log * Updatign to use get requestcontext * feat(test) fix email test (#991) * feat(test) fix email test * Update processEmails.test.ts * fix(os) helpers for getting domain and index for opensearch (#992) * created helpers for getting domain and index for opensearch * fixed import * feat(test) updates to s3 calls on backend (#985) * updates to s3 calls on backend * feat(test)-unauthorized submission test (#996) * feat(amend): Add waiver amendment emails (#993) * Feat(playwright performance): Pw perf tests (#959) * feat: initial perf tests for routes fix: refactor * Fix: updated per review comments --------- Co-authored-by: asharonbaltazar <[email protected]> --------- Co-authored-by: 13bfrancis <[email protected]> Co-authored-by: Ty Bolt <[email protected]> Co-authored-by: Tiffany Forkner <[email protected]> Co-authored-by: asharonbaltazar <[email protected]> Co-authored-by: James Dinh <[email protected]> Co-authored-by: Thomas Walker <[email protected]> Co-authored-by: Benjamin Paige <[email protected]> Co-authored-by: Jon Schaffer <[email protected]>
🎉 This PR is included in version 1.5.0-val.103 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Pull Request Description:
This PR introduces support for 1915(b) Waiver Amendments and Renewals (both Capitated and Contracting) within the OneMAC Submission Portal’s email notifications. Below is a breakdown of the major changes introduced by these commits:
1. Enhanced Email Templates
Waiver1915bCMS.tsx
andWaiver1915bState.tsx
props.variables
union:Events["CapitatedRenewal"]
Events["ContractingRenewal"]
Events["CapitatedAmendment"]
Events["ContractingAmendment"]
previewText
andheading
to dynamically useformatActionType()
(instead of hard-codedactionType
) for improved readability.new-submission/index.tsx
newSubmission
object to handle additional events for Capitated Renewals:cms
andstate
methods to accept(Events["CapitatedRenewal"] & CommonEmailVariables & { emails: EmailAddresses })
.variables.emails.osgEmail
for CMS, and the submitter’s email for the state).2. Preview & Test Files
Refactoring & Expanding Test Coverage
Waiver1915bCMSEmailPreview
” component and split them out into event-specific components:Waiver1915bCMSCapitatedInitialEmailPreview
Waiver1915bCMSCapitatedRenewalEmailPreview
Waiver1915bCMSCapitatedAmendmentEmailPreview
Waiver1915bCMSContractingInitialEmailPreview
Waiver1915bCMSContractingRenewalEmailPreview
Waiver1915bCMSContractingAmendmentEmailPreview
InitialSubmissionCMS.test.tsx
New File:
Waiver_Contracting.tsx
preview/Initial Submissions/CMS/
, this file introduces all the new Contracting-related 1915(b) waiver email previews.3. Miscellaneous Changes
formatActionType
) to ensure the email subject lines, headings, and preview text accurately reflect the waiver submission type..test.tsx.snap
) reflect newly introduced components and updated email text. This accounts for the majority of insertions and deletions in the diff.4. Summary
In essence, these changes expand the Portal’s capability to handle Initial, Renewal, and Amendment submissions for 1915(b) Capitated and 1915(b) Contracting waivers. This PR:
Once merged, users will see accurate and context-specific email notifications (for both CMS and state recipients) for Initial, Renewal, and Amendment submissions of 1915(b) Waivers.