1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src
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
..
__mocks__
assets chore: update demo qr (#4241) 2023-07-14 09:31:44 +02:00
component feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
constants
contexts refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
hooks fix: constraint validation affecting disabled button (#4183) 2023-07-07 14:50:13 +02:00
interfaces feat: Slack App addon (#4238) 2023-07-14 09:49:34 +01:00
openapi chore: update orval models (#4062) 2023-06-22 09:52:21 +00:00
themes fix: misc UI fixes mostly responsiveness related (#3868) 2023-05-25 20:28:08 +03:00
types
utils feat: project UI rework, move edit and delete buttons deeper (#4195) 2023-07-11 09:47:38 +03:00
index.tsx
setupTests.ts
vite-env.d.ts