You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jollity needs a way to close itself once a game is over. When the game ends we send the player to their Humanity card in Pocket, and after that there’s no reason for the Jollity tab to stay open.
I would rate the priority higher here. The issue is that people revisiting jollity after the game will inherit the previously opened SPA state. This is not good for back to back games.
If we can't get this anytime soon we should implement a self reset of the app itself once the game is over. cc @Nemanya8
@peetzweg I think products cannot close themselves right now, there is no api in the core, needs to be provided first and then can bring it in the hosts.
about inheriting the previous SPA state: maybe it's about Androidd only? iOS reloads root on most reopens. So Jollity can just call location.reload() when game over for now so it will work on both hosts - tab will stay with fresh state.
We do not think that the ability to close automatically is the right feature. The lifecycle should be defined by user agents and user interactions with them, so as not to confuse the user when switching between SPAs and other modalities.
Activity
peetzweg commentedon Oct 15, 2026
I would rate the priority higher here. The issue is that people revisiting jollity after the game will inherit the previously opened SPA state. This is not good for back to back games.
If we can't get this anytime soon we should implement a self reset of the app itself once the game is over. cc @Nemanya8
alexander-lisovyk commentedon Oct 16, 2026
@peetzweg I think products cannot close themselves right now, there is no api in the core, needs to be provided first and then can bring it in the hosts.
about inheriting the previous SPA state: maybe it's about Androidd only? iOS reloads root on most reopens. So Jollity can just call
location.reload()when game over for now so it will work on both hosts - tab will stay with fresh state.duewarn commentedon Nov 11, 2026
We do not think that the ability to close automatically is the right feature. The lifecycle should be defined by user agents and user interactions with them, so as not to confuse the user when switching between SPAs and other modalities.