twenty/packages/twenty-front
Ana Sofia Marin Alexandre 18cfe79b80
bug fix webhook response not sending data to tinybird (#7952)
Solves https://github.com/twentyhq/private-issues/issues/118

**TLDR**

Fix webhook response not sending data to tinybird when the url is not a
link.

**Changes in Tinybird:**

- Add column Success to webhook payload (boolean)
- Changed the parameter WebhookIdRequest to WebhookId in the
getWebhooksResponse api point.
- Those changes can be seen in the tinybird workspace
twenty_analytics_playground

**In order to test**

1. Set ANALYTICS_ENABLED to true
2. Set TINYBIRD_INGEST_TOKEN to your token from the workspace
twenty_analytics_playground
3. Set TINYBIRD_GENERATE_JWT_TOKEN to the admin kwt token from the
workspace twenty_analytics_playground
4. Set TINYBIRD_WORKSPACE_UUID to the UUID of
twenty_analytics_playground
5. Create a Webhook in twenty and set wich events it needs to track
6. Run twenty-worker in order to make the webhooks work.
7. Do your tasks in order to populate the data
8. Look at your webhooks in settings>api and webhooks> your webhook and
the statistics should be displayed
2024-10-22 15:48:11 +02:00
..
__mocks__ Fix overlay scroll gaps (#4512) 2024-03-31 10:53:37 +02:00
.storybook Fix all broken CIs (#7439) 2024-10-05 00:23:23 +02:00
public Added new logo images (#7840) 2024-10-19 10:58:20 +02:00
scripts feat: add SENTRY_RELEASE env (#4912) 2024-04-11 16:53:15 +02:00
src bug fix webhook response not sending data to tinybird (#7952) 2024-10-22 15:48:11 +02:00
.env.example Fix twenty-front performances (#6744) 2024-08-26 16:35:09 +02:00
.eslintrc-ci.cjs chore: enable no-console eslint rule for tests and stories (#4816) 2024-04-04 18:36:39 +02:00
.eslintrc.cjs Enforce front project structure through ESLINT (#7863) 2024-10-20 20:20:19 +02:00
.gitignore Feat/put target object identifier on use activities (#4682) 2024-04-01 13:12:37 +02:00
.prettierignore Update twenty-front commands (#4667) 2024-04-17 18:06:02 +02:00
.swcrc Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
codegen-metadata.cjs Serverless function UI (#6388) 2024-07-29 13:03:09 +02:00
codegen.cjs Serverless function UI (#6388) 2024-07-29 13:03:09 +02:00
folderStructure.json feat(sso): allow to use OIDC and SAML (#7246) 2024-10-21 20:07:08 +02:00
index.html Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
jest.config.ts Enforce front project structure through ESLINT (#7863) 2024-10-20 20:20:19 +02:00
nyc.config.cjs Fix all broken CIs (#7439) 2024-10-05 00:23:23 +02:00
package.json Make main the new 0.32 canary 2024-10-12 17:48:20 +02:00
project.json Enforce front project structure through ESLINT (#7863) 2024-10-20 20:20:19 +02:00
README.md Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
setupTests.ts Create new steps in workflow editor (#6764) 2024-08-30 15:51:36 +02:00
tsconfig.build.json added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
tsconfig.dev.json added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
tsconfig.json Activate/Deactivate workflow and Discard Draft (#7022) 2024-09-25 18:09:31 +02:00
tsconfig.spec.json fix: fix root start script (#5032) 2024-04-19 18:28:02 +02:00
tsconfig.storybook.json fix: fix root start script (#5032) 2024-04-19 18:28:02 +02:00
tsup.config.ts Fix frontend tests (#6585) 2024-08-09 08:38:01 +02:00
tsup.ui.index.tsx Migrate to twenty-ui - navigation/breadcrumb (#7793) 2024-10-21 21:53:43 +02:00
vite.config.ts Enforce front project structure through ESLINT (#7863) 2024-10-20 20:20:19 +02:00

Run yarn dev while server running on port 3000