docs: document custom URL actions on Prompt component#5324
Conversation
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
🌿 Preview your docs: https://fern-preview-2ca67c77-e465-4bf1-bb33-f0e0c1749101.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
|
🌿 Preview your docs: https://fern-preview-7a5ce368-b82b-4606-a687-e49e739769b4.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
|
🌿 Preview your docs: https://fern-preview-8aa593d5-a2c4-4588-aea1-734ecb8dd2d3.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
|
🌿 Preview your docs: https://fern-preview-412ccc02-f995-4b31-a857-ba15abd52780.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
|
🌿 Preview your docs: https://fern-preview-d4dec056-cce1-4693-8ddc-f36425859245.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
|
🌿 Preview your docs: https://fern-preview-264e4ce3-16a0-4d77-b8aa-8e1c96a1964f.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
|
🌿 Preview your docs: https://fern-preview-9a150bf6-130f-4945-92ab-83968e0110dc.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Summary
Updates the Prompt component documentation to reflect fern-platform#10416, which widened the
actionsprop to accept custom action objects alongside the built-incursor,claude, andchatgptshorthands.Changes to
fern/products/docs/pages/component-library/default-components/prompt.mdx:descriptionfrontmatter to mention custom URLs in addition to the built-in tools.### With a custom URL actionvariant section documenting:{ label, url, icon? }object shape.{prompt}URL placeholder (URL-encoded prompt body) and the?prompt=query-param fallback when the placeholder is omitted.http/httpsscheme restriction.actions<ParamField>to type(string | object)[]and adds nested<Indent><ParamField>s forlabel,url, andicon.Changes to
fern/products/docs/pages/changelog/2026-05-01.mdx:## Custom URL actions on the Prompt componentsection with a code sample and link to the new variant section.componentstag.Review & Testing Checklist for Human
/learn/docs/writing-content/components/prompt#with-a-custom-url-action).actionsProperties block to make sure the nested<Indent><ParamField>s forlabel/url/iconread as sub-properties ofactionsand not as top-level props.Notes
Link to Devin session: https://app.devin.ai/sessions/c5ce6253ec3244eeb9142f05e419475f
Requested by: @devalog