FAForever / faf-moderator-client

FAF Moderator Client
MIT License
4 stars 11 forks source link

Implemented separate 'Moderator Event' tab as per Issue #200 #201

Closed magge-faf closed 5 months ago

magge-faf commented 5 months ago

This PR addresses Issue #200 by adding a separate 'Moderator Event' tab next to the 'Chat log'.

Changes include:

These changes allow moderators to view moderator-specific events entirely separate from the chat log. Currently, it is very basic and more a "proof of concept", but it is a great start to be extended in the future.

Thanks for the detailed issue description @Garanas Thanks in advance for your code review @Brutus5000 or @Sheikah45

Fixes #200

Note: Player name is currently the raw represented focus army. I assume further changes to 'parseModeratorEvent' at faf-java-commons are needed to reference it to a player name. If the name can already be obtained from the current data, then please correct me.


Result in UI:

image

Garanas commented 5 months ago

Note: Player name is currently the raw represented focus army. I assume further changes to 'parseModeratorEvent' at faf-java-commons are needed to reference it to a player name. If the name can already be obtained from the current data, then please correct me.

This is possible, we'll do that in the next iteration 😃 !