Skip to content

Pop-up warning when mobile client joins network draft/sealed lobby#10745

Open
MostCromulent wants to merge 2 commits into
Card-Forge:masterfrom
MostCromulent:mobile-limited-warning
Open

Pop-up warning when mobile client joins network draft/sealed lobby#10745
MostCromulent wants to merge 2 commits into
Card-Forge:masterfrom
MostCromulent:mobile-limited-warning

Conversation

@MostCromulent

@MostCromulent MostCromulent commented May 23, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-05-23 083934 Screenshot 2026-05-23 083942

Summary

Online draft/sealed shipped recently as desktop-only. Mobile users had no indication their client couldn't participate — they'd join a Limited lobby and end up confused with no draft UI.

Adds a modal that fires for the host and all clients when a libgdx client joins a Limited lobby, or when the host switches an existing lobby to Limited while libgdx clients are connected. New LobbyAlertEvent + ILobbyListener.lobbyAlert plumbing reuses the existing event-dispatch path with a cross-platform SOptionPane modal. TODO comments mark the mobile-specific trigger sites for removal once mobile supports online draft/sealed.


🤖 Generated with Claude Code

Online draft/sealed is desktop-only. Mobile users joining a Limited
lobby didn't realise their client couldn't participate. Show a modal
on the host and all clients when a libgdx client joins a Limited
lobby, or when the host switches to Limited while libgdx clients are
connected.

Infrastructure: new LobbyAlertEvent + ILobbyListener.lobbyAlert with
a cross-platform SOptionPane modal. TODO comments mark the
mobile-specific trigger sites for removal once mobile supports
online draft/sealed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MostCromulent

MostCromulent commented May 23, 2026

Copy link
Copy Markdown
Contributor Author

@tool4ever I think this infrastructure is probably generally useful - might be worth extending the pop-up warnings to version mismatches as well since Discord suggests users often miss the version warning when its just posted to the chat window?

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

This PR has not been updated in a while nad has been marked on stale. Stale PRs will be auto closed

Resolve conflicts from the Card-Forge#10756 draft-event-handler refactor: keep the
lobbyAlert feature on ILobbyListener and route LobbyAlertEvent to the
lobby listener, while adopting master's IDraftEventHandler dispatch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants