fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

What if the user has a bunch of tabs open when linking? #33

Closed icidasset closed 1 year ago

icidasset commented 3 years ago

The user could have many tabs open of the auth lobby, and in that situation the user needs to look for the tab that was activated and close/ignore the rest. There might be a way to improve the UX here.

icidasset commented 3 years ago

Possible solution: Use https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API to filter out the non-visible auth lobbies. If none is visible, activate linking channel on the first tab that becomes visible.