GH-2829 Add Sentry on frontend (#3111)

* GH-2829 pass sentry dsn key from backend in ClientConfig

* GH-2829 add Sentry library on frontend

* GH-2829 fetch dsnKey in GQL and add a state

* GH-2829 initialize Sentry on frontend

* GH-2829 fix linting issues

* Update yarn.lock

* GH-2829 update graphql schema for clientConfig

* GH-2829 remove Sentry comments

* GH-2829 rename sentry state

* GH-2829 rename dsnKey to dsn

* GH-2829 refactor to use componentEffect for sentry initialization

* GH-2829 fix linting issues

* GH-2829 update Graphql types

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Deepak Kumar
2023-12-22 04:20:24 +05:30
committed by GitHub
parent 756b30815e
commit 46ab88cb9c
13 changed files with 230 additions and 50 deletions

View File

@ -1,6 +1,7 @@
import { Module } from "@nestjs/common";
import { ModuleRef } from "@nestjs/core";
import { FetchMessagesJob } from "src/workspace/messaging/jobs/fetch-messages.job";
import { Module } from '@nestjs/common';
import { ModuleRef } from '@nestjs/core';
import { FetchMessagesJob } from 'src/workspace/messaging/jobs/fetch-messages.job';
@Module({
providers: [

View File

@ -2,4 +2,4 @@ export function getJobClassName(name: string): string {
const [, jobName] = name.split('.') ?? [];
return jobName ?? name;
}
}