Skip to content

Only show linkedin name on the profile page instead of entire URL

Annabel Dunstone Gray requested to merge linkedin-username-setting into master

What does this MR do and why?

  • Adds placeholder to LinkedIn input
  • Strips away any content before and including /, if it exists
  • Displays only the name on the profile
  • Appends linkedin URL

Why?

  • Users were occasionally putting in the entire linkedin URL (eg https://www.linkedin.com/in/janesmith) when it's supposed to be just the username portion (eg janesmith). With this change, they can put any URL or just the name portion and it'll work either way.

Screenshots or screen recordings

User setting User profile sidebar
Screenshot_2024-03-19_at_3.48.19_PM Screenshot_2024-03-19_at_3.48.28_PM

How to set up and validate locally

User profile settings > linkedin

Links

Edited by Annabel Dunstone Gray

Merge request reports