compose-us / flottform

A better UX for file uploads #build-in-public
https://github.com/compose-us/build-in-public/blob/main/README.md#ux-improvement-for-file-uploads-in-web-forms-working-title-flottform
Other
1 stars 0 forks source link

Notify users of WebRTC disconnection risks when reloading or navigating the page #78

Open TamaraBogantseva opened 3 weeks ago

TamaraBogantseva commented 3 weeks ago

Description

The Flottform Extension runs WebRTC logic within the page context, meaning that the WebRTC connection will be interrupted if the user reloads or navigates away from the page with an active connection. Additionally:

  1. Page Reloads and Navigation: Any active WebRTC connection will be lost if the user reloads or navigates to a new URL in the same tab.
  2. Tab Inactivity: Chrome’s memory management may pause inactive tabs after around 2 hours, potentially interrupting the WebRTC connection (see Chrome guidance).

We should implement a notification or warning to make users aware that reloading the page, navigating away, or extended inactivity could disrupt their WebRTC connection, allowing them to take necessary precautions.

Links / References

Chrome guidance

Tasks / Definition of Done

Further information

\