Skip to content
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.131.0 #7459

Merged
merged 14 commits into from
Jul 1, 2024
Merged

build: release v6.131.0 #7459

merged 14 commits into from
Jul 1, 2024

Conversation

KenLSM
Copy link
Contributor

@KenLSM KenLSM commented Jun 30, 2024

New

  • fix: update husky commit hook status msg #7458
  • build: merge release v6.130.1 to develop #7455
  • fix(attachment): convoy separation (fix(attachment): convoy separation #7449) #7451
  • build: merge release v6.130.0 to develop #7447
  • feat(admin-form): support nric masking #7388
  • chore: replace outdated esrv id link #7438
  • chore: add minor changes to sample form submission api #7442
  • fix: silence aws-sdk deprecation warnings #7445
  • fix: move link to constants file, move out helper text as own component b549278
  • fix: remove memo from low cost component 10b037d

Dependencies

Dev-Dependencies

  • chore(deps-dev): bump @types/lodash from 4.17.5 to 4.17.6 in /shared #7452

Tests

feat(admin-form): support nric masking #7388

@g-tejas

Test email mode nric should be masked when nric mask toggle is on:
  • create an email mode form
  • ensure the form builder initially shows unmasked sample nric (S1234567A)
  • go to the singpass tab, turn on the enable singpass auth toggle, select any one of the singpass auth methods
  • toggle on nric masking
  • ensure the form builder shows sample masked nric (****567A)
  • open the form to public submission (in general settings tab)
  • respond to the form
  • check form response in email mailbox, verify the nric is masked
  • turn off the nric masking
  • make another form response
  • check form response in email mailbox, verify nric is not masked
Test storage mode nric should be masked when nric mask toggle is on + myinfo fields are not masked despite nric masking enabled + settings auth options are correctly disabled/enabled based on form state:
  • create a storage mode form
  • ensure the form builder initially shows unmasked sample nric (S1234567A)
  • go to the singpass tab, turn on the enable singpass auth toggle, select sgid-myinfo
  • toggle on nric masking
  • ensure the form builder shows sample masked nric (****567A)
  • add any 2 myinfo field to form (eg, name and country)
  • open the form to public submission (in general settings tab)
  • respond to the form
  • check form responses in admin panel, verify the nric is masked and the myinfo fields are not masked
  • make form private
  • ensure that the nric masking toggle can be turned off but radio button is disabled (due to presence of myinfo fields)
  • turn off the nric masking
  • make another form response
  • check form response in admin panel, verify nric is not masked

chore: replace outdated esrv id link #7438

helper text displays message as intended

@KenLSM

  • Create form and go to admin auth settings page
  • Select singpass authtype
  • Check that the new message is as shown as screenshot. (Ie. Singpass support partner...)
  • Repeat for SP with Myinfo
  • Repeat for SP with Corppass

kevin9foong and others added 14 commits June 25, 2024 15:49
…recation_warnings

fix: silence aws-sdk deprecation warnings
* add minor changes to sample form submission api

* revert checkbox field to randomising options
…e-partner-support-contact

chore: replace outdated esrv id link
* feat(admin-form): add frontend nric mask toggle to singpass auth settings

* fix(admin-form): fix spacing and change units from px to rem

* feat(admin-form): create isNricMaskingEnabled field in database when form is created

* feat(admin-form): enable fetching and updating isNricMaskingEnabled field in backend routes

* feat(admin-form): connect frontend component with server api routes

* fix(admin-form): make code terser, remove unused params, fix nullish-coalesce operator usage

* fix(admin-page): fix flickering bug

* feat(duplicate-api): implement duplication of isNricMaskEnabled field

* feat(public-form): prevent nric from reaching frontend if masked

* feat(nric-mask): apply masking when submitting forms

* feat(nric-mask): update frontend template to reflect masking toggle changes

* fix(index.html): checkout to develop branch

* fix: remove console.log

* fix(toggle-component): replace nullish coalesce with ternary operator

* chore(public-form-controller): remove masking when fetching public form at backend

* fix: refactor email-submission-controller to mask at single location

* fix: clean up nric-mask util function and unused imports

* fix: update field with evaluated map value

* feat: add nric masking to the frontend public form provider

* feat: remove tooltip and labelComponentRight from Toggle to match design

* feat: update settings auth page to reflect design master

* feat: add err message

* feat: change px to rem

* feat: disable independently for nric masking and auth toggle

* fix: change MyInfo to Myinfo in description message

* fix: update form model test suite to expect new isNricMaskEnabled field

* feat: add tests for nric mask util and masking for email submission

* feat: add test for isNricMaskDisabled for email submission

* feat: add tests for storage mode submission masking

* fix: fix bug with submission not being able to save authType and defaulting to nil

* feat: add stories for updated settings auth page

* feat: update playwright test helper to support new auth setting flow

* fix: fix review comments and run frontend lint fix

* fix: fix based on chromatic review

* fix: fix review comments

* feat: add testing for getDuplicateParams to ensure that nricmask is correctly duplicated

* refactor: extract skeleton component out to own file

---------

Co-authored-by: Ken <[email protected]>
build: merge release v6.130.0 to develop
…7452)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.5 to 4.17.6.
- [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>
build: merge release v6.130.1 to develop
…_hook_status_msg

fix: update husky commit hook status msg
Copy link
Contributor

@kevin9foong kevin9foong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@g-tejas g-tejas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kevin9foong kevin9foong merged commit 2cfcda8 into release-al2 Jul 1, 2024
70 of 74 checks passed
@kevin9foong kevin9foong deleted the release_v6.131.0 branch July 1, 2024 06:55
@KenLSM KenLSM mentioned this pull request Jul 4, 2024
9 tasks
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.

4 participants