Repository navigation
feat(meghalaya): store Female and ANM instead of asking; drop deployed-from (v6.0.9) - #233
Closed
likhithThammegowda wants to merge 2 commits into
Closed
likhithThammegowda wants to merge 2 commits into
likhithThammegowda wants to merge 2 commits into
Conversation
…d-from The ANM form no longer asks for gender, qualification or "deployed from". Every Meghalaya ANM is female and ANM-qualified, so the profile now always gets gender Female and qualification ANM, and deployedFrom is no longer written. The schema still accepts the three fields and drops them, so a page loaded before the portal release keeps registering instead of failing validation on unknown keys.
Author
|
Not needed: 6.0.9 shipped through production (PR #234, release-6.0.9). |
This file contains hidden or 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
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.
What
The Meghalaya ANM form (eagle-fusion PR Sphere/eagle-fusion#754) no longer asks for gender, qualification or "deployed from", as the state asked. Every ANM registering is female and ANM-qualified, so
publicApi_v8/meghalayaUser.tsnow:gender: Female,academics[0].nameOfQualification: ANMandprofessionalDetails[0].qualification: ANMon every Meghalaya profile;professionalDetails[0].deployedFrom;genderorqualificationin the request. If an older form page still sendsgender,qualificationordeployedFrom, they are accepted and dropped, so registrations don't fail while browsers hold the old page.Release notes for 6.0.9 are included:
RELEASE_NOTES/6.0.9.md.Deploy order
Deploy this before portal 5.2.3. 6.0.8 requires gender and qualification, so it would reject the new form.
Release branch
As with 6.0.8,
release-6.0.9is cut fromrelease-6.0.8(theproductionline), not from master, with only themeghalayaUser.tschange cherry-picked. The file is identical on both lines today, so the cherry-pick applies cleanly.Checks
meghalayaUser.test.ts: 21/21 pass, including two new tests: old fields are dropped, and Female/ANM are stored whatever an old page sends.tsc --noEmitis clean. The pre-pushnpm run buildpassed.Commits
05a75d2feat(meghalaya): store Female and ANM instead of asking; drop deployed-fromfb9d71adocs(release): write release notes for 6.0.9