twenty/packages/twenty-front
Ana Sofia Marin Alexandre f06cdbdfc6
refactor webhookAnalytics call and enrich analytics module (#8253)
**TLDR**

Refactor WebhoonAnalytics Graph to a more abstract version
AnalyticsGraph (in analytics module). Thus enabling the components to be
used on different instances (ex: new endpoint, new kind of graph).

**In order to test:**

1. Set ANALYTICS_ENABLED to true
2. Set TINYBIRD_JWT_TOKEN to the ADMIN token from the workspace
twenty_analytics_playground
3. Set TINYBIRD_JWT_TOKEN to the datasource or your admin token from the
workspace twenty_analytics_playground
4. Create a Webhook in twenty and set wich events it needs to track
5. Run twenty-worker in order to make the webhooks work.
6. Do your tasks in order to populate the data
7. Enter to settings> webhook>your webhook and the statistics section
should be displayed.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-11-08 10:00:51 +01:00
..
__mocks__ Fix overlay scroll gaps (#4512) 2024-03-31 10:53:37 +02:00
.storybook feat: view groups (#7176) 2024-10-24 15:38:52 +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 refactor webhookAnalytics call and enrich analytics module (#8253) 2024-11-08 10:00:51 +01:00
.env.example Be able to specify front port (#8382) 2024-11-07 18:11:51 +01: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 6071 return only updated fields of records in zapier update trigger (#8193) 2024-11-04 17:44:36 +01:00
.gitignore folderStructure.json refactor (#8088) 2024-10-28 12:06:58 +01: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 folderStructure.json refactor (#8088) 2024-10-28 12:06:58 +01:00
index.html Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
jest.config.ts Feat: Advanced filter (#7700) 2024-10-24 16:59:59 +02:00
nyc.config.cjs Fix front tests (#8207) 2024-10-30 15:50:56 +01:00
package.json Bump to 0.32 (#8324) 2024-11-05 00:19:05 +01:00
project.json Migrate to twenty-ui - utilities/dimensions (#7949) 2024-10-23 17:09:32 +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/menu-item (#8213) 2024-11-07 16:51:39 +00:00
vite.config.ts Be able to specify front port (#8382) 2024-11-07 18:11:51 +01:00

Run yarn dev while server running on port 3000