Make Twitter Link on Profile page useable by fixing wrong target URL's
Description
Currently the Twitter Link on a profile page is most of the times not usable as people (including myself) simply copy + paste the Twitter URL into the Twitter Field but on the actual button https://twitter.com is prepended so the URL's end up being "https://twitter.com/https://twitter.com/tpmtim" which is of course a 404.
Proposal
I currently see different scenarios :
- Check the entered URL and based if its there or not prepend it or not in the Frontend
- Replace it in the Backend Model serialiser so that over any data output the URL is consistent
- UX : Add a better description on the profile editing page that only the username should be entered and not the full URL
- PM : Make an actual valdiation on the profile editing page to get overall cleaner data on Gitlab.com and then run a cleaning database job on currently entered data
Links / references
https://gitlab.com/timzallmann (Click my Twitter Icon -> Leads to nowhere