serge-web / serge

Serious Gaming, Evolved - web interface
https://sites.google.com/deepbluec.com/serge/
Apache License 2.0
14 stars 4 forks source link

Control which phases a collab participant can interact #2979

Closed IanMayo closed 2 months ago

IanMayo commented 3 months ago

For most of the time, the collab channel participation will be during the Planning Phase.

Where collab channel messages are generated by adjudications during the adjudication phase, we should be able to prevent players from editing/interacting with them.

Introduce new attribute to the Collab Participant record type, which lists the phases that this participant has the action buttons visible. For backwards compatibility (and ease of use), if the fields is empty then the participant can interact in all phases.

Update: ok, I've done the early steps for this. We now just need the admin page for collab channels to allow zero or more phases to be specified for an participant.

Here is the current UI. This will require a new multi-select drop-down containing planning and adjudication (to the right of See live updates . Zero or more can be selected. image

Here is the data change that this control relates to: image

The PR for this issue contains a branch that can be used to complete development.

lebaphi commented 2 months ago

should we close it @IanMayo ?

IanMayo commented 2 months ago

Now complete.