Skip to content

[Feature]: Show spectators game overlays and never game dialogs #1225

@itsalaidbacklife

Description

@itsalaidbacklife

Improvement Summary

We should update the spectator experience so that whenever a modal element is shown for a mid-turn phase e.g. countering or picking a card to discard, that the spectator sees this via the corresponding game overlay and not the corresponding game dialog.

Detailed Description

Currently the spectator always views the game from the perspective of p0 and sees whatever dialogs they say e.g.

Image

This is misleading because it looks to the spectator like they're actually being asked to make a choice that they aren't being asked to make. When someone is spectating, we should switch to only showing them the corresponding overlay for the "inactive" player:

Image

This would better communicate that the spectator does not have a choice to make, but instead is watching a player make a decision.

Note: This should be a follow up to #1224 and needs to ensure that the relevant player's username shows up i.e. if aleph_one is faced with the decision to counter, it should read "aleph_one may counter" regardless of whether aleph_one was p0 or p1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendRequires changes to the frontend (vue) clientversion-patchAn update that warrants a bumping the project's patch version (e.g. 4.0.0 => 4.0.1)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions