Skip to content

fix(docs): use title case for Copy Prompt - #7049

Merged
MikeRyanDev merged 1 commit into
mainfrom
fix/docs-prompt-title-case
Sep 10, 2026
Merged

MikeRyanDev merged 1 commit into
mainfrom
fix/docs-prompt-title-case

Conversation

@MikeRyanDev

@MikeRyanDev MikeRyanDev commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The shared docs button now reads “Copy Prompt” instead of “COPY PROMPT”, matching the requested Title Case treatment. This follows the merged prompt-button PR #7038 and updates the existing label assertions.

Validation from showcase/shell-docs:

npm exec -- vitest run src/components/__tests__/prompt-pill.test.tsx src/components/__tests__/docs-page-tools.test.tsx src/components/content/landing-pages/__tests__/framework-overview.test.tsx
npm run typecheck
npm run lint
npm run build

23 focused tests passed. Browser checks cover the docs home and Quickstart page at 1440px and 320px, asserting the exact label and computed text-transform: none. No screenshots are committed.

Summary by CodeRabbit

  • Style

    • Updated the copy prompt button label from “COPY PROMPT” to “Copy Prompt” for consistent title-case presentation.
  • Tests

    • Updated related interface checks to reflect the revised button label across prompt and framework overview experiences.

@coderabbitai

coderabbitai Bot commented Sep 10, 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 6237ac2b-9729-48c6-9763-bb9a2f299563

📥 Commits

Reviewing files that changed from the base of the PR and between 988b6d6 and feb7c6c.

📒 Files selected for processing (4)
  • showcase/shell-docs/src/components/__tests__/docs-page-tools.test.tsx
  • showcase/shell-docs/src/components/__tests__/prompt-pill.test.tsx
  • showcase/shell-docs/src/components/content/landing-pages/__tests__/framework-overview.test.tsx
  • showcase/shell-docs/src/components/prompt-pill.tsx

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


📝 Walkthrough

Walkthrough

The prompt copy button now displays “Copy Prompt” instead of “COPY PROMPT”. Related component tests match the updated label.

Changes

Copy Prompt label update

Layer / File(s) Summary
Update copy button label and assertions
showcase/shell-docs/src/components/prompt-pill.tsx, showcase/shell-docs/src/components/**/__tests__/*, showcase/shell-docs/src/components/content/landing-pages/__tests__/framework-overview.test.tsx
The copy button uses the title-case label “Copy Prompt”. Tests update their label and ordering assertions accordingly.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to feb7c

The docs copy button now consistently displays “Copy Prompt” across the covered pages and tests. The change is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating the docs button label to title case.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 4 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/docs-prompt-title-case

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 42 services digest-pinned.

Run 2026-09-10 13:00:12 PDT — 0 finding(s).

@MikeRyanDev
MikeRyanDev merged commit d343352 into main Sep 10, 2026
23 checks passed
@MikeRyanDev
MikeRyanDev deleted the fix/docs-prompt-title-case branch September 10, 2026 20:11
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.

2 participants