Repository navigation
Add rejoin previous server button - #444
Open
KyoMarketing wants to merge 4 commits into
Open
KyoMarketing wants to merge 4 commits into
KyoMarketing wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a small button next to the Play button that puts you back in the last server you were in for that game. Handy when you leave or crash and want to get back to the same server without digging through the server list.
It uses the history Recent Servers already saves, so nothing new is tracked. If the server has closed, you get an alert instead of joining. The button only shows up when you have a recent server for that game, and it can be turned off with the new "Rejoin Previous Server Button" option under Recent Servers.
Tested by joining a game, leaving, and clicking the button to get back in the same server. Also checked it stays after refreshing the page.
AI note: I used Claude to help write 50% of the code. I tested it myself in game and checked the changes before opening this.