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

The Collab channel (not the first collab channel on a wargame) can't send message #2943

Open Tristina1788 opened 2 months ago

Tristina1788 commented 2 months ago

šŸž Bug description

The second collab channel shows as it has template config ( which is config from first collab channel). But seem it doesn't really has template config. So no input field shows when trying to send message.

šŸ”¢ Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a basic game with some force and some channels
  2. Login from admin page
  3. Click on dropdown of button 'Add Channel'
  4. Select 'Collab Edit' to create first collab channel
  5. Notice 'Message Template' and 'Response Template' is empty
  6. Input 'Message Template' and 'Response Template' is chat

image

  1. Save channel
  2. Select 'Collab Edit' to create second collab channel
  3. Notice the 'Message Template' and 'Response Template' get the template 'Chat' same with from first collab
  4. Play game with user role Red - Co
  5. Notice with first collab channel, user can see input text field for send message

image

  1. Notice with second channel, user can't see input text field, so can't send message

image

āš™ļø Expected behavior

The new collab channel should not show template from another collab channel

šŸ–„ļø Screencast

https://github.com/serge-web/serge/assets/107697044/9c3c58d5-2446-441b-b6d0-d09d1746fec0

šŸ’» System information

šŸ“ Additional context