serge-web / serge

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

Sometimes message shows in wrong turn #2863

Open Tristina1788 opened 8 months ago

Tristina1788 commented 8 months ago

🐞 Bug description

Sometimes message shows in wrong turn

Update: Aah, it looks like we are adding the message at the bottom of the list. We should be adding it at the top.

🔢 Steps to Reproduce

Steps to reproduce the behavior:

  1. Play game with data wargame-l6nngxlk with Umpire/Game Design
  2. Click on 'Blue & SME' chanel
  3. Send the message
  4. Click 'Start new phase" button to increase turn
  5. Send the message
  6. Log Out the game
  7. Login again with user Umpire/Game Design
  8. Click on 'Blue & SME' chanel
  9. Send the message
  10. Notice after sometimes it shows message in wrong turn

View on below screencast for more details

⚙️ Expected behavior

The message shows with correct turn

🖥️ Screencast

https://github.com/serge-web/serge/assets/107697044/84e9df13-0a83-47f7-a17f-41e11d79f947

💻 System information

📝 Additional context