Rename cliff-watch route to cliffwatch and mirror on UK#1051
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
/us/cliffwatchis now the canonical multizone route (replacing/us/cliff-watch)./uk/cliffwatchmirrors it with?country=ukappended (same pattern as/uk/marriage), so PolicyEngine.org users on either country prefix land on the cliff-watch app./:countryId/cliff-watchand/:countryId/cliff-watch/:path*preserve every existing inbound link.app/src/data/apps/apps.json: slug + title updated tocliffwatch/CliffWatchto match the app's new branding.Test plan
/us/cliffwatchresolves to the cliff-watch deployment./uk/cliffwatchresolves to the same with?country=uk./us/cliff-watchand/uk/cliff-watch308-redirect to the new paths./us/cliff-watch/about308-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/cliffwatchshows the US wizard.Refs #1044