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

Message is auto clear after some seconds #2962

Closed Tristina1788 closed 1 month ago

Tristina1788 commented 1 month ago

🐞 Bug description

Message is auto clear after some seconds.

Note: this issue only occurs in branches with the new template strategy, such as for PR #2897

🔢 Steps to Reproduce

  1. Go to admin page
  2. Create new template

image

  1. Using this template for a channel

image

  1. Playgame on new channel
  2. Input content on the input form and wait some seconds
  3. Notice the content is auto clear

https://github.com/serge-web/serge/assets/107697044/1106b6bd-f6e4-4c27-ab25-def3ecd2f4e3

⚙️ Expected behavior

Message is not auto clear

🖥️ Screencast

💻 System information

📝 Additional context

IanMayo commented 1 month ago

Note: while I saw this happen (I think it was on the heartbeat), it wasn't always reproducible.

Aah, I was able to make the form clear itself by saving the wargame from admin pages in a different tab.

Tristina1788 commented 1 month ago

to make the form clear itself by saving the wargame from admin pages in a different t

Currently I only reproduce it on branch '2892_Edit_templates_in_admin_pages' . And It happens when the first time input on text message. (It means when the text is clear, you input again and the issue will not happen, you have to send the message and try to input on new message to reproduce it, or logout and login then input on new message again)

IanMayo commented 1 month ago

This is resolved, isn't it @Tristina1788 ?

Tristina1788 commented 1 month ago

This is resolved, isn't it @Tristina1788 ?

Yes, that's correct. The issue is fixed.