Skip to content

Add report dropdown to ranked play chat#37617

Open
LiquidPL wants to merge 1 commit intoppy:masterfrom
LiquidPL:ranked-play-report
Open

Add report dropdown to ranked play chat#37617
LiquidPL wants to merge 1 commit intoppy:masterfrom
LiquidPL:ranked-play-report

Conversation

@LiquidPL
Copy link
Copy Markdown
Contributor

@LiquidPL LiquidPL commented May 3, 2026

This commit adds a dropdown menu to ranked play chat messages, with an option to report said message. However, this isn't fully working yet due to some focus shenanigans:

  • the chat history is only displayed when the chat textbox is in focus,
  • selecting the report option in a dropdown kills focus on the textbox, hiding the messages, which in turn causes the report popover to expire (see attached video)

Because of that, this PR is for now mostly an RFC concerning the changes I've made to the actual chat display. I think the report popover will need to be refactored to some sort of fullscreen overlay (DialogOverlay maybe?) since this is the second time I have to fight those (previous being #36335).

Screencast_20260503_081506.webm

This commit adds a dropdown menu to ranked play chat messages, with an
option to report said message. However, this isn't fully working yet due
to some focus shenanigans:

* the chat history is only displayed when the chat textbox is in focus,
* selecting the report option in a dropdown kills focus on the textbox,
  hiding the messages, which in turn causes the report popover to expire

Because of that, this PR is for now mostly an RFC concerning the changes
I've made to the actual chat display.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant