Commit Graph

4 Commits

Author SHA1 Message Date
Phillip Rak 63e3ce2432 Replace `beforeDestroy` lifecycle option with `beforeUnmount`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-18 13:12:54 -07:00
Francesco Torchia 2740af2df5
visibilityChange, replace findAll to bypass wss subscribe
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-12-07 12:43:25 +01:00
Francesco Torchia 208d306b31
setTabVisibilityListener, refactoring
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-12-07 12:40:41 +01:00
Alexandre Alves 5ab9084f28
UI expired session doesn't redirect us to the login page (#5872)
* add logic to handle expired sessions by redirecting user to login page

* clear console logs

* fix import paths

* move logic of listeners for tab vis to BrowserTabVisibility mixin + add check to see if we are in a single prod realm (wont run in epinio/harvester world where BE is not available)

* minor rebase changes + add option enabled by default for single apps to check is session is alive

* exclude desktop prods from session check

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2022-06-20 09:32:44 +01:00