Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat rework #170

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Chat rework #170

wants to merge 3 commits into from

Conversation

bqv
Copy link
Contributor

@bqv bqv commented Oct 7, 2023

Beginnings of sending game chat of different types, and receiving all the different kinds of message.

Variations format now, and clicking them jumps into analysis mode with the move tree
Sending variations works when chat is opened from analysis mode
Bots that send using the GameChatTranslatedMessage type now parse and display properly
Reviews will format and clicking them will open the review as a URL (thoughts: review fragment?)

Relatively half baked at the moment. It works, besides the boards not displaying properly because I can't quite think of a neat way to walk up the move history in ChatDialog. Sending variations will also always use the MAIN channel because I misinterpreted how that works and need to rework the UI design, thoughts on that would be appreciated

Lastly, There's a strange bug I unearthed while doing this. Malkovich chat appears fine at the end of a game, but if you then reenter the game later, it doesn't always reliably appear, and I'm not sure what could cause that. Am I missing something or is that a true bug, and on what side?

@bqv
Copy link
Contributor Author

bqv commented Oct 7, 2023

Screenshot_2023-10-07-22-25-33-50_f94167a5367e07577d817cf990f00b16.jpg

Screenshot_2023-10-07-22-25-35-41_f94167a5367e07577d817cf990f00b16.jpg

Screenshot_2023-10-07-22-25-57-14_f94167a5367e07577d817cf990f00b16.jpg

@bqv bqv force-pushed the malkovitch branch 3 times, most recently from eaff5b3 to e95d79a Compare October 10, 2023 21:56
@acristescu
Copy link
Owner

Oh yeah, receiving variations in chat is definitely something that I'd like to add, thank you for looking into it!

I'm not so sure about malkovich chat though, people will just be confused at what that does and is IMHO an anti-feature. But if it's there already let's include it and see how many people complain about it. :)

@bqv bqv force-pushed the malkovitch branch 2 times, most recently from c2f154e to bce965a Compare October 17, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants