This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
Conversation
Gate the online application path for the birth, death and marriage
certificate services behind research access so the public sees only the
offline (Registration Department) method until the online forms are ready.
- Mark each service's `start` and `form` subpages as protected, so
/family-birth-relationships/get-*-certificate/{start,form} return 404
for the public while research-access users can still reach them.
- On the service overview, pass the real research-access value when a
page has gated subpages so rehypeHideStartLinks strips the online
"start" link and renumbers the "ways to apply" copy for the public.
- Nest the marriage online method under its list item and neutralise the
marriage/death "Complete the form online" headings so the overview
reads cleanly once the online method is removed. Birth was already
structured correctly and is unchanged.
- Add an e2e spec verifying the public 404s and hidden start-link, and
that research-access users retain the online form. It skips when the
research-access gate is inactive (RESEARCH_ACCESS_TOKEN unset).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-forms feat(content): feature flag certificate forms to offline-only
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was successfully deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Release
Promotes
main→prod.Included
Gates the online application path for the birth, death and marriage certificate services behind research access. The public sees only the offline (Registration Department) method and the
/form+/startroutes return 404; research-access users retain full access to the online forms.Post-deploy note
The flag engages where
RESEARCH_ACCESS_TOKENis set (which prod has). Confirm after deploy: as a public user the three certificate overviews show offline-only with no online start-link, and/family-birth-relationships/get-{birth,death,marriage}-certificate/formreturn 404.🤖 Generated with Claude Code