PostHog Handbook Library / Engineering

680 words. Estimated reading time: 4 min.

Should I open an issue or a PR?

The website team is unusual in that ~60% of the PRs we merge are authored by people outside the team - and that's excluding Docs, Blog, and the Handbook. We try hard to balance shipping our own stuff with not blocking others who also rely on the website to do their job. We have set up some light guardrails because we tend to see AI-generated PRs that are either 'wrong' (not enough context to prompt correctly; LLMs just not great yet at the frontend design-y stuff), or fine but very low impact yet take time to review.

There are three ways to get a change into the website, depending on what you're changing.

Specific examples below. These are not exhaustive, so don't get hung up on exact wording - ask us if you're not sure!

Content changes: open a PR

See Developing the website for the mechanics and the style guide for how to write it.

Fairly isolated changes: use your judgement

If you are on a team that regularly works on the website and understand the context of how it works (typically folks on marketing and growth teams), it's usually fine to start with a PR in these cases.

If you aren't and/or your PR is a noscope one line prompt from PostHog Slack without any followup, you're probably in issue territory!

Everything else: open an issue

Use the bug report template for something broken and the website request template for everything else. Include the URL, a screenshot or recording, what you expected, and what happened instead. Issues get triaged onto the website project board.

If you open a PR we think is better as an issue

We'll close it and open an issue in its place so the idea doesn't get lost. That's not a comment on the work, nor a lack of gratitude for your effort! The volume of website PRs is well past what the team can provide feedback on, most of them are AI-generated, and when one gets merged that isn't quite right, it comes back to us later as something to fix.

If you think your change is an exception, ask in #team-website before you build it and we'll figure it out with you.

If something's broken

Post in #team-website. A broken pricing page shouldn't wait for triage.

Contributing from outside PostHog

Same split, and thanks for the help! Content PRs are welcome and we'll review them. For anything else, open an issue with the bug report template. We'd much rather talk it through with you than close work you've already done.

Canonical URL: https://posthog.com/handbook/engineering/posthog-com/issue-or-pr

GitHub source: contents/handbook/engineering/posthog-com/issue-or-pr.md

Content hash: 5867e034f03a1a66

Static reader notes
  • MDX_COMPONENT_STATIC_ADAPTER: Adapted interactive MDX components for static reading: PrivateLink.