1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/lib/addons
Nuno Góis 383e522127
feat: Slack App addon (#4238)
https://linear.app/unleash/issue/2-1232/implement-first-iteration-of-the-new-slack-app-addon

This PR implements the first iteration of the new Slack App addon.
Unlike the old Slack addon, this one uses a Slack App (bot) that is
installed to Slack workspaces in order to post messages. This uses
`@slack/web-api`, which internally uses the latest Slack API endpoints
like `postMessage`.

This is currently behind a flag: `slackAppAddon`.

The current flow is that the Unleash Slack App is installed from
whatever source:
 - Unleash addons page;
 - Direct link;
 - https://unleash-slack-app.vercel.app/ (temporary URL);
 - Slack App Directory (in the future);
 - Etc;

After installed, we resolve the authorization to an `access_token` that
the user can paste into the Unleash Slack App addon configuration form.


https://github.com/Unleash/unleash/assets/14320932/6a6621b9-5b8a-4921-a279-30668be6d46c

Co-authored by: @daveleek

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-07-14 09:49:34 +01:00
..
__snapshots__ chore: Datadog addon, ability to include source type name (#4196) 2023-07-10 15:38:53 +02:00
addon-schema.ts feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
addon.test.ts task: Use make-fetch-happen (#1500) 2022-04-28 10:57:52 +02:00
addon.ts feat: add error logs for addons (#2739) 2023-01-11 09:13:22 +01:00
datadog-definition.ts chore: Datadog addon, ability to include source type name (#4196) 2023-07-10 15:38:53 +02:00
datadog.test.ts chore: Datadog addon, ability to include source type name (#4196) 2023-07-10 15:38:53 +02:00
datadog.ts chore: Datadog addon, ability to include source type name (#4196) 2023-07-10 15:38:53 +02:00
feature-event-formatter-md.test.ts Detailed slack notifications on feature toggle update (#3155) 2023-02-27 09:56:56 +00:00
feature-event-formatter-md.ts Detailed slack notifications on feature toggle update (#3155) 2023-02-27 09:56:56 +00:00
index.ts feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
installation-definition-schema.ts feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
slack-app-definition.ts feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
slack-app.ts feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
slack-definition.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
slack.test.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
slack.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
teams-definition.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
teams.test.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
teams.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
webhook-definition.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
webhook.test.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00
webhook.ts task: Add customHeaders as possible parameter. (#4139) 2023-07-05 09:42:17 +02:00