Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"deep-equal": "^2.2.2",
"dotenv": "^16.3.1",
"echarts": "^5.4.3",
"logrocket": "^5.0.1",
"nanoid": "^4.0.2",
"plausible-tracker": "^0.3.8",
"pretty-bytes": "^6.1.1",
Expand Down
12 changes: 0 additions & 12 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import { user } from '$lib/stores/user';
import { ENV, isCloud } from '$lib/system';
import * as Sentry from '@sentry/svelte';
import LogRocket from 'logrocket';
import { onMount } from 'svelte';
import { onCLS, onFCP, onFID, onINP, onLCP, onTTFB } from 'web-vitals';
import Loading from './loading.svelte';
Expand Down Expand Up @@ -48,17 +47,6 @@
integrations: [new Sentry.BrowserTracing()],
tracesSampleRate: 1.0
});

/**
* LogRocket
*/
if ($consent?.accepted?.analytics && isCloud && isTrackingAllowed()) {
LogRocket.init('rgthvf/appwrite', {
dom: {
inputSanitizer: true
}
});
}
}

/**
Expand Down
6 changes: 0 additions & 6 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@appwrite.io/pink';
import '@appwrite.io/pink-icons';
import 'tippy.js/dist/tippy.css';
import LogRocket from 'logrocket';
import { sdk } from '$lib/stores/sdk';
import { redirect } from '@sveltejs/kit';
import { Dependencies } from '$lib/constants';
Expand All @@ -21,11 +20,6 @@ export const load: LayoutLoad = async ({ depends, url }) => {
try {
const account = await sdk.forConsole.account.get<{ organization?: string }>();

LogRocket.identify(account.$id, {
name: account.name,
email: account.email
});

return {
account,
organizations: await sdk.forConsole.teams.list()
Expand Down