Skip to content

Canonicalize all community navigation under /communities #247

Description

@Caneryy

Planning

Problem

The app currently owns behavior in three route families: /communities/**, /community/**, and /proposals/**. Users can enter different implementations of the same product journey, and contributors must update multiple route trees.

Scope

Use /communities, /communities/create, /communities/[id], /communities/[id]/proposals, and /communities/[id]/proposals/[proposalId] as canonical destinations. Convert singular and global legacy pages into thin redirects that preserve relevant query parameters. Update all internal links, breadcrumbs, navigation, component tests, route tests, E2E specs, and current docs.

Mechanical recipe

  1. Add one route-builder module with typed helpers.
  2. Replace hard-coded community/proposal paths with those helpers.
  3. Replace legacy page bodies with redirects.
  4. Update test expectations and documentation links.

Acceptance criteria

  • No production component hard-codes a primary /community or global /proposals destination.
  • Legacy URLs redirect to the equivalent canonical URL without losing identifiers or query parameters.
  • Canonical route tests and Playwright navigation flows pass.

Verification

npm run lint && npm run typecheck && npm test && npm run test:e2e:ci

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions