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

Feedback popups #2561

Merged
merged 8 commits into from
Jan 2, 2025
Merged

Conversation

beck-thompson
Copy link
Contributor

@beck-thompson beck-thompson commented Dec 29, 2024

About the PR

Getting feedback is difficult when its just random polls on discord. It's also sometimes hard to tell if something has changed in game! This system will allow you to easily make popups to:
1.) Notify people that there is a new feature being tested
2.) Get feedback from players

Perfect world I would love to have it automatically relay events from in game responses to the discord. However, that is just too complex for me right now! Forcing people to log into discord to give feedback isn't the best :( I figured it out

Technical details

System works like this:
When you want to send a popup to a player use SendPopup in SharedFeedbackOverwatchSystem.cs. That will send a FeedbackPopupMessage to that player. When the player gets that message, they will create a popup that they can give feedback in. When they submit, the client sends a FeedbackResponseMessage. The feedback manager is listening for this, and when it gets one it will relay it through the discord webhook!

Media

2024-12-31.01-18-12.mp4

Requirements

  • I have tested all added content and changes.
  • I have added media to this PR or it does not require an ingame showcase.

@beck-thompson beck-thompson requested review from a team as code owners December 29, 2024 21:55
@github-actions github-actions bot added Changes: YML Changes any yml files Changes: UI Changes: C# Changes any cs files Changes: Localization Changes any ftl files S: Needs Review size/M 64-255 lines labels Dec 29, 2024
@beck-thompson
Copy link
Contributor Author

I have a plan

@github-actions github-actions bot added size/L 256-1023 lines and removed size/M 64-255 lines labels Dec 31, 2024
@beck-thompson
Copy link
Contributor Author

To test this just get the webhook url (this tutorial shows how https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks). I'd also recommend making a temporary test component that you can add to the crowbar or something so you can listen to the after interact event (forgot its name) and have the popup appear on its target.

@Lyndomen
Copy link
Contributor

Sweet as hell, I've passed this over to our curators to see if we missed anything

@beck-thompson
Copy link
Contributor Author

I also added the round ID to the message so make sure I did that correctly (I'm sure its perfect trust)!

@deltanedas deltanedas merged commit 36a18de into DeltaV-Station:master Jan 2, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: UI Changes: YML Changes any yml files S: Needs Review size/L 256-1023 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants