Normalize UI label capitalization to sentence case#123
Conversation
Standardizes the remaining Title-Case nav, footer, and button labels on sentence case, the convention already used by most action labels on the site (and the modern default for UI copy). Proper nouns stay capitalized (React on Rails, Pro, OSS, RSC, Rails, GitHub, ShakaCode). Footer: - Documentation Guide -> Documentation guide - Create a New App -> Create a new app - Install into Existing Rails App -> Install into existing Rails app - Quick Start -> Quick start - Pro Pricing & Sign Up -> Pro pricing & sign up Homepage: - Hero button "Browse Docs" -> "Browse docs" - Quick-start card titles: Create App / Install Into Rails / Upgrade To Pro -> Create app / Install into Rails / Upgrade to Pro - Value card "OSS And Pro" -> "OSS and Pro" The navbar consultation CTA was already sentence-cased in #122. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe PR updates capitalization across the Docusaurus documentation site, standardizing UI text labels to sentence case. Footer navigation labels in ChangesUI Text Capitalization Standardization
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Greptile SummaryThis PR converts ten UI label strings across the footer nav (
Confidence Score: 5/5Safe to merge — the diff is purely label text; no logic, routing, or layout is touched. All ten changed lines are string literals used only for display. Proper nouns (Rails, Pro, OSS) are correctly preserved in every case, and the updated labels are internally consistent with the sentence-case labels that already existed on the site. There is nothing here that could affect runtime behaviour. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[UI Label Text] --> B{Proper noun?}
B -- Yes --> C[Keep capitalized e.g. Rails, Pro, OSS]
B -- No --> D[Apply sentence case e.g. Quick start, Browse docs]
C --> E[Final label]
D --> E
E --> F[docusaurus.config.ts 5 footer labels]
E --> G[src/pages/index.tsx 5 homepage labels]
Reviews (1): Last reviewed commit: "Normalize UI label capitalization to sen..." | Re-trigger Greptile |
|
Cloudflare preview deployed.
|
…ck-start-prompts * origin/main: Normalize UI label capitalization to sentence case (#123) Restore footer consultation link (revert footer dedupe) Revise CTA consistency: keep intentional labels/destinations, dedupe footer Unify demo naming, live demo URL, and consultation CTA on marketing pages Point Gumroad demo at gumroad.reactonrails.com and add screenshot Point Octochangelog demo at changelog.reactonrails.com and add screenshot Show HiChee as a live React on Rails example # Conflicts: # prototypes/docusaurus/src/pages/index.tsx
What
Standardizes the remaining Title-Case nav, footer, and homepage button labels on sentence case — the convention already used by most action labels on the site and the modern default for UI copy (GOV.UK, Shopify Polaris, Atlassian, IBM Carbon, Material 3). Proper nouns stay capitalized.
Split out from #122 (demo naming + consultation CTA consistency) to keep each PR focused. The navbar consultation CTA was already sentence-cased in #122.
Changes (label text only)
Footer
Homepage
Proper nouns preserved: React on Rails, React on Rails Pro, OSS, RSC, Rails, GitHub, ShakaCode. Out of scope (left as-is): section headings/eyebrows (e.g. "Why Teams Use It") — those are content headings, a separate concern.
Verification
npm run build→[SUCCESS].docusaurus.config.tsandsrc/pages/index.tsx; no logic or layout changes.🤖 Generated with Claude Code
Note
Low Risk
Copy-only label updates in site config and homepage; no routing, logic, or security impact.
Overview
Aligns remaining footer and homepage nav/link labels with sentence case (e.g. “Documentation guide”, “Browse docs”, “Create app”) instead of title case, matching other UI copy on the site.
Updates are string-only in
docusaurus.config.ts(five footer doc/More links) andsrc/pages/index.tsx(hero CTA plus four quick-start/value card titles). Proper nouns such as React on Rails, Pro, OSS, and Rails stay capitalized; routes and behavior are unchanged.Reviewed by Cursor Bugbot for commit 7780c20. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit