Skip to content

feat: display popup when failing to connect to full lobby #525

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
merged 5 commits into from
Mar 16, 2022

Conversation

LukeStampfli
Copy link
Contributor

Description (*)

Added a feature to display a popup to the user when they fail to join a lobby because it is full.

Related Pull Requests

Issue Number(s) (*)

Fixes issue(s): MTT-2646

Manual testing scenarios

  1. Modify LobbyCreationUI.cs line 36 to use a maxplayer count of 1 instead of 8.
  2. Start to instances of Boss Room.
  3. In one of them create a lobby.
  4. In the other connect to the lobby using the connect key of the lobby.
  5. Popup should appear telling you that the lobby is full.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

…full-popup

# Conflicts:
#	Assets/BossRoom/Scripts/Client/UI/Lobby/LobbyUIMediator.cs
#	Assets/BossRoom/Scripts/Shared/Net/UnityServices/Lobbies/LobbyAPIInterface.cs
@LukeStampfli LukeStampfli added GDC-cherrypick 1-Needs Review PR needs attention from the assignee and reviewers 2-Easy This PR is trivial and can be reviewed quickly labels Mar 9, 2022
@fernando-cortez fernando-cortez added 2-Reviewed with Comments PR requires owner's attention and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 9, 2022
…full-popup

# Conflicts:
#	Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs
@LukeStampfli
Copy link
Contributor Author

Merged with Phil's changes. I moved the lobby related stuff out into a separate function to keep things a bit more readable (wanted to avoid nested switches).

@LukeStampfli LukeStampfli added 1-Needs Review PR needs attention from the assignee and reviewers and removed 2-Reviewed with Comments PR requires owner's attention labels Mar 15, 2022
@fernando-cortez fernando-cortez added 3-Good to Merge and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 15, 2022
@SamuelBellomo SamuelBellomo added the 0-URGENT Blocker for a release and needs to be merged ASAP label Mar 16, 2022
@LukeStampfli LukeStampfli merged commit 18566e3 into release/GDC2022 Mar 16, 2022
@LukeStampfli LukeStampfli deleted the feat/lobbyfull-popup branch March 16, 2022 18:49
LukeStampfli added a commit that referenced this pull request Mar 16, 2022
SamuelBellomo pushed a commit that referenced this pull request Mar 16, 2022
SamuelBellomo added a commit that referenced this pull request Mar 17, 2022
…i-turned-off

* release/GDC2022:
  feat: better lobby exceptions handling (#568)
  fix: updaterunner item already added (#565)
  Added empty lobby list text label and code to drive it's visibility (#567)
  feat: display popup when failing to connect to full lobby (#525)
  Darker Eyebrows for Player Characters (#555) (#564)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-URGENT Blocker for a release and needs to be merged ASAP 2-Easy This PR is trivial and can be reviewed quickly 3-Good to Merge GDC-cherrypick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants