Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Release: feature flag certificate forms to offline-only - #649

Merged
sajclarke merged 2 commits into
prodfrom
main
Jun 15, 2026
Merged

sajclarke merged 2 commits into
prodfrom
main

Conversation

@sajclarke

Copy link
Copy Markdown
Collaborator

Release

Promotes main → prod.

Included

  • feat(content): feature flag certificate forms to offline-only #648 — feat(content): feature flag certificate forms to offline-only
    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 + /start routes return 404; research-access users retain full access to the online forms.

Post-deploy note

The flag engages where RESEARCH_ACCESS_TOKEN is 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/form return 404.

🤖 Generated with Claude Code

sajclarke and others added 2 commits June 15, 2026 10:55
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
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
frontend-alpha Ignored Ignored Jun 15, 2026 3:00pm

Request Review

@sajclarke
sajclarke merged commit 52495d3 into prod Jun 15, 2026
8 of 11 checks passed

This branch was successfully deployed

1 active deployment
Preview – frontend-alpha-poc-bank-holiday — d6efebae Deployed Jun 15, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant