Skip to content

Public Lobby Not Visible After Returning from Game Until Manual Refresh #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MSGanesh23 opened this issue Apr 25, 2025 · 1 comment

Comments

@MSGanesh23
Copy link

MSGanesh23 commented Apr 25, 2025

Just a enhancement suggestion

Description:
When a public lobby is created and the player goes into a game, upon returning to the lobby screen, the lobby does not appear until the "Refresh" button is clicked. This gives the impression that the lobby is gone or not created successfully.

Steps to Reproduce:

Create a public lobby.

Join or start a game from the lobby.

Return to the lobby screen after the game ends.

Notice that the lobby list is empty.

Click the "Refresh" button – the lobby reappears.

Expected Behavior:
The lobby should automatically reappear or remain visible after returning from a game session.

Actual Behavior:
The lobby list is blank until the user manually clicks "Refresh."

Environment (please complete the following information):

Platform: Linux or Windows

Suggested Fix:
Trigger an automatic refresh of the lobby list when returning from a game.

@Bios-Marcel
Copy link
Member

Hm, it's just using the default browser logic, that restores the previous page without doing additional things on the application side afaik 🤔

Even if we were to refresh the list, technically your lobby might not be directly visible (scrollstate / selection), if there are other lobbies. I know there's usually not many lobbies, but still.

I guess we'd have to make a refresh call and then somehow highlight the last lobby? Currently there's no selection state, only hover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants