-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change nric mask toggle to nric collection toggle (#7566)
* feat: change nric mask toggle to nric collection toggle * feat: display submitter id collection status to respondent * feat: disable submitter id collection when toggle is enabled * feat: remove masking of nric in preview and form builder * feat: add chromatic tests * fix: change copy to singpass login id * feat: add encrypt submission unit test coverage for submitter id collection across various singpass authtypes * feat: add tests for email mode * fix: remove single quote from copy * fix: change copy for corppass * fix: adapt playwright tests for nric opt-out * fix: use custom object to override isSubmitterIdCollectionEnabled in e2e test instead of providing through argument * fix: move iife to outside component * fix: failing tc due to changes in errorcode formatting and hashing of caps * feat: add growthbook support for backend * feat: wrap opt in out feature in feature flag * feat: remove growthbook for test env, make env config export more precise, cleanup growthbook usage in FE * fix: update form defaults in test case to set isSubmitterIdCollected to true for rollout * feat: make storybook test env so that we can disable Growthbook for storybook runs based on test env * fix: remove unused useEffect dependency * fix: logic bug with disabling submitterIdCollection feature for test mode and based on feature flag * fix: failing e2e test due to mismatch default form setting for isSubmitterIdCollectionEnabled * fix: add exhaustive checks on switchcase --------- Co-authored-by: Ken <[email protected]>
- Loading branch information
1 parent
2b5ed0a
commit 1f42038
Showing
66 changed files
with
1,093 additions
and
441 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export const PREVIEW_MOCK_UINFIN = 'S1234567A' | ||
export const PREVIEW_MASKED_MOCK_UINFIN = '*****567A' |
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
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
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
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
Oops, something went wrong.