Skip to content

Adds the prompt block#4329

Merged
BrettJephson merged 6 commits into
mainfrom
brett/prompt-block
Jun 22, 2026
Merged

Adds the prompt block#4329
BrettJephson merged 6 commits into
mainfrom
brett/prompt-block

Conversation

@BrettJephson

@BrettJephson BrettJephson commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Add a Prompt block to GitBook. This PR adds rendering for Prompt block.

The Prompt block is designed to display an AI prompt with one-click copy and a palette menu to open the prompt quickly in one of several AI tools.

Screenshot 2026-06-19 at 16 57 37 Screenshot 2026-06-19 at 16 57 23 Screenshot 2026-06-19 at 16 57 16 Screenshot 2026-06-19 at 16 57 07

@BrettJephson BrettJephson self-assigned this Jun 19, 2026
@changeset-bot

changeset-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0a8f7a7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@argos-ci

argos-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2-cloudflare (Inspect) ✅ No changes detected - Jun 22, 2026, 10:37 AM
customers-v2-vercel (Inspect) ✅ No changes detected - Jun 22, 2026, 10:35 AM
v2-cloudflare (Inspect) ✅ No changes detected - Jun 22, 2026, 10:43 AM
v2-vercel (Inspect) 👍 Changes approved 1 changed Jun 22, 2026, 10:40 AM

Comment thread packages/gitbook/src/components/DocumentView/Prompt/Prompt.tsx Outdated

@zenoachtig zenoachtig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add a page for the Prompt block with all cases to the e2e test site, and add a path in the test setup file

Comment thread packages/gitbook/src/intl/translations/ar.ts Outdated
@BrettJephson

Copy link
Copy Markdown
Contributor Author

Will add the e2e test as a follow up

@BrettJephson BrettJephson enabled auto-merge (squash) June 22, 2026 10:53
@BrettJephson BrettJephson merged commit 3ff88ba into main Jun 22, 2026
17 checks passed
@BrettJephson BrettJephson deleted the brett/prompt-block branch June 22, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants