Skip to content

Added username suggestion when taken#12

Open
zheng05jess wants to merge 1 commit intoCMU-313:mainfrom
zheng05jess:main
Open

Added username suggestion when taken#12
zheng05jess wants to merge 1 commit intoCMU-313:mainfrom
zheng05jess:main

Conversation

@zheng05jess
Copy link
Copy Markdown

Issue:
During registration, when a user inputs an existing username, the error "username taken" appears.

Implementation:
The system now displays "Username taken. Maybe try {username}suffix" which appends a suffix string to the user's original choice.

To change the functionality, I made changes in the public/language/en-US/error.json and public/src/client/register.js which now display the new error message with the username suggestion.

Screenshot 2026-02-02 at 11 16 36 AM

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21598027848

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 78.841%

Totals Coverage Status
Change from base Build 21503398961: 0.0%
Covered Lines: 25358
Relevant Lines: 30328

💛 - Coveralls

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