Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const StarsTableComponent = () => {
[page, key, state]
);
return (
<div className="flex flex-1 flex-col gap-[15px] min-h-[426px]">
<div className="flex flex-1 flex-col gap-[15px] min-h-[426px]" data-sentry-mask>
<div className="text-textColor flex gap-[8px] items-center select-none">
<div
onClick={changePage('decrease')}
Expand Down Expand Up @@ -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" />
<UpDown name="Repository" param="login"/>
</th>
<th>
<UpDown name="Date" param="date" />
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/components/autopost/autopost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export const Autopost: FC = () => {
<div>{t('active', 'Active')}</div>
{data?.map((p: any) => (
<Fragment key={p.id}>
<div className="flex flex-col justify-center">{p.title}</div>
<div className="flex flex-col justify-center">{p.url}</div>
<div className="flex flex-col justify-center" data-sentry-mask>{p.title}</div>
<div className="flex flex-col justify-center" data-sentry-mask>{p.url}</div>
<div className="flex flex-col justify-center">
<div>
<Button onClick={addWebhook(p)}>
Expand Down
2 changes: 2 additions & 0 deletions apps/frontend/src/components/launches/launches.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export const MenuGroupComponent: FC<
'data-tooltip-content': group.name,
}
: {})}
data-sentry-mask
>
{group.name}
</div>
Expand Down Expand Up @@ -325,6 +326,7 @@ export const MenuComponent: FC<
'group-[.sidebar]:hidden flex-1 whitespace-nowrap text-ellipsis overflow-hidden cursor-move',
integration.disabled && 'opacity-50'
)}
data-sentry-mask
>
{integration.name}
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/components/launches/select.customer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const SelectCustomer: FC<{
return null;
}
return (
<Select
<Select data-sentry-mask
hideErrors={true}
label=""
name="customer"
Expand All @@ -33,7 +33,7 @@ export const SelectCustomer: FC<{
{uniqBy(integrations, (u) => u?.customer?.name)
.filter((f) => f.customer?.name)
.map((p) => (
<option key={p.customer?.id} value={p.customer?.id}>
<option key={p.customer?.id} value={p.customer?.id} data-sentry-mask>
{t('customer', 'Customer:')}
{p.customer?.name}
</option>
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/new-launch/manage.modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
);

return (
<>

Check notice on line 307 in apps/frontend/src/components/new-launch/manage.modal.tsx

View check run for this annotation

Postiz-Agent / [Postiz App] SonarQube Code Analysis

apps/frontend/src/components/new-launch/manage.modal.tsx#L307

A fragment with only one child is redundant.
<div
className={clsx(
'flex flex-col md:flex-row bg-newBgLineColor gap-[1px] rounded-[24px] trz'
Expand Down Expand Up @@ -454,7 +454,7 @@
<div>
<TopTitle title="" removeTitle={true} extraClass="h-[75px]">
<div className="flex flex-1 gap-[10px]">
<div>
<div data-sentry-mask>
{!dummy && (
<TagsComponent
name="tags"
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/preview/preview.wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const PreviewWrapper = ({ children }: { children: ReactNode }) => {
showDevConsole={false}
>
<MantineWrapper>
<Toaster />
<Toaster/>
{children}
</MantineWrapper>
</CopilotKit>
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/components/public-api/public.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const PublicComponent = () => {
</a>
</div>
<div className="my-[16px] mt-[16px] bg-sixth border-fifth items-center border rounded-[4px] p-[24px] flex gap-[24px]">
<div className="flex items-center">
<div className="flex items-center" data-sentry-mask>
{reveal ? (
user.publicApi
) : (
Expand Down Expand Up @@ -89,7 +89,7 @@ export const PublicComponent = () => {
)}
</div>
<div className="my-[16px] mt-[16px] bg-sixth border-fifth items-center border rounded-[4px] p-[24px] flex gap-[24px]">
<div className="flex items-center">
<div className="flex items-center" data-sentry-mask>
{reveal2 ? (
`${backendUrl}/mcp/` + user.publicApi + '/sse'
) : (
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/sets/sets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const Sets: FC = () => {
<div>{t('delete', 'Delete')}</div>
{data?.map((p: any) => (
<Fragment key={p.id}>
<div className="flex flex-col justify-center">{p.name}</div>
<div className="flex flex-col justify-center" data-sentry-mask>{p.name}</div>
<div className="flex flex-col justify-center">
<div>
<Button onClick={addSet(p)}>{t('edit', 'Edit')}</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const SignaturesComponent: FC<{
{data?.map((p: any) => (
<Fragment key={p.id}>
<div className="relative flex-1 me-[20px] overflow-x-hidden">
<div className="absolute start-0 line-clamp-1 top-[50%] -translate-y-[50%] text-ellipsis">
<div className="absolute start-0 line-clamp-1 top-[50%] -translate-y-[50%] text-ellipsis" data-sentry-mask>
{p.content.slice(0, 15) + '...'}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/settings/teams.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const TeamsComponent = () => {
<div className="flex flex-col gap-[16px]">
{(data || []).map((p) => (
<div key={p.user.id} className="flex items-center">
<div className="flex-1">
<div className="flex-1" data-sentry-mask>
{capitalize(p.user.email.split('@')[0]).split('.')[0]}
</div>
<div className="flex-1">
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/components/webhooks/webhooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export const Webhooks: FC = () => {
<div>{t('delete', 'Delete')}</div>
{data?.map((p: any) => (
<Fragment key={p.id}>
<div className="flex flex-col justify-center">{p.name}</div>
<div className="flex flex-col justify-center">{p.url}</div>
<div className="flex flex-col justify-center" data-sentry-mask>{p.name}</div>
<div className="flex flex-col justify-center" data-sentry-mask>{p.url}</div>
<div className="flex flex-col justify-center">
<div>
<Button onClick={addWebhook(p)}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
Sentry.browserTracingIntegration(),
Sentry.browserProfilingIntegration(),
Sentry.replayIntegration({
maskAllText: true,
maskAllText: false,
maskAllInputs: true,
blockAllMedia: true,

// Manual Masking
mask: ['.sentry-mask', '[data-sentry-mask]'],
unmask: ['.sentry-unmask', '[data-sentry-unmask]'],
}),
Sentry.feedbackIntegration({
// Disable the injection of the default widget
Expand Down
2 changes: 1 addition & 1 deletion libraries/react-shared-libraries/src/toaster/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion libraries/react-shared-libraries/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
"path": "./tsconfig.lib.json"
}
]
}
}
Loading