Closed pizzaisdavid closed 3 months ago
very nice! :)
How will this go for Precious Plastic VS Project Kamp? Since I think atm Project Kamp doesnt have a Discord webhook installed yet
How will this go for Precious Plastic VS Project Kamp? Since I think atm Project Kamp doesnt have a Discord webhook installed yet
Good question.
After reviewing the codebase, I think it would not work but not crash the backend generally.
I've added some checks, so if there is no Discord webhook, then to just exit that part safely. I am not totally sure what the config looks like on Project Kamp, so I had to guess (checking for empty string, null, and undefined.)
Summary: should work fine.
changes applied, successfully rebased, ready for dev review
@benfurber unfortunately there is no preexisting infrastructure for testing webhooks in an automated way, so... uh.. nope!
Anyone can feel free to add tests to any webhook and then I will copy what they did for this one here. 😉
Perhaps a different issues for after this. But how would we get this up and running for Project Kamp? Seems very useful!
1 | 74 | 1 | 0 | 0 |
Details:
chore: check for URL | |||
Project: onearmy-community-platform | Commit: f8c2f20b88 |
||
Status: Failed | Duration: 04:47 💡 | ||
Started: Jun 26, 2024 3:05 AM | Ended: Jun 26, 2024 3:10 AM |
View
Output
Video
Test | Artifacts | |
---|---|---|
[How To] > [Create a how-to] > [By Authenticated] |
Test Replay
Screenshots
Video
|
Perhaps a different issues for after this
I have made an issue: https://github.com/ONEARMY/community-platform/issues/3694
I looked at the failed test, it seems to be un-related.
Siri, re-run the tests please.
the failing test looks like the same bug as https://github.com/ONEARMY/community-platform/issues/3691. Could be solved on another PR
:tada: This PR is included in version 1.194.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
PR Type
feature
Description
Make message in Discord when a new Research Update is created.
Git Issues
Doesn't close, but for: https://github.com/ONEARMY/community-platform/issues/3533
Screenshots/Videos
demo: https://www.youtube.com/watch?v=LD1Rj0OrHDg