gbtami / pychess-variants

Chess variant server
https://www.pychess.org
GNU Affero General Public License v3.0
236 stars 115 forks source link

Chat messages in bughouse are recorded, however lost on reconnect or opening an old game and other issues #1500

Open nnickoloff1234 opened 3 months ago

nnickoloff1234 commented 3 months ago

Action items:

nnickoloff1234 commented 2 months ago

I have implemented a lot of improvements with the last commit, but still some things need a bit more work. Putting my notes to myself here with more ideas related to chat so i have them written down somewhere:

gbtami commented 2 months ago

Regarding "spectators lose spectator chat after refresh - how is this working for normal games?", the reason is bug spectator chat messages simply not appended to game.messages array because of this line https://github.com/gbtami/pychess-variants/blob/master/server/wsr.py#L627

"can i invent logic to hide chat icons for finished games as well?" It would be nice to have standard lichess chat buttons before/after game. https://i.imgur.com/aZZnDTx.png https://i.imgur.com/lfpwZJU.png