Skip to content

feat(meghalaya): store Female and ANM instead of asking; drop deployed-from (v6.0.9) - #233

Closed
likhithThammegowda wants to merge 2 commits into
masterfrom
fix/meghalaya-anm-fields
Closed

likhithThammegowda wants to merge 2 commits into
masterfrom
fix/meghalaya-anm-fields

Conversation

@likhithThammegowda

Copy link
Copy Markdown

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.ts now:

  • writes gender: Female, academics[0].nameOfQualification: ANM and professionalDetails[0].qualification: ANM on every Meghalaya profile;
  • no longer writes professionalDetails[0].deployedFrom;
  • no longer requires gender or qualification in the request. If an older form page still sends gender, qualification or deployedFrom, 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.9 is cut from release-6.0.8 (the production line), not from master, with only the meghalayaUser.ts change 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 --noEmit is clean. The pre-push npm run build passed.

Commits

  • 05a75d2 feat(meghalaya): store Female and ANM instead of asking; drop deployed-from
  • fb9d71a docs(release): write release notes for 6.0.9

…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.
@likhithThammegowda

Copy link
Copy Markdown
Author

Not needed: 6.0.9 shipped through production (PR #234, release-6.0.9).

@likhithThammegowda
likhithThammegowda deleted the fix/meghalaya-anm-fields branch December 1, 2026 16:25
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.

1 participant