Real-Dev-Squad / members-site

https://members-app-v2.vercel.app
MIT License
4 stars 22 forks source link

Fix: social URL links issue and page redirection #95

Closed anishpawaskar closed 1 year ago

anishpawaskar commented 1 year ago

Bug 1

When users update social URLs like Twitter and LinkedIn, we expect only the user name but when users update their social handle with a complete URL will wrong URL.

In Twitter, we internally append the main home https://twitter.com/+**userName**.

Some user Submit complete URL

https://twitter.com/ + https://twitter.com/+**userName**

Like :

https://github.com/Real-Dev-Squad/members-site/assets/22213872/51f6f891-12f2-4283-96b0-27746d3c3c8a

Solution : For that we need to check when user submits any text not included any url

Bug 2

Solution : For that we need to add event stopPropagation in member card handler