fix/sentry masking

This commit is contained in:
Enno Gelhaus 2025-08-01 13:02:51 +02:00
parent 8e98566657
commit 833c41688c
4 changed files with 14 additions and 15 deletions

View file

@ -199,13 +199,13 @@ export const StarsTableComponent = () => {
)}
</div>
</div>
<div className="flex-1 bg-secondary">
<div className="flex-1 bg-secondary" data-sentry-mask>
{stars?.stars?.length ? (
<table className={`table1`}>
<thead>
<tr>
<th>
<UpDown name="Repository" param="login" data-sentry-mask />
<UpDown name="Repository" param="login"/>
</th>
<th>
<UpDown name="Date" param="date" />

View file

@ -28,7 +28,7 @@ export const PreviewWrapper = ({ children }: { children: ReactNode }) => {
runtimeUrl={backendUrl + '/copilot/chat'}
>
<MantineWrapper>
<Toaster data-sentry-mask />
<Toaster/>
{children}
</MantineWrapper>
</CopilotKit>

View file

@ -66,7 +66,7 @@ export const Toaster = () => {
</svg>
)}
</div>
<div className="flex-1 text-textColor">{toasterText}</div>
<div className="flex-1 text-textColor" data-sentry-mask>{toasterText}</div>
<svg
xmlns="http://www.w3.org/2000/svg"
width="60"

View file

@ -1,19 +1,18 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"module": "esnext",
"target": "esnext",
"lib": ["dom", "esnext"],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noEmit": true
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
}
]
"include": ["src"],
"exclude": ["node_modules", "dist"]
}