Website: Overhaul PostHog Code page#18671
Conversation
…tion-code-page # Conflicts: # src/hooks/useProduct.ts # src/pages/code.tsx
Resolve code.tsx conflict in favor of the rewritten page; master's changes were cosmetic polish to superseded sections. The SSR-safe #download handler is already present in the rewrite. (--no-verify: pre-commit hook flags a pre-existing react/display-name error in src/components/Home/Test/index.tsx, a master file unrelated to this branch. All files authored on this branch pass eslint.) Generated-By: PostHog Code Task-Id: 430f586a-7eb6-447b-bef4-be98aff5dd6f
|
Vale prose linter → found 44 errors, 1344 warnings, 27 suggestions in your markdown Full report → · Copy the Job Summary code block into an LLM to batch-fix issues.
|
Deploy preview
|
Bundle reportTotal JS (gzip)6.72 MiB (+3.8 KiB / +0.1%) Largest changed named chunks
Eager graph (modules shipped in each entrypoint's initial chunks)
Largest modules in the
|
| Module | Size |
|---|---|
./src/data/mcp-tools.json |
858.5 KiB |
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css |
741.0 KiB |
./src/components/Stickers/Stickers.tsx |
696.4 KiB |
./node_modules/.pnpm/@radix-ui+react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js |
481.4 KiB |
./node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js + 29 modules |
395.1 KiB |
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.cjs.js |
364.8 KiB |
./src/hooks/useCustomers.tsx + 54 modules |
355.1 KiB |
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js |
354.8 KiB |
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules |
351.4 KiB |
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js |
281.9 KiB |
./src/components/ProductComparisonTable/index.tsx + 120 modules |
278.6 KiB |
./src/components/SearchUI/index.tsx + 87 modules |
271.9 KiB |
./node_modules/.pnpm/d3@7.9.0/node_modules/d3/src/index.js + 208 modules |
247.4 KiB |
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules |
239.9 KiB |
./gatsby-browser.tsx + 43 modules |
225.0 KiB |
Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).
Generated-By: PostHog Code Task-Id: 44ac34e7-b822-4bd0-a405-258660879184
Left dated content (like blogs) as is with PostHog Code references, but otherwise renamed everything (docs, handbook etc...)
@smallbrownbike this might not be the best solution?
adboio
left a comment
There was a problem hiding this comment.
this is so sickkkkkkkk
will keep poking around with it, just adding the other gpt models in a comment here quick !
| <div className="flex flex-wrap gap-2"> | ||
| <ModelChip>GPT-5.5</ModelChip> | ||
| <ModelChip>GPT-5.4</ModelChip> | ||
| </div> |
There was a problem hiding this comment.
| <div className="flex flex-wrap gap-2"> | |
| <ModelChip>GPT-5.5</ModelChip> | |
| <ModelChip>GPT-5.4</ModelChip> | |
| </div> | |
| <div className="flex flex-wrap gap-2"> | |
| <ModelChip>GPT-5.6 Sol</ModelChip> | |
| <ModelChip>GPT-5.6 Terra</ModelChip> | |
| <ModelChip>GPT-5.6 Luna</ModelChip> | |
| <ModelChip>GPT-5.5</ModelChip> | |
| <ModelChip>GPT-5.4</ModelChip> | |
| </div> |
| } | ||
| extra={<IconGroupColumns groups={canvasExampleGroups} />} | ||
| > | ||
| Ask for a report, a dashboard, or random internal tool, get exactly what you want in a{' '} |
There was a problem hiding this comment.
random internal tool
i might be wrong but i don't think we're quite at "internal tool" level with the canvases yet, maybe we can reword this to be closer to just reports/dashboards?
| > | ||
| inbox | ||
| </Link>{' '} | ||
| you look forward to opening. Product signals go in, PRs come out. |
There was a problem hiding this comment.
[super nit picky, feel free to ignore] i think putting this caption below the screenshot might feel more balanced with the rest of the card
charlescook-ph
left a comment
There was a problem hiding this comment.
@cleo-pleurodon as is marketing tradition, I have purely focused on the constructive stuff and not left the (very) long list of comments about things I like here!
Mainly stuff where I think you could go a level more specific/less-buzzwordy for our ICP. But broadly this is great. I haven't checked on mobile btw, assuming you have on preview for any layout funkiness?
| padding={2} | ||
| delay={300} | ||
| > | ||
| agentic workspace |
There was a problem hiding this comment.
"agentic workspace" feels corporate buzzwordy - is there something that would better resonate with a YC founder here? ('the era of self driving' was also a bit grandiose, so not suggesting we go back to that either though)
"workspace" also puts us in the class of Notion and Slack
|
|
||
| <CloudinaryImage | ||
| src="https://res.cloudinary.com/dmukukwp6/image/upload/plague_doctor_beach_11580558c0.png" | ||
| alt="A plague doctor relaxing on a beach" |
There was a problem hiding this comment.
I love plague doctor but they seem a bit randomly crowbarred in here - I'd remove given you have the banana and lemon hogs below (which work better in the context of a receipt)
| </ChoppyReveal> | ||
| </p> | ||
|
|
||
| {/* Table stakes + receipt: the standard starter pack every AI tool ships (also the "old way") */} |
There was a problem hiding this comment.
I like the agent mart concept, but logically it doesn't make sense to be in the 'old way' section, should be in the 'PostHog way'?
| </li> | ||
| ))} | ||
| </ul> | ||
| <p className="m-0 mt-3 text-sm italic text-secondary">Instead...</p> |
There was a problem hiding this comment.
I think you can delete this, would simplify and it's pretty clear the next section is the 'instead'
|
|
||
| <p className="text-base leading-loose mb-5"> | ||
| <ChoppyReveal wordDelay={25} initialDelay={p2Done ? 0 : 999999} onComplete={() => onComplete?.()}> | ||
| <strong>TL;DR:</strong> Other AI tools edit your code.{' '} |
There was a problem hiding this comment.
I think the original language was better here - what is the difference between editing code and editing your product, when the product is code? (This would imply to me... design tools?)
| <div className="rounded-md border border-purple bg-purple/10 p-6 shadow-xl @xl:p-8"> | ||
| <div className="mb-3 flex items-center gap-2"> | ||
| <StickerRobot className="size-8 -rotate-3" /> | ||
| <h2 className="m-0 text-2xl font-bold">Dang, PostHog's got skills</h2> |
There was a problem hiding this comment.
I'm not totally sure what this section means, it feels kinda empty? It reads as 'skills are helpful' but what specifically does Desktop do for you here?
| <h2 className="m-0 text-2xl font-bold">Dang, PostHog's got skills</h2> | ||
| </div> | ||
| <p className="m-0 text-secondary"> | ||
| A <code className="border-purple bg-purple/20">SKILL.md</code> makes wiring up PostHog stupid easy, |
There was a problem hiding this comment.
'turns company knowledge into a playbook everyone can run with.' - sounds buzzwordy!
| domain?: string | ||
| } | ||
|
|
||
| const mcpServers: MCPServer[] = [ |
There was a problem hiding this comment.
nit: I'd put popular ones first, rather than alphabetical, otherwise you have Slack/Stripe/Supabase barely visible
Changes
New design and positioning for PostHog
CodeDesktop.Preview https://61e397d2.posthog-preview.pages.dev/desktop
Add screenshots or screen recordings for visual / UI-focused changes.
Checklist
vercel.json