Skip to content

docs: add View Prompt dialog for the setup prompt - #2400

Merged
fengmk2 merged 3 commits into
voidzero-dev:mainfrom
dennybiasiolli:docs/2383-view-prompt
Aug 10, 2026
Merged

docs: add View Prompt dialog for the setup prompt#2400
fengmk2 merged 3 commits into
voidzero-dev:mainfrom
dennybiasiolli:docs/2383-view-prompt

Conversation

@dennybiasiolli

Copy link
Copy Markdown
Contributor

Summary

The homepage Copy Prompt button copied text you couldn't read first (#2383). This replaces that one-click CTA with a single View Prompt button that opens the full setup prompt in a native dialog; copy stays inside the modal.

Also used on /guide. Maintainers preferred one hero-aligned button over a Copy control plus a View prompt link underneath.

Closes #2383

Test plan

  • On /, the hero CTA reads View Prompt (eye icon) and sits in line with Get started / Announcement
  • Clicking it opens a dialog with the full prompt; clicking Copy Prompt copies and flashes Copied!
  • Close via X, Escape, and backdrop click
  • Same control on /guide works and is not restyled by .vp-doc

Replace the one-click copy CTA with a single View Prompt button that
opens the full text in a native dialog. Copy stays inside the modal
so the prompt can be read before pasting.
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 7ebc531
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a79de84b39a9f0008055c01
😎 Deploy Preview https://deploy-preview-2400--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Give the prompt a bit more horizontal room on desktop so the last
line is less likely to wrap below the fold.
@fengmk2 fengmk2 self-assigned this Aug 10, 2026

@fengmk2 fengmk2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@dennybiasiolli Love it! Thanks!

@fengmk2

fengmk2 commented Aug 10, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 177da015e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fengmk2
fengmk2 merged commit 28003fb into voidzero-dev:main Aug 10, 2026
42 checks passed
@dennybiasiolli
dennybiasiolli deleted the docs/2383-view-prompt branch August 10, 2026 21:57
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.

Update the homepage "Copy prompt" to offer "View prompt"

2 participants