P1: fix(auth): use truthful unavailable-handle copy - #227
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 797bcd1 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughHandle-picker messaging now consistently reports unavailable handles as “Not available.” instead of “Already taken.” Server-rendered and client-side text, styling, the changeset, and end-to-end coverage are updated. ChangesHandle availability messaging
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
🚅 Deployed to the ePDS-pr-227 environment in ePDS
|
Coverage Report for CI Build 30616972439Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage remained the same at 57.281%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions3 previously-covered lines in 1 file lost coverage.
Coverage Stats
💛 - Coveralls |
b9b5803 to
68b0760
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
The handle picker now reports unavailable results accurately, but its CSS class and demo theme override still used taken terminology. Rename the selector, call site, and related comments so reserved or policy-rejected handles are not described as claimed. Co-authored-by: OpenAI <noreply@openai.com>
|



Summary
Describe rejected handles as unavailable rather than always claiming that another user already took them. This keeps the UI truthful for reserved names and other policy rejections.
Changes
Testing
pnpm format:checkpnpm lintpnpm typecheckpnpm testpnpm test:coverageScreenshots
Before: the unavailable state overclaimed that the handle was already taken.
After: it uses truthful generic copy. The preview responses were controlled to isolate both wording states.
Notes
Summary by CodeRabbit
Bug Fixes
Tests