-
Notifications
You must be signed in to change notification settings - Fork 87
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
build: release v6.149.0 #7725
Merged
Merged
build: release v6.149.0 #7725
+5,619
−2,421
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
fix: add babel loader to fix chromatic es2018 failure
* chore: remove credits-generator, should use npx instead * chore: remove unused deps
Bumps [@opengovsg/sgid-client](https://github.com/opengovsg/sgid-client) from 2.0.0 to 2.2.0. - [Release notes](https://github.com/opengovsg/sgid-client/releases) - [Commits](opengovsg/sgid-client@v2.0.0...v2.2.0) --- updated-dependencies: - dependency-name: "@opengovsg/sgid-client" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/dedent](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dedent) from 0.7.0 to 0.7.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dedent) --- updated-dependencies: - dependency-name: "@types/dedent" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [neverthrow](https://github.com/supermacro/neverthrow) from 6.1.0 to 8.0.0. - [Release notes](https://github.com/supermacro/neverthrow/releases) - [Changelog](https://github.com/supermacro/neverthrow/blob/master/CHANGELOG.md) - [Commits](supermacro/neverthrow@v6.1.0...v8.0.0) --- updated-dependencies: - dependency-name: neverthrow dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [opossum](https://github.com/nodeshift/opossum) and [@types/opossum](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/opossum). These dependencies needed to be updated together. Updates `opossum` from 7.1.0 to 8.1.4 - [Release notes](https://github.com/nodeshift/opossum/releases) - [Changelog](https://github.com/nodeshift/opossum/blob/main/CHANGELOG.md) - [Commits](nodeshift/opossum@v7.1.0...v8.1.4) Updates `@types/opossum` from 6.2.3 to 8.1.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/opossum) --- updated-dependencies: - dependency-name: opossum dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/opossum" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.7.7. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.7.4...v1.7.7) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@aws-sdk/client-lambda](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-lambda) from 3.414.0 to 3.654.0. - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.654.0/clients/client-lambda) --- updated-dependencies: - dependency-name: "@aws-sdk/client-lambda" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.3 to 16.4.5. - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v16.0.3...v16.4.5) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump jest-extended from 3.2.4 to 4.0.2 Bumps [jest-extended](https://github.com/jest-community/jest-extended) from 3.2.4 to 4.0.2. - [Release notes](https://github.com/jest-community/jest-extended/releases) - [Changelog](https://github.com/jest-community/jest-extended/blob/main/CHANGELOG.md) - [Commits](jest-community/jest-extended@v3.2.4...v4.0.2) --- updated-dependencies: - dependency-name: jest-extended dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix: breaking changes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1659.0 to 2.1691.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Commits](aws/aws-sdk-js@v2.1659.0...v2.1691.0) --- updated-dependencies: - dependency-name: aws-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.3 to 5.2.1. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.1.3...v5.2.1) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7707) Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.5.0 to 29.7.0. - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom) --- updated-dependencies: - dependency-name: jest-environment-jsdom dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@stoplight/prism-cli](https://github.com/stoplightio/prism) from 5.5.4 to 5.10.0. - [Release notes](https://github.com/stoplightio/prism/releases) - [Changelog](https://github.com/stoplightio/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/stoplightio/prism/commits) --- updated-dependencies: - dependency-name: "@stoplight/prism-cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/busboy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/busboy) from 1.5.3 to 1.5.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/busboy) --- updated-dependencies: - dependency-name: "@types/busboy" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) from 7.2.0 to 7.4.0. - [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases) - [Commits](express-rate-limit/express-rate-limit@v7.2.0...v7.4.0) --- updated-dependencies: - dependency-name: express-rate-limit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.25.3 to 7.25.4. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7713) Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.8 to 1.11.9. - [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.8...v1.11.9) --- updated-dependencies: - dependency-name: libphonenumber-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7717) Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.7 to 4.17.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add tracking action on create form * add navbar trackers * add save step tracking * refactor: cleanup unused imports, use full const string for tracking names * chore: upgrade dd browser-rum package * chore: add new dd csp source * chore: hack to extract dd_rum * fix: datadog resetting due to re-imports * chore: remove unnecessary export * refactor: use proxy for more elegance * chore: linting
Signed-off-by: Ken Lee Shu Ming <[email protected]>
* chore: add comments clarifying potentially confusing terms * feat: remove undocumented param and return --------- Co-authored-by: Kevin Foong <[email protected]>
fix: allow empty lcov
* feat: add empty UT for approvals * feat: add approval outcome email template * feat: create common FormStepWithHeader component for editBlock items * feat: approval toggle and field in edit workflow step block * feat: enable saving of approval_step * feat: add validation of approval field selection * feat: add use for approvals badge for yes/no field * feat: implement sending of approval emails in BE * feat: validate that approval fields are yes/no on update * fix: out of bounds index error when re-submitting mrf via response link * fix: watch values needed for validation * fix: add default values for sendMrfOutcomeEmails isApproval and isRejected * feat: validate that approval field must be in same step's edit fields * feat: log error when checkIsStepRejected fails * fix: remove duplicates in email sending using uniq * feat: create REST api for workflow steps * feat: implement workflow step validation * feat: display field deleted state * chore: remove stray comment * feat: clear value if deleted * feat: add joi validation for mongodb objectId of hex and 24 length string * fix: remove workflow from updateSettings * feat: implement mrf builder v8 * feat: handle error message when admin does not select respondent type radio * chore: improve rationale comment for getValueIfNotDeleted * feat: make error badge more explicit by making it red * feat: only display use for approvals badge for mrf * feat: add storybook for FieldListDrawer to visual test use for approvals * feat: add chromatic stories for mrf edit step block * feat: add chromatic stories for inactive workflow builder state * feat: add BE validation that first step of MRF workflow cannot be approval * feat: add BE unit tests for approvals * chore: add beta flags for approvals * fix: chromatic visual nits * feat: add header to mrf email notif * fix: make workflow content info box 44px * chore: Remove capitalisations for Outcome and Notifications to comply with design * chore: remove unused props * chore: remove stray _ in log action * chore: remove unused imports * fix: pr comments * fix: use edit name across form * feat: refactor mrf controller to move business logic to service * feat: add UT for controller and service for mrf * fix: remove throw error in map * fix: allow empty lcov --------- Co-authored-by: Ken <[email protected]>
build: merge release v6.148.0 to develop
Unsure what does "expected" here means. Briefly checked the PRD, but it also doesn't fully ascribe who is expected
R3 receives “Outcome email, but NOT “Request for approval email”
R3 also receives “Outcome email, but NOT “Request for approval email” |
KenLSM
approved these changes
Sep 26, 2024
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.
New
#7724
#7636
#7722
#7693
#7694
#7720
#7719
#7704
#7685
#7684
#7683
Dependencies
#7713
#7710
#7703
#7698
#7702
#7701
#7699
#7593
#7697
#7687
Dev-Dependencies
#7717
#7711
#7709
#7708
#7707
#7706
#7696
Tests
feat(tracking): mrf workflow + creation
#7704
@kevin9foong
Regression
Workflow can be added
feat: approvals for mrf
#7636
@KenLSM
For approvals:
Test set up:
Use for approvals
badge appears beside yes/no fields in drawer.TC1: Regression test - MRF still works
TC2: Regression test - email notif works:
TC3: Approve without email notif. Expect no email sent
TC4: Reject without email notif. Expect no email sent
TC5: Approve and reject with email notification works:
TC6: Multiple approval steps - approve all
TC7: Multiple approval steps - Reject at step 2 (middle step)
TC8: Multiple approval steps - Reject at last step
Edge cases:
TC10: approval field set to optional, respondent did not fill
TC10: approval field deleted, admin did not reassign