Skip to content

Rename cliff-watch route to cliffwatch and mirror on UK#1051

Merged
MaxGhenis merged 1 commit into
mainfrom
bot/cliffwatch-rename
May 21, 2026
Merged

Rename cliff-watch route to cliffwatch and mirror on UK#1051
MaxGhenis merged 1 commit into
mainfrom
bot/cliffwatch-rename

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • /us/cliffwatch is now the canonical multizone route (replacing /us/cliff-watch).
  • /uk/cliffwatch mirrors it with ?country=uk appended (same pattern as /uk/marriage), so PolicyEngine.org users on either country prefix land on the cliff-watch app.
  • Permanent redirects from /:countryId/cliff-watch and /:countryId/cliff-watch/:path* preserve every existing inbound link.
  • app/src/data/apps/apps.json: slug + title updated to cliffwatch / CliffWatch to match the app's new branding.

Test plan

  • /us/cliffwatch resolves to the cliff-watch deployment.
  • /uk/cliffwatch resolves to the same with ?country=uk.
  • /us/cliff-watch and /uk/cliff-watch 308-redirect to the new paths.
  • /us/cliff-watch/about 308-redirects to /us/cliffwatch/about.

Follow-up

The cliff-watch app currently only models US households. UK display (state → region, county → local authority, currency) is a separate piece of work — for now /uk/cliffwatch shows the US wizard.

Refs #1044

Renames the canonical URL slug from /us/cliff-watch to /us/cliffwatch
(matching the app's new "CliffWatch" branding) and mirrors at /uk/cliffwatch
so PolicyEngine.org users on either country prefix land on the same
multizone destination.

Permanent redirects from /:countryId/cliff-watch and
/:countryId/cliff-watch/:path* preserve existing inbound links.

The /uk/cliffwatch rewrite appends ?country=uk to the destination, the same
pattern UK marriage uses; the cliff-watch app currently only models US
households but can read the param when UK support lands.

apps.json: slug + title updated to match (CliffWatch one word).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
policyengine-app-v2 Ready Ready Preview, Comment May 21, 2026 9:52pm
policyengine-calculator Ready Ready Preview, Comment May 21, 2026 9:52pm
policyengine-calculator-next Ready Ready Preview, Comment May 21, 2026 9:52pm
policyengine-website Ready Ready Preview, Comment May 21, 2026 9:52pm

Request Review

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