Usernames
Problem: For markdown mentions to work, we need unique usernames, however at the moment, users only have an email, and a full name.
Solution: Add unique usernames to all users!
There is a question about how much we should use usernames throughout the site. E.g. Should we use them for comment author names? Or when showing the project team? Usernames are less professional, and often less obvious than real names, however they are unique. Given we have profiles which persist across all workspaces, and that we support public projects, usernames feel like they will be more useful to us as we grow. And, we need to show people usernames so they know who to mention. Usernames it is!
Username constraints
Usernames must:
- contain alphanumeric characters only
- lowercase characters only
- no whitespace, hyphens, or underscores
This will let us use usernames in URLs. We can add support for hyphens later if necessary.
Steps
-
Migration + backfill with sensible default usernames -
Add username field to signup -
Update account settings to let you change your username -
Display: Comments -
Display: Profiles -
Display: Emails