Skip to content

fix(www): register the CodeForge sidebar event - #1108

Merged
jinho-yeom merged 1 commit into
magicuidesign:mainfrom
jinho-yeom:fix/codeforge-event
Nov 27, 2026
Merged

jinho-yeom merged 1 commit into
magicuidesign:mainfrom
jinho-yeom:fix/codeforge-event

Conversation

@jinho-yeom

Copy link
Copy Markdown
Member

Why

Clicking "CodeForge" in the docs sidebar throws a ZodError and the click never reaches PostHog. Fixes #1105.

What

  • Add template_codeforge_clicked to eventSchema.
  • Import the app's Event type in types/index.d.ts. NavItem.event was any, so an unregistered name now fails pnpm typecheck.
  • Remove the unused template_marketing_clicked.

No UI change. pnpm typecheck, eslint and prettier pass.

@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

@jinho-yeom is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@jinho-yeom
jinho-yeom merged commit e07f660 into magicuidesign:main Nov 27, 2026
7 of 8 checks passed
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.

Clicking "CodeForge" in DocsSidebar throws uncaught ZodError from unregistered event name

1 participant