Real-Dev-Squad/members-site

Fix: social URL links issue and page redirection

Closed this issue · 0 comments

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 :

2023-10-24.20-14-48.mp4

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

Bug 2

  • When superuser clicks on modal then superuser is redirected to the users profile page and the modal is still visible

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