Skip to content
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

Hide some icons for spectators; fix #2589 #2656

Merged
merged 2 commits into from
Apr 29, 2017

Conversation

ctrlaltca
Copy link
Contributor

Related Ticket(s)

Short roundup of the initial problem

In the player list widget, spectators could have icons indicating they are ready/not ready ect..

What will change with this Pull Request?

Status, deck hash and sideboard locked icons are hidden for spectators.

Copy link
Member

@tooomm tooomm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for game to start:
game_waiting

During a game:
game_started

Couldn't test "during sideboard" with sideboard unlocked.

Edit:
Rechecked with the newest beta... and I get the same pictures.
So I don't understand the change - what was the initial problem @Daenyth?
Also doublechecked the about window for version. ;)

@Nightfirecat
Copy link

@tooomm From @Daenyth's original issue, there is a ready/not-ready icon next to spectators despite the fact they cannot affect a game's readiness. This PR removes that indicator for spectators, as evidenced in your "Waiting for game to start" screenshot.

Copy link
Member

@ZeldaZach ZeldaZach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, nice change

@tooomm
Copy link
Member

tooomm commented Apr 26, 2017

Well... to me this looks exactly the same running the beta without this pr!? What do I miss?
untitled

@Daenyth
Copy link
Member

Daenyth commented Apr 28, 2017

I think it's because there's 8/8 players in that shot

@ctrlaltca
Copy link
Contributor Author

The "not ready" icon appears on spectators when the game stops, so:

  • Create a game, even 1 player only
  • join with a spectator
  • start the game
  • concede the game

Now you should be back to the "sideboard" screen and both the player and the spectator will show the "not ready" icon.

@tooomm
Copy link
Member

tooomm commented Apr 29, 2017

I think it's because there's 8/8 players in that shot

Nope, same result with a 7/8 player game.
But yeah, as @ctrlaltca explained it's only displayed in some special conditions.

@ctrlaltca ctrlaltca merged commit 3c5e38b into Cockatrice:master Apr 29, 2017
@ctrlaltca ctrlaltca deleted the fix_2589 branch April 29, 2017 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants