stevensblueprint / aad-admin

CRM Platform for Mentors & Mentees
7 stars 0 forks source link

Saving full name name in Settings #205

Open ShawnAviles opened 5 months ago

ShawnAviles commented 5 months ago

Description of the bug

When user updates their name, it only updates their preferred name not their full name. So one the home page or profile page, it will continue to show their unedited Full Name.

To Reproduce

Go to settings page for any user. Update Full Name. Notice how that name it not updated on the Profile Page (this is because we are editing Preferred Name and not the actual full name).

Expected behavior

Editing their full name in the settings pages should edit their full name as it's displayed throughout the site

Recommended Action

Maybe there could be another input for preferred name or a check mark that says "Same as preferred name" so that the user is still able to edit both fields. Nonetheless the current field should edit the user's full name and not preferred name as we can't tell the user one thing and then do something different. Probably just need to update the endpoint that is called on the settings submission.