PrivatePing is a secure messaging application built on Python's Django framework, providing end-to-end encryption for messages exchanged between users.
Is your feature request related to a problem? Please describe.
Users are currently able to open the chat page in multiple tabs, which leads to conflicts and inconsistencies in the chat.
Describe the solution you'd like
Implement a detection mechanism to check if the user already has the chat page open in another tab. If a user attempts to open the chat page in a second tab, display a toast notification or error message indicating that the chat page is already open.
Additional Context
This feature will help ensure a seamless and consistent user experience by preventing conflicting interactions within the chat page.
Consider using local storage or session storage to track the state of the chat page across tabs.
Is your feature request related to a problem? Please describe. Users are currently able to open the chat page in multiple tabs, which leads to conflicts and inconsistencies in the chat.
Describe the solution you'd like Implement a detection mechanism to check if the user already has the chat page open in another tab. If a user attempts to open the chat page in a second tab, display a toast notification or error message indicating that the chat page is already open.
Additional Context