PostHog / PostHog/posthog

tidy up the pasting behavior with PR/issue URLs

Open
#76,249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

problem

tl;dr pasting a github PR URL auto-converts to a chip, which is usually good, but:

  • bad when you're trying to paste in as a skill input for example
  • also seems like the general paste chip is taking over sometimes instead of the custom PR one?
Image

context: https://posthog.slack.com/archives/C09G8Q32R6F/p1778086407569999

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported paste behavior for GitHub pull-request and issue URLs, including pasting them as skill input. Trace the frontend paste handling and compare the general paste chip with the custom PR chip. Done means the intended chip is selected consistently and URL pastes do not unexpectedly convert when plain input is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.