-
Notifications
You must be signed in to change notification settings - Fork 204
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
Feature/msteams #1914
Feature/msteams #1914
Conversation
icrosoft Teams accepts markdown, as long as the content was escaped/serialized to a JSON string first
Mentions don't actually work when posted through the teams/office api
instead of baking in the URL at the top
@hipstersmoothie question about the format for the response, to write tests for a release with multiple versions and packages, what is the response? would the mockresponse look something like this?:
|
Probably more like:
|
MS Teams might add this functionality later
right, so - teams doens't support the atTarget functionality and based on the tests and some of the responses i'm getting, i'm getting conflicting results for the markdown returned. I will try this out with the |
Codecov Report
@@ Coverage Diff @@
## main #1914 +/- ##
==========================================
- Coverage 80.17% 80.16% -0.01%
==========================================
Files 66 66
Lines 5386 5375 -11
Branches 1252 1248 -4
==========================================
- Hits 4318 4309 -9
+ Misses 708 707 -1
+ Partials 360 359 -1
Continue to review full report at Codecov.
|
The url's generated f.ex comparing, ofcourse does but i don't really know how to get that created here. |
It looks like the code for creating a list of slack formated links is still in there. I think you'd need to create an addon for each release |
just not sure how to get the "previous release" in the context of multiple independently versioned packages. I know it comes from auto, |
@vincentbriglia this is fantastic, thank you! @hipstersmoothie @adierkens what needs to be done to get this merged? I know @vincentbriglia said something about independently versioned packages, but it looks like he has made the applicable formatting changes for what was already in the Teams plugin thus far, and this is a huge improvement over whats currently being spit out by the Teams plugin, so can we at least get this merged to fix that portion? |
Fix the merge conflict and I'll merge ASAP! |
@vincentbriglia Mind fixing the merge conflict and updating the PR? |
@hipstersmoothie please check the last couple commits, I've fixed it - had some |
@hipstersmoothie Any chance you can take a look at this? |
Sorry I started a new job and have been super busy! Not to mention I also started a podcast 😅 I will for sure look at this this weekend. But if someone can find a way to make the tests pass before then I'll review and merge. |
@hipstersmoothie understood, so you're no longer at Intuit? and actively working on auto? all that to say, any updates on this? :) |
Yeah no longer at intuit but still an avid user of auto thought! Working at a startup constrains my time in much different ways though. @vincentbriglia I've fixed the issue, can you give me push access to your fork? |
@hipstersmoothie done |
@vincentbriglia @hipstersmoothie thanks guys, much appreciated! @hipstersmoothie if you recall our convo about a screenshot of the Slack output added to the documentation (which you've already done), maybe you can use the above image to do the same for the Teams docs page to show how the output will look? |
@vincentbriglia @hipstersmoothie hmm, i just ran this and this was the output: |
Once we fix the output we can do that ;P Any idea on the fix for that? |
Not sure what happened with the output. @vincentbriglia have you tried this yet? How did you get the original output in your screenshot? |
i haven't tried it, i will try it out tomorrow - am on a different product atm :) |
What Changed
to
Why
Todo:
Change Type
Indicate the type of change your pull request is:
documentation
patch
minor
major
Note: I added you @hipstersmoothie to a teams channel as a guest, so you can try this out. I have also forwarded you the webhook URL
🐤 Download canary assets:
auto-linux--canary.1914.24254.gz
auto-macos--canary.1914.24254.gz
auto-win.exe--canary.1914.24254.gz
📦 Published PR as canary version:
under canary scope @auto-canary@10.29.0--canary.1914.24254.0
✨ Test out this PR locally via:
npm install @auto-canary/bot-list@10.29.0--canary.1914.24254.0 npm install @auto-canary/auto@10.29.0--canary.1914.24254.0 npm install @auto-canary/core@10.29.0--canary.1914.24254.0 npm install @auto-canary/package-json-utils@10.29.0--canary.1914.24254.0 npm install @auto-canary/all-contributors@10.29.0--canary.1914.24254.0 npm install @auto-canary/brew@10.29.0--canary.1914.24254.0 npm install @auto-canary/chrome@10.29.0--canary.1914.24254.0 npm install @auto-canary/cocoapods@10.29.0--canary.1914.24254.0 npm install @auto-canary/conventional-commits@10.29.0--canary.1914.24254.0 npm install @auto-canary/crates@10.29.0--canary.1914.24254.0 npm install @auto-canary/docker@10.29.0--canary.1914.24254.0 npm install @auto-canary/exec@10.29.0--canary.1914.24254.0 npm install @auto-canary/first-time-contributor@10.29.0--canary.1914.24254.0 npm install @auto-canary/gem@10.29.0--canary.1914.24254.0 npm install @auto-canary/gh-pages@10.29.0--canary.1914.24254.0 npm install @auto-canary/git-tag@10.29.0--canary.1914.24254.0 npm install @auto-canary/gradle@10.29.0--canary.1914.24254.0 npm install @auto-canary/jira@10.29.0--canary.1914.24254.0 npm install @auto-canary/magic-zero@10.29.0--canary.1914.24254.0 npm install @auto-canary/maven@10.29.0--canary.1914.24254.0 npm install @auto-canary/microsoft-teams@10.29.0--canary.1914.24254.0 npm install @auto-canary/npm@10.29.0--canary.1914.24254.0 npm install @auto-canary/omit-commits@10.29.0--canary.1914.24254.0 npm install @auto-canary/omit-release-notes@10.29.0--canary.1914.24254.0 npm install @auto-canary/pr-body-labels@10.29.0--canary.1914.24254.0 npm install @auto-canary/released@10.29.0--canary.1914.24254.0 npm install @auto-canary/s3@10.29.0--canary.1914.24254.0 npm install @auto-canary/sbt@10.29.0--canary.1914.24254.0 npm install @auto-canary/slack@10.29.0--canary.1914.24254.0 npm install @auto-canary/twitter@10.29.0--canary.1914.24254.0 npm install @auto-canary/upload-assets@10.29.0--canary.1914.24254.0 npm install @auto-canary/vscode@10.29.0--canary.1914.24254.0 # or yarn add @auto-canary/bot-list@10.29.0--canary.1914.24254.0 yarn add @auto-canary/auto@10.29.0--canary.1914.24254.0 yarn add @auto-canary/core@10.29.0--canary.1914.24254.0 yarn add @auto-canary/package-json-utils@10.29.0--canary.1914.24254.0 yarn add @auto-canary/all-contributors@10.29.0--canary.1914.24254.0 yarn add @auto-canary/brew@10.29.0--canary.1914.24254.0 yarn add @auto-canary/chrome@10.29.0--canary.1914.24254.0 yarn add @auto-canary/cocoapods@10.29.0--canary.1914.24254.0 yarn add @auto-canary/conventional-commits@10.29.0--canary.1914.24254.0 yarn add @auto-canary/crates@10.29.0--canary.1914.24254.0 yarn add @auto-canary/docker@10.29.0--canary.1914.24254.0 yarn add @auto-canary/exec@10.29.0--canary.1914.24254.0 yarn add @auto-canary/first-time-contributor@10.29.0--canary.1914.24254.0 yarn add @auto-canary/gem@10.29.0--canary.1914.24254.0 yarn add @auto-canary/gh-pages@10.29.0--canary.1914.24254.0 yarn add @auto-canary/git-tag@10.29.0--canary.1914.24254.0 yarn add @auto-canary/gradle@10.29.0--canary.1914.24254.0 yarn add @auto-canary/jira@10.29.0--canary.1914.24254.0 yarn add @auto-canary/magic-zero@10.29.0--canary.1914.24254.0 yarn add @auto-canary/maven@10.29.0--canary.1914.24254.0 yarn add @auto-canary/microsoft-teams@10.29.0--canary.1914.24254.0 yarn add @auto-canary/npm@10.29.0--canary.1914.24254.0 yarn add @auto-canary/omit-commits@10.29.0--canary.1914.24254.0 yarn add @auto-canary/omit-release-notes@10.29.0--canary.1914.24254.0 yarn add @auto-canary/pr-body-labels@10.29.0--canary.1914.24254.0 yarn add @auto-canary/released@10.29.0--canary.1914.24254.0 yarn add @auto-canary/s3@10.29.0--canary.1914.24254.0 yarn add @auto-canary/sbt@10.29.0--canary.1914.24254.0 yarn add @auto-canary/slack@10.29.0--canary.1914.24254.0 yarn add @auto-canary/twitter@10.29.0--canary.1914.24254.0 yarn add @auto-canary/upload-assets@10.29.0--canary.1914.24254.0 yarn add @auto-canary/vscode@10.29.0--canary.1914.24254.0