Party UI components added#604
Open
Hectate wants to merge 23 commits into
Open
Conversation
Invite button for a friend now supports both sending an invite to an existing party as well as a hybrid dual-request to create-then-invite if client is not in a party.
Friends list now correctly displays invite button status for the following states: * User is already in your active party * User is already invited to your active party * User is able to be invited to your active party (or create and invite) * User is not able to be invited because the max members limit has been reached Because these all use the `party.store` values to determine state, it correctly syncs across multiple clients upon tachyon updates.
Party invitations now displayed with Accept/Decline buttons and current members. Party member component has a kick button. Party invitee component has a cancel invite button.
Matchmaking queues are now visible and selectable, and utilize the matchmaking.store appropriately
Can now download assets and join queues from the party screen directly.
The `activeParty` reactive property is now just the ID of the party. All places where the activeParty was referenced as type Party have been switched to use `...parties.get(...activeParty)` instead. This keeps the `parties` map as the central source of truth about all known parties.
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.
Closes #593 #390
Adds a Party view, as well as a little "popout" that indicates to the user that there is an active party and/or pending invite(s). The only way to create a party is to either invite a friend from NavBar > Friends, or use the Debug Sidebar's "Create Party" button. Clicking the "popout" will direct the user to the Party view.
The Party view has two tabs; active party and invites.
Active Party
The current members and invitees are listed, along with "Kick Member" and "Cancel Invite" buttons. Party chat is present. Current matchmaking queues are presented along with the "Join/Download Assets" button. There is no filtering at the moment to hide queues that the party would not fit into.
Invites
A simple panel that will list all current invites along with "Accept" and "Decline" buttons. Since we cannot know which member issued the invitation, all current members are identified in the party "description".