Skip to content
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

Add user Profile Option for Family/Last Name Initial/Abbreviation #8436

Closed
bmcutler opened this issue Sep 24, 2022 · 4 comments · Fixed by #9226
Closed

Add user Profile Option for Family/Last Name Initial/Abbreviation #8436

bmcutler opened this issue Sep 24, 2022 · 4 comments · Fixed by #9226

Comments

@bmcutler
Copy link
Member

What problem are you trying to solve with Submitty
We currently assume that the users last/family/sur name should be abbreviated by taking only the first initial.

  • This is correct for users with a single last name.
    'John' 'Smith' => "John S."

  • However, this is incorrect for users with multiple last/family/sur names separated by a space:
    'John' 'Smith Jones' => "John S.J." or "John SJ." or "John SJ"

  • Similarly, users with hyphenated last/family/sur names may want both initials:
    'John' 'Smith-Jones' => "John S-J."

  • And let's add other standard name abbreviation conventions to this list...

Describe the way you'd like to solve this problem
Let's add an option to the user profile page.
By default, we'll chose the first option, to grab the first letter of their family/last/sur name string.
But add radio buttons to let them select one of several other options.
NOTE: Let's not let them type anything for their last name string.
It must be based on their preferred last/family/sur name and be
one of our set of choices above (expanded to include all conventions).

Also, let's have an option to not display anything at all about the last name.
(Make this the last choice in the list. Displaying some abbreviation about the last name
is helpful in large classes where multiple users might have the same given/first name)

@shailpatels
Copy link
Member

Hi @ajjayymahato

This issue is open and we will accept and review and pull requests attempting to resolve it

Please read the suggestions for new developers here: https://submitty.org/developer/getting_started/index and try and get a developer instance of Submitty running locally.

We cannot assign an issue to someone outside of the Submitty Github project, but if you make a PR we would be happy to review it and try to get it merged. Please try and look at the documentation at submitty.org and if you get stuck on something ask on the general chat in slack.

@vwaddell
Copy link

Hi, our team @kyminbb @LeoJung1 @01-eric and @jihyochung would like to work on this issue along with issue #8446.

@Adityaarora08
Copy link

Is someone working on this/done with this issue or I can solve this and make a PR?

@hsraktu17
Copy link

Hi, @bmcutler i would like to contribute on this issue.

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

Successfully merging a pull request may close this issue.

6 participants