Skip to content

fix: add per-route metadata and split client dashboards for proper titles (#81) - #170

Open
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/81-missing-route-metadata
Open

fix: add per-route metadata and split client dashboards for proper titles (#81)#170
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/81-missing-route-metadata

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #81.

  • Split ContributorDashboardPage and SponsorDashboardPage into thin Server Component wrappers (holding export const metadata) plus separate Client Components, mirroring the existing ConnectPage/ConnectPanel pattern. Both now show route-specific titles matching MaintainerDashboardPage's convention.
  • Add generateMetadata to /issues/[id]/page.tsx deriving dynamic title (${bounty.title} — ${formatCurrency(reward)} | MergeFi), description from bounty text, and Open Graph tags. Falls back gracefully for nonexistent bounties.
  • Add generateMetadata to /reputation/[handle]/page.tsx with profile-specific title (@handle | MergeFi), stats-derived description, and Open Graph tags. Same not-found handling.
  • TypeScript compiles cleanly with npx tsc --noEmit.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Missing per-route metadata: Client-Component dashboards have no title, and the bounty/reputation detail pages have no generateMetadata

1 participant