Real-Dev-Squad / todo-action-items

A running list of todo items for Real Dev Squad site
MIT License
4 stars 8 forks source link

Update all developers username with `firstname-lastname-{count}` #212

Open prakashchoudhary07 opened 5 months ago

prakashchoudhary07 commented 5 months ago

Issue Description

Expected Behavior

All developers are to have their usernames in firstname-lastname-{count} formate

Current Behavior

Currently, the pattern is not followed, and users can choose any name they want

ajoykumardas12 commented 4 months ago

Needed some clarifications. Please correct me if I'm wrong and help with questions I'm having.

prakashchoudhary07 commented 4 months ago

Question: This will be a sync from dashboard feature available to super-user or one time update script?

This is going to be one time script, but before running this script we have to change the existing limit for username which is 16 characters I think, and we should disable the option to select the username

Users who are developers but have maven/super-user roles will be excluded from this update.

I think members will be excluded from this update, we should ask others also

Question: Should developers with member role be affected by this update?

I think not, members should be given the option to update their name, we should confirm once

Question: Is there any follow up task for implementing this format in join section or user can choose any username during joining but will be updated when synced?

users won't be given any option to choose the username at the time of joining, a default name will be generated for them

Question: How middle name/ more than one words in first name or last last name should be handled?

Whatever the name is, we will be joining the name to a total of 32 characters (which will include the name + count) i.e if a name is more than 32 characters then we will username will be 30 characters + 1 (-) + 1 for number, and if the number is 2 digit then we will adjust the name accordingly i.e 29 + 1(-)+ 2 digit We can discuss this more if required