-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add owner avatar to multiplayer playlist items #15801
Conversation
room.Playlist[i].ID = currentPlaylistItemId++; | ||
room.Playlist[i].OwnerID = room.Host.Value.OnlineID; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As evidenced by the test failures, it appears some tests create rooms without a host.
@@ -191,12 +203,21 @@ protected override Drawable CreateContent() | |||
{ | |||
new Drawable[] | |||
{ | |||
ownerAvatar = new OwnerAvatar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like it definitely shouldn't be present in all but the multiplayer queue context.
}); | ||
} | ||
|
||
public LocalisableString TooltipText => User == null ? "loading user..." : $"queued by {User.Username}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, not to put too much of a point on what is probably mostly a temporary design, but I'm a bit weirded out by the avatars being on the left. It feels like they are not nearly important enough information to be the the first thing on a playlist item. Maybe they would fare better as the rightmost thing on the item? |
All above issues should be fixed. Avatars will also only be displayed in the subscreen's playlist and no longer in Playlists or the settings overlay. |
Should probably be replaced with a loading spinner in the future, don't really like "loading" tooltips.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine for an initial release
2021-11-25.23-27-07.mp4