-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add more myinfo sgid fields (#6766)
* feat: use fe app URL for local dev redirect * feat: add new myinfo sgid fields new fields: sex, race, nationality, housingtype, hdbtype * feat: add registered address * feat: log if missing myinfo field is from sgid or singpass login * feat: use isDataReadOnly property * feat: add growthbook * feat: add more sgid fields * chore: promote -sgid config to use env site name (cherry picked from commit e9d9288) * fix: fix linting errors * feat: change formatVehicles input type * fix: set agency shortname as growthbook attribute * fix: catch errors when parsing vehicles * feat: account for blank fields * feat: account for NA in missing field values check * fix: clean up code * fix: remove comment * fix: include SGID_SUPPORTED_V1 in SGID_SUPPORTED_V1 * fix: include more details in comment * feat: add logging to _isDataReadOnly for Singpass and SGID MyInfo * fix: remove console.log statement * feat: update mobile_number_with_country_code scope * fix: return empty string when fieldValue is NA --------- Co-authored-by: Ken <[email protected]>
- Loading branch information
Showing
10 changed files
with
258 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -281,6 +281,7 @@ export class MyInfoServiceClass { | |
fieldValue, | ||
myInfoAttr, | ||
myInfoConstantsList, | ||
myInfoData, | ||
) | ||
} | ||
} | ||
|
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.