Skip to content

chore: officially deprecate /roadmap/_vision page and Trilemma component #18135

@myelinated-wackerow

Description

@myelinated-wackerow

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:

  1. Deletes app/[locale]/roadmap/_vision/ (full directory)
  2. Deletes src/components/Trilemma/ (full directory, including the story file)
  3. Deletes src/intl/en/page-roadmap-vision.json (let the intl-pipeline propagate the deletion across locales)
  4. Removes the ["/roadmap/vision/", [...]] entry from src/lib/utils/translations.ts
  5. Verifies the /roadmap/vision -> /roadmap redirect is preserved (locate it; if it lives in code we're touching, keep it)
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleThis issue is stale because it has been open 30 days with no activity.needs triage 📥This issue needs triaged before being worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions