-
Notifications
You must be signed in to change notification settings - Fork 691
Add LLM prompts to Next.js and React quickstarts #2261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey, here’s your docs preview: https://clerk.com/docs/pr/2261 |
|
|
oh good call, I didn't realize those were there. I'll add React. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to see this develop over time!
🔎 Previews:
What does this solve?
We've seen a 4% lift in activation for dev instances where the LLM prompt copy button is clicked, so this adds the same functionality to Docs.
What changed?
Uses the new
LLMPromp
(added in https://github.com/clerk/clerk/pull/1202) component to render a banner with a copy button anddisplayText
on the Next.js and React quickstarts.🛹 Talking with @NWylynko we're ok with this rough first pass where the prompt content is included inline as a prop. Goal is to get this shipped ASAP and then once his improvements ship we'll revisit how we handle this.
Note: this removes the from both the Next.js and React quickstarts - looking at PostHog data, the sample repo and the pre-requisites get very low numbers of clicks (6 in the last 90 days for the prereq) so I think it's fine to remove, but just calling that out.
Checklist