Skip to content

Docs: Use Callout prompt variant for AI-prompt callouts - #36278

Merged
Sidnioulz merged 1 commit into
nextfrom
claude/optimistic-einstein-40lbhu
Sep 11, 2026
Merged

Sidnioulz merged 1 commit into
nextfrom
claude/optimistic-einstein-40lbhu

Conversation

@Sidnioulz

Copy link
Copy Markdown
Contributor

Closes #

What I did

Converted the two remaining AI-prompt callouts to the Callout component's prompt variant:

  • docs/index.mdx
  • docs/get-started/install.mdx

Both previously reproduced the prompt-callout look by hand with variant="info" icon="🤖". The prompt variant provides that treatment, including its own WandIcon, so the explicit icon is removed. docs/addons/addon-migration-guide.mdx already uses the variant.

No copy, link, or analytics event changed — the prompt text and the PromptInstallCopy event are untouched.

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

  1. Open the docs landing page (/docs) and the install page (/docs/get-started/install).
  2. Confirm each page still shows the AI-prompt callout with its Copy prompt button, now rendered with the prompt variant's wand icon.
  3. Click Copy prompt and confirm the clipboard contains: Set up Storybook for me with npm create storybook@latest and follow its instructions precisely

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Declare whether manual QA will be needed for this PR during the next release, through qa:needed or qa:skip

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary Release - 🚫 Not run

This PR does not have a canary release associated.

In-repo PRs: add the ci:canary label. Later pushes republish while the label remains.

Fork PRs: the label does nothing (a later push must not auto-publish). A maintainer publishes from this repository with Run workflow and the pr input. branch and sha are optional; if more than one is set, they must be the same commit. The fork author does not need to do anything.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Aw4P3WHXbXzKeawmdjJqBE


Generated by Claude Code

Convert the AI-prompt callouts in docs/index.mdx and
docs/get-started/install.mdx from variant="info" icon="🤖" to
variant="prompt", which supplies its own icon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Aw4P3WHXbXzKeawmdjJqBE
@Sidnioulz
Sidnioulz requested a review from kylegach September 11, 2026 14:24
@Sidnioulz Sidnioulz added the documentation label Sep 11, 2026 — with Claude
@Sidnioulz Sidnioulz self-assigned this Sep 11, 2026
@Sidnioulz Sidnioulz added ci:docs Run the CI jobs for documentation checks only. qa:skip Pull Requests that do not need any QA. (e.g. documentation) labels Sep 11, 2026
@Sidnioulz
Sidnioulz marked this pull request as ready for review September 11, 2026 14:27
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: 92492498-9918-4014-b912-6aa11e1ce8d0

📥 Commits

Reviewing files that changed from the base of the PR and between 5370402 and 8df3b23.

📒 Files selected for processing (2)
  • docs/get-started/install.mdx
  • docs/index.mdx

Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


Walkthrough

Both installation callouts now use the prompt variant. The robot icon is removed. The prompt-copy action and content remain unchanged.

Changes

Installation callouts

Layer / File(s) Summary
Update installation callouts
docs/get-started/install.mdx, docs/index.mdx
Both installation callouts use the prompt variant and no longer specify the robot icon.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 8df3b

Both installation callouts now use the intended prompt presentation without changing their content or actions.


Comment @coderabbitai help to get the list of available commands.

@Sidnioulz
Sidnioulz enabled auto-merge September 11, 2026 14:30
@Sidnioulz
Sidnioulz merged commit 8b6ac6f into next Sep 11, 2026
43 of 51 checks passed
@Sidnioulz
Sidnioulz deleted the claude/optimistic-einstein-40lbhu branch September 11, 2026 14:30
@github-actions github-actions Bot mentioned this pull request Sep 11, 2026
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:docs Run the CI jobs for documentation checks only. documentation qa:skip Pull Requests that do not need any QA. (e.g. documentation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants