Lock out the first tab if Element is opened in a second tab. (#11425)
* Implement session lock dialogs * Bump analytics-events package * clean up resetJsDomAfterEach * fix types * update snapshot * update i18n strings
This commit is contained in:
parent
09c5e06d12
commit
839c0a720c
17 changed files with 663 additions and 50 deletions
|
@ -20,6 +20,9 @@ enum Views {
|
|||
// trying to re-animate a matrix client or register as a guest.
|
||||
LOADING,
|
||||
|
||||
// Another tab holds the lock.
|
||||
CONFIRM_LOCK_THEFT,
|
||||
|
||||
// we are showing the welcome view
|
||||
WELCOME,
|
||||
|
||||
|
@ -48,6 +51,9 @@ enum Views {
|
|||
// We are logged out (invalid token) but have our local state again. The user
|
||||
// should log back in to rehydrate the client.
|
||||
SOFT_LOGOUT,
|
||||
|
||||
// Another instance of the application has started up. We just show an error page.
|
||||
LOCK_STOLEN,
|
||||
}
|
||||
|
||||
export default Views;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue