diff --git a/client/public/site.webmanifest b/client/public/site.webmanifest index b29fd0a..59dd698 100644 --- a/client/public/site.webmanifest +++ b/client/public/site.webmanifest @@ -4,14 +4,14 @@ "description": "AI-powered email sorting for maximum productivity", "icons": [ { - "src": "/favicon-192x192.png", - "sizes": "192x192", - "type": "image/png" + "src": "/favicon.svg", + "sizes": "any", + "type": "image/svg+xml" }, { - "src": "/favicon-512x512.png", - "sizes": "512x512", - "type": "image/png" + "src": "/apple-touch-icon.svg", + "sizes": "180x180", + "type": "image/svg+xml" } ], "theme_color": "#22c55e", diff --git a/client/src/App.tsx b/client/src/App.tsx index f3f4bec..e195c6b 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -18,12 +18,6 @@ import { Imprint } from '@/pages/Imprint' // Initialize analytics on app startup initAnalytics() -// #region agent log -try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'App.tsx:18',message:'App.tsx loaded, importing Settings',data:{},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'B'})}).catch(()=>{}); -} catch(e) {} -// #endregion - // Loading spinner component function LoadingSpinner() { return ( @@ -70,12 +64,6 @@ function AppRoutes() { // Track page views on route changes usePageTracking() - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'App.tsx:64',message:'AppRoutes rendering',data:{pathname:window.location.pathname},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'D'})}).catch(()=>{}); - } catch(e) {} - // #endregion - return ( {/* Public pages */} diff --git a/client/src/main.tsx b/client/src/main.tsx index 1dc6139..bef5202 100644 --- a/client/src/main.tsx +++ b/client/src/main.tsx @@ -3,12 +3,6 @@ import { createRoot } from 'react-dom/client' import './index.css' import App from './App.tsx' -// #region agent log -try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'main.tsx:8',message:'App starting',data:{rootExists:!!document.getElementById('root')},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'C'})}).catch(()=>{}); -} catch(e) {} -// #endregion - createRoot(document.getElementById('root')!).render( diff --git a/client/src/pages/Settings.tsx b/client/src/pages/Settings.tsx index 58c7f3f..38c3186 100644 --- a/client/src/pages/Settings.tsx +++ b/client/src/pages/Settings.tsx @@ -80,23 +80,11 @@ interface Subscription { } export function Settings() { - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:52',message:'Settings component rendering',data:{},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'A'})}).catch(()=>{}); - } catch(e) {} - // #endregion - const { user } = useAuth() const navigate = useNavigate() const [searchParams, setSearchParams] = useSearchParams() const activeTab = (searchParams.get('tab') as TabType) || 'profile' - - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:60',message:'Settings state initialized',data:{hasUser:!!user,activeTab},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'A'})}).catch(()=>{}); - } catch(e) {} - // #endregion const [loading, setLoading] = useState(false) const [saving, setSaving] = useState(false) const [message, setMessage] = useState<{ type: 'success' | 'error'; text: string } | null>(null) @@ -192,11 +180,6 @@ export function Settings() { } const loadData = async () => { - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:84',message:'loadData called',data:{hasUser:!!user,userId:user?.$id},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'E'})}).catch(()=>{}); - } catch(e) {} - // #endregion if (!user?.$id) return setLoading(true) @@ -265,18 +248,7 @@ export function Settings() { enabled: enabledCategories.includes(cat.key), })) setCategories(updatedCategories) - - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:122',message:'loadData success',data:{accountsCount:accountsRes.data?.length||0,categoriesCount:updatedCategories.length},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'E'})}).catch(()=>{}); - } catch(e) {} - // #endregion } catch (error) { - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:123',message:'loadData error',data:{errorMessage:error instanceof Error?error.message:String(error),errorStack:error instanceof Error?error.stack:undefined},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'E'})}).catch(()=>{}); - } catch(e) {} - // #endregion console.error('Failed to load settings data:', error) } finally { setLoading(false) @@ -570,12 +542,6 @@ export function Settings() { { id: 'privacy' as TabType, label: 'Privacy & Security', icon: Lock }, ] - // #region agent log - try { - fetch('http://127.0.0.1:7242/ingest/4fa7412d-6f79-4871-8728-29c37c9e5772',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'Settings.tsx:243',message:'Settings render starting',data:{loading,activeTab,hasUser:!!user},timestamp:Date.now(),sessionId:'debug-session',runId:'run1',hypothesisId:'A'})}).catch(()=>{}); - } catch(e) {} - // #endregion - return (