princekhunt / privateping

PrivatePing is a secure messaging application built on Python's Django framework, providing end-to-end encryption for messages exchanged between users.
https://privateping.bytespot.tech
MIT License
124 stars 30 forks source link

Is there any better way to show welcome modal ? #22

Open princekhunt opened 2 weeks ago

princekhunt commented 2 weeks ago

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
sudarshankakde commented 2 weeks ago

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

princekhunt commented 2 weeks ago

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.

sudarshankakde commented 1 week ago

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.