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
Discord test button and send webhook msg with avatar #1514
Discord test button and send webhook msg with avatar #1514
Conversation
* Add Profile.get_discord_repos for presentation of discord_repos * Fix splitting of repo string before saving into discord/slack repos * Remove "Test" button in Discord settings as it is out of scope * Remove mutation for Bounty.bounty_owner_profile in migration * Add discord_repos and discord_webhook_url fields for profile fixtures
For some reason, my User no longer has its Profile created after logging in via the Github integration on my dev environment, so am stuck on that before I can test the new functionality. Will update again later this week when I have more time to troubleshoot. Unsure if the issue is with my changes, none of them touch the Github integration. |
Codecov Report
@@ Coverage Diff @@
## master #1514 +/- ##
==========================================
+ Coverage 29.69% 29.73% +0.04%
==========================================
Files 132 130 -2
Lines 9784 9733 -51
Branches 1270 1260 -10
==========================================
- Hits 2905 2894 -11
+ Misses 6773 6735 -38
+ Partials 106 104 -2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
As detailed in #1434, this PR adds test functionality to the Discord integration as well as setting of the webhook avatar when posting a message through the webhook.
Checklist
Affected core subsystem(s)
Backend (marketing/utils, marketing/views, dashboard/notifications)
Frontend (settings/discord)
Testing
Tested:
Refers/Fixes
Fixes: #1434