-
Notifications
You must be signed in to change notification settings - Fork 1
Open start page automatically when starting lobby #34
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
Merged
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
60a23bd to
e068527
Compare
sornas
reviewed
Jan 15, 2025
0f901f7 to
c2ab453
Compare
sornas
reviewed
Jan 17, 2025
|
i'd like to test this out too, probably tomorrow |
7d91e08 to
eec41f1
Compare
|
Also added the open first article button, so fixes #9. Very basic. |
This was
linked to
issues
Jan 17, 2025
sornas
approved these changes
Jan 17, 2025
|
actually, maybe "open start page" could read "open first page" because start page could just as well refer to the wikiweaver start page (even though we don't really have one) |
Use server-sent events to automatically open the start page when the host starts the lobby. Since they are one-sided, keep them alive as long the lobby is alive. If an extension joins a different lobby, it automatically closes its current eventstream (which the server wont know about) and wont receive any updates from the old lobby. Signed-off-by: Victor Löfgren <[email protected]>
Signed-off-by: Victor Löfgren <[email protected]>
Signed-off-by: Victor Löfgren <[email protected]>
eec41f1 to
84befb2
Compare
Signed-off-by: Victor Löfgren <[email protected]>
Signed-off-by: Victor Löfgren <[email protected]>
84befb2 to
d811a95
Compare
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.
Solves #11
Use server-sent events to automatically open the start page when the host starts the lobby. Since they are one-sided, keep them alive as long the lobby is alive. If an extension joins a different lobby, it automatically closes its current eventstream (which the server wont know about) and wont receive any updates from the old lobby.