Skip to content

feat: added feature where space name is already in use it sugests a n… #2383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prasad48432
Copy link
Contributor

This PR improves the workspace creation UX by automatically suggesting an available slug when the user enters a slug that is already in use.

-- On slug input blur, the system checks if the entered slug has already been taken.
-- If it's taken, a new available slug is generated by appending a numeric suffix.
-- The first available slug is auto-filled back into the input field.
-- A toast message is shown to inform the user of the suggested alternative.

✅ Eliminates user frustration when chosen slugs are unavailable.

Fixes #1565

Copy link

vercel bot commented May 1, 2025

@Prasad48432 is attempting to deploy a commit to the Dub Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​react-aria/​datepicker@​3.10.1 ⏵ 3.10.0991007397100
Updated@​react-stately/​datepicker@​3.9.4 ⏵ 3.9.31001007397100
Updated@​internationalized/​date@​3.5.4 ⏵ 3.5.31001008597100
Updatedframer-motion@​10.18.0 ⏵ 10.16.1699 +1100100100 +1100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

suggest nearest valid workspace names to user
1 participant