I agree with the issue, current User Profile page provides functionalities for 
social interactions like Friendship, Messaging, Profile Description and etc. 
But to strengthen up community beyond the website and ease communication, it 
would be great if Social Profile Links could be added to the profile page. For 
example, GitHub has such functionality on the profile page. Of course, it 
should be optional, and user should have ability to add, delete or modify 
Social Profile Links.

One way, I think, to add this feature, is to add a separate DB table for Social 
Profile Links, which contains Url, Id and User_id columns. Then Ruby on Rails 
will do parsing to distinguish different kinds of websites and links. And 
finally, front-end will use Bootstrap Icons to show visual part. There won't be 
needed any additional gems or libraries.

Visual Idea:
I think, it will be a smoother UX if user can change Social Profile Links while 
directly standing on the profile page (without redirecting on the separate 
page). It will add about 5 lines of JS, but I think, it's worth it.

I'll open a PR after the implementation will be in accordance with the ideas 
discussed in this issue.

Example screenshots:

![image](https://github.com/user-attachments/assets/8bd0752c-fe5a-4ae9-8cb2-fdd0220c35e4)

![image](https://github.com/user-attachments/assets/66a416f3-0d5a-4452-931a-3c653c1770cf)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2245#issuecomment-2528034752
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/2245/2528034...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to