-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
feat: using slack apps for slack-bridge #30630
feat: using slack apps for slack-bridge #30630
Conversation
Signed-off-by: Abhinav Kumar <[email protected]>
🦋 Changeset detectedLatest commit: 66e4db5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Signed-off-by: Abhinav Kumar <[email protected]>
Signed-off-by: Abhinav Kumar <[email protected]>
Hey @pierre-lehnen-rc Thanks for your review. I have made all the changes you suggested. Additionally, I took some time to test the changes and fixed the bugs I encountered. |
Codecov Report
@@ Coverage Diff @@
## develop #30630 +/- ##
===========================================
- Coverage 51.22% 51.05% -0.17%
===========================================
Files 811 809 -2
Lines 15115 15220 +105
Branches 2759 2827 +68
===========================================
+ Hits 7743 7771 +28
- Misses 6961 7007 +46
- Partials 411 442 +31
Flags with carried forward coverage won't be shown. Click here to find out more. |
@abhinavkrin FYI - item is failing on our CI with message "Error: @rocket.chat/meteor#translation-check: command (/home/runner/work/Rocket.Chat/Rocket.Chat/apps/meteor) yarn run translation-check exited (1)" |
Signed-off-by: Abhinav Kumar <[email protected]>
Hey @casalsgh The translation check failed. The line |
Thanks for the PR @abhinavkrin =) it will be on 6.5.0 release |
Co-authored-by: Pierre Lehnen <[email protected]>
Co-authored-by: Pierre Lehnen <[email protected]>
Proposed changes (including videos or screenshots)
I have used slack apps for the slack bridge feature since the legacy bot integration has been deprecated. I have kept support for the legacy integration also. Users can switch to new slack app integration from the slack bridge setting.
Using slack app for slack bridge
bridge-using-slack-app.mp4
keeping the support for legacy bot integration
legacy-bot-test.mp4
Issue(s)
Fixes #30594
Steps to test or reproduce
app level token
,bot token
, andsigning secret
from the app management page.app token
andsigning secret
can be found on the Basic Information page, and thebot token
could be found inOAauth and Permissions
page asBot User OAuth Token
.Use Legacy Api Token
, and add the above tokens in the respective fields. Save.Further comments
@slack/bolt
(docs) which implements its events API using socket mode.