privateping icon indicating copy to clipboard operation
privateping copied to clipboard

Is there any better way to show welcome modal ?

Open princekhunt opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. We're showing modal on login that, this is your username, and share it with the friend. Is there any better way to show this message ?

Describe the solution you'd like maybe styles improvements.

welcome message

princekhunt avatar Jun 14 '24 14:06 princekhunt

we can add an option to share private chatroom links with friends which can be easily done by using some parameters in the URL. which can letter on be check using js in frontend for connection

sudarshankakde avatar Jun 14 '24 14:06 sudarshankakde

We already have URL to add friend directly, currently we call this URL by the connect user form only.

However, anyone can directly add friend by calling this endpoint.

For example user-A propagates a link to everyone. Now user-B call this endpoint(link)

https://privateping.bytespot.tech/addfriend/user-A?note=

then, a friend request will be sent to user-A from user-B's account.

princekhunt avatar Jun 14 '24 15:06 princekhunt

we haven't allowed sharing the link with friends or showing the direct link in the model anywhere. and we should use Swalfire for the model showing the username and link at the opening. it will maintain model consistancy all over the website.

sudarshankakde avatar Jun 16 '24 16:06 sudarshankakde