Skip to content

Slight refactor to pluralization util; use with vCPUs - #2707

Merged
charliepark merged 4 commits into
mainfrom
smarter-vcpu-pluralization
Feb 24, 2025
Merged

charliepark merged 4 commits into
mainfrom
smarter-vcpu-pluralization

Conversation

@charliepark

Copy link
Copy Markdown
Contributor

It's rare that someone would have just 1 vCPU, but we should handle it when they do.

Before:
Screenshot 2025-02-21 at 5 37 31 PM

After:
Screenshot 2025-02-21 at 5 37 41 PM

I also noticed that we weren't consistent in using vCPU or vCPUs (these had all said vCPU, as in 4 vCPU), so I pulled the updated pluralization in to the instances overview page:
Screenshot 2025-02-21 at 5 45 53 PM

@vercel

vercel Bot commented Feb 22, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Feb 24, 2025 4:06pm

Comment thread app/util/str.ts Resolved
@charliepark
charliepark merged commit f591c28 into main Feb 24, 2025
@charliepark
charliepark deleted the smarter-vcpu-pluralization branch February 24, 2025 20:27

This branch was successfully deployed

1 active deployment
Preview — f7a0a709 Deployed Feb 24, 2025 by vercel[bot]
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