cc @mnelsonBT -- need your sign-off before action.
Context
The /roadmap/_vision directory is intentionally underscored (_vision) so Next.js excludes it from routing. The page was removed and a redirect put in place (/roadmap/vision -> /roadmap, per commit 197fbe7853). The directory has been kept as dormant code since.
This was a while ago. Proposing we officially deprecate and delete the page + its dedicated components, since they're not in the production build.
What's currently held
app/[locale]/roadmap/_vision/ (full directory):
page.tsx -- the (excluded) page entry
page-jsonld.tsx -- structured data
_components/vision.tsx -- the page composition
src/components/Trilemma/ (full directory; only used by the vision page):
index.tsx
Triangle.tsx
useTrilemma.tsx
Trilemma.stories.tsx
- Translation namespaces:
src/intl/en/page-roadmap-vision.json (English source)
src/intl/[locale]/page-roadmap-vision.json for ~all other locales (the intl-pipeline will propagate the English deletion; do not hand-edit non-English files)
src/lib/utils/translations.ts:78 -- the ["/roadmap/vision/", ["page-upgrades-index", "page-roadmap-vision"]] entry mapping the (removed) route to its namespaces
What can stay
- Whatever existing redirect routes
/roadmap/vision -> /roadmap (per the original commit). I couldn't immediately locate the redirect rule in next.config.js / netlify.toml / src/i18n/routing.ts -- worth confirming before deletion that the redirect lives somewhere durable so external links to /roadmap/vision continue to work.
- Markdown content occurrences of "trilemma" as a concept (scalability trilemma) -- those reference the term in prose, not the React component, and are unaffected.
Proposed action
Single PR that:
- Deletes
app/[locale]/roadmap/_vision/ (full directory)
- Deletes
src/components/Trilemma/ (full directory, including the story file)
- Deletes
src/intl/en/page-roadmap-vision.json (let the intl-pipeline propagate the deletion across locales)
- Removes the
["/roadmap/vision/", [...]] entry from src/lib/utils/translations.ts
- Verifies the
/roadmap/vision -> /roadmap redirect is preserved (locate it; if it lives in code we're touching, keep it)
- Verifies build passes (
pnpm build) and no remaining imports reference deleted paths
Confirmation needed before action
@mnelsonBT -- does the team want to officially retire this page/component, or is there a plan to revive it? Drop a thumbs-up here (or push back) and we'll proceed accordingly. If retiring, a PR can land within a day.
Generated by Claude Opus 4.7
cc @mnelsonBT -- need your sign-off before action.
Context
The
/roadmap/_visiondirectory is intentionally underscored (_vision) so Next.js excludes it from routing. The page was removed and a redirect put in place (/roadmap/vision->/roadmap, per commit197fbe7853). The directory has been kept as dormant code since.This was a while ago. Proposing we officially deprecate and delete the page + its dedicated components, since they're not in the production build.
What's currently held
app/[locale]/roadmap/_vision/(full directory):page.tsx-- the (excluded) page entrypage-jsonld.tsx-- structured data_components/vision.tsx-- the page compositionsrc/components/Trilemma/(full directory; only used by the vision page):index.tsxTriangle.tsxuseTrilemma.tsxTrilemma.stories.tsxsrc/intl/en/page-roadmap-vision.json(English source)src/intl/[locale]/page-roadmap-vision.jsonfor ~all other locales (the intl-pipeline will propagate the English deletion; do not hand-edit non-English files)src/lib/utils/translations.ts:78-- the["/roadmap/vision/", ["page-upgrades-index", "page-roadmap-vision"]]entry mapping the (removed) route to its namespacesWhat can stay
/roadmap/vision->/roadmap(per the original commit). I couldn't immediately locate the redirect rule innext.config.js/netlify.toml/src/i18n/routing.ts-- worth confirming before deletion that the redirect lives somewhere durable so external links to/roadmap/visioncontinue to work.Proposed action
Single PR that:
app/[locale]/roadmap/_vision/(full directory)src/components/Trilemma/(full directory, including the story file)src/intl/en/page-roadmap-vision.json(let the intl-pipeline propagate the deletion across locales)["/roadmap/vision/", [...]]entry fromsrc/lib/utils/translations.ts/roadmap/vision->/roadmapredirect is preserved (locate it; if it lives in code we're touching, keep it)pnpm build) and no remaining imports reference deleted pathsConfirmation needed before action
@mnelsonBT -- does the team want to officially retire this page/component, or is there a plan to revive it? Drop a thumbs-up here (or push back) and we'll proceed accordingly. If retiring, a PR can land within a day.
Generated by Claude Opus 4.7