The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
fix: better naming
ddux116d85f734ab
diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelteindex 572c4b32..e5db3bed 100644--- a/frontend/src/routes/+layout.svelte+++ b/frontend/src/routes/+layout.svelte@@ -20,6 +20,7 @@import { setupTraceway } from '@tracewayapp/svelte';import { captureException } from '@tracewayapp/frontend';import * as Tooltip from '$lib/components/ui/tooltip';+ import type { Component } from 'svelte';if (__TRACEWAY_URL__) {setupTraceway({@@ -30,6 +31,9 @@let { children } = $props();let showAddProjectModal = $state(false);let showEditProjectModal = $state(false);+ let CrossSiteNotificationBanner = $state<Component<{ organizationId: number }> | null>(null);++ const bannerOrganizationId = $derived(projectsState.currentProject?.organizationId ?? null);// Track navigation depth for smart back buttonslet lastPathname = '';@@ -56,6 +60,14 @@if (authState.isAuthenticated) {projectsState.loadProjects();}++ import('$billing/cross-site-notification-baner.svelte')+ .then((module) => {+ CrossSiteNotificationBanner = module.default;+ })+ .catch(() => {+ // Billing extension not available - expected for open source builds+ });});function handleLogout() {@@ -166,6 +178,11 @@</div></header><main class="min-w-0 flex-1 p-4">+ {#if CrossSiteNotificationBanner && bannerOrganizationId !== null}+ <div class="mb-4">+ <CrossSiteNotificationBanner organizationId={bannerOrganizationId} />+ </div>+ {/if}{@render children()}</main></Sidebar.SidebarInset>diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelteindex 34c6d30c..cb378913 100644--- a/frontend/src/routes/+page.svelte+++ b/frontend/src/routes/+page.svelte@@ -53,7 +53,6 @@} from '$lib/utils/framework-code';import { toast } from 'svelte-sonner';import { goto } from '$app/navigation';- import type { Component } from 'svelte';const timezone = $derived(getTimezone());@@ -106,23 +105,6 @@let loading = $state(true);let error = $state('');let errorStatus = $state<number>(0);- let PlanLimitBanner = $state<Component<{ organizationId: number }> | null>(null);-- async function loadPlanLimitBanner() {- try {- // @ts-ignore - $billing alias only exists when billing extension is available- const module = await import('$billing/plan-limit-banner.svelte');- PlanLimitBanner = module.default;- } catch {- // Billing extension not available - this is expected for open source builds- }- }-- $effect(() => {- loadPlanLimitBanner();- });-- const bannerOrganizationId = $derived(projectsState.currentProject?.organizationId ?? null);const STARRED_WINDOW_MS = 24 * 60 * 60 * 1000;let starredFromUTC = $state(new Date(Date.now() - STARRED_WINDOW_MS).toISOString());@@ -368,10 +350,6 @@ service:</script><div class="space-y-4">- {#if PlanLimitBanner && bannerOrganizationId !== null}- <PlanLimitBanner organizationId={bannerOrganizationId} />- {/if}-{#if error && !loading}<ErrorDisplaystatus={errorStatus === 404