1<!doctype html> 2<html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 <link rel="icon" href="/_genesis/assets/favicon" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 7 <title>Fitness Flow Tracker â Built with Taskade</title> 8 9
9<script> 10 // Pre-React error catch-all. Handles two scenarios: 11 // 1. React never mounts (syntax error, import crash) â spinner is still in #root 12 // 2. React mounted, crashed without ErrorBoundary, and unmounted â #root is empty 13 (function() { 14 var esc = function(s) { return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); }; 15 var errorHtml = function(msg) { 16 return '<div style="position:fixed;inset:0;background:#000;padding:2rem;font-family:system-ui,sans-serif;color:#fff;overflow:auto">' + 17 '<div style="max-width:600px;margin:0 auto">' + 18 '<h2 style="margin:0 0 0.5rem;font-size:1.25rem">Something went wrong</h2>' + 19 '<p style="color:#999;margin:0 0 1rem;font-size:0.95rem">The app failed to load. Try refreshing the page.</p>' + 20 '<pre style="background:#1a1a1a;padding:1rem;border-radius:8px;overflow:auto;font-size:0.8rem;color:#f87171;margin:0;white-space:pre-wrap;word-break:break-word">' + 21 esc(msg) + '</pre></div></div>'; 22 }; 23 var reported = false; 24 function reportError(code, msg, stack) { 25 if (reported) return; 26 reported = true; 27 try { 28 var logger = window.__TASKADE_APP_LIFECYCLE_LOGGER__; 29 if (typeof logger?.log === 'function') { logger.log({ level: 'error', message: 'Runtime Error', data: { code: code, message: msg, stack: stack || '' } }); } 30 } catch (e) { /* Swallow â never block the fallback error UI */ } 31 } 32 function showError(code, msg, stack) { 33 var root = document.getElementById('root'); 34 if (!root) return; 35 var spinner = root.querySelector('.genesis__spinner-container'); 36 if (spinner) { 37 // Scenario 1: React never mounted â replace spinner 38 reportError('error.fatal', msg, stack); 39 spinner.outerHTML = errorHtml(msg); 40 } else if (!root.childElementCount) { 41 // Scenario 2: React crashed and unmounted â #root is empty 42 reportError('error.fatal', msg, stack); 43 root.innerHTML = errorHtml(msg); 44 } else { 45 // React is running fine â don't interfere with the DOM, 46 // but still report with the original code for diagnostics 47 reportError(code, msg, stack); 48 } 49 } 50 window.addEventListener('error', function(e) { 51 var msg = e.message || String(e.error) || 'Unknown error'; 52 var stack = e.error && e.error.stack ? e.error.stack : (e.filename ? e.filename + ':' + e.lineno + ':' + e.colno : ''); 53 showError('error.runtime_error', msg, stack); 54 }); 55 window.addEventListener('unhandledrejection', function(e) { 56 var msg = e.reason ? String(e.reason) : 'Unhandled promise rejection'; 57 var stack = e.reason && e.reason.stack ? e.reason.stack : ''; 58 showError('error.unhandled_promise', msg, stack); 59 }); 60 })(); 61 </script>
61 62 <style> 63 /* Genesis spinner styles */ 64 .genesis__spinner-container { 65 position: fixed; 66 inset: 0; 67 background: #000000; 68 display: flex; 69 align-items: center; 70 justify-content: center; 71 z-index: 9999; 72 } 73 74 .genesis__spinner-ring { 75 width: 20px; 76 height: 20px; 77 border: 1.5px solid transparent; 78 border-top: 1.5px solid rgba(255, 255, 255, 0.6); 79 border-radius: 50%; 80 animation: genesis__spin 1s linear infinite; 81 } 82 83 @keyframes genesis__spin { 84 0% { transform: rotate(0deg); } 85 100% { transform: rotate(360deg); } 86 } 87 88 /* Respect reduced motion preferences */ 89 @media (prefers-reduced-motion: reduce) { 90 .genesis__spinner-ring { 91 animation: none; 92 border-top-color: rgba(255, 255, 255, 0.9); 93 } 94 } 95 </style> 96 97 98
99<script type="module" src="/assets/main-7LKGFCQK.js"></script>
vendor: 1 bytes, line 99
99
100<script type="module" src="/chunks/highlighted-body-OFNGDK62-BZ43RBXX.js"></script>
vendor: 1 bytes, line 100
100
101<script type="module" src="/chunks/mermaid-GHXKKRXX-5TRTOETT.js"></script>
vendor: 1 bytes, line 101
101
102<script type="module" src="/chunks/chunk-2HT7LDPA.js"></script>
102 103 104 105<link rel="stylesheet" href="/assets/main-NMPXDT4X.css" /> 106 <meta charset="utf-8" /><meta name="language" content="en-US" /><meta name="robots" content="index" /><meta name="author" content="Taskade" /><link rel="icon" sizes="32x32" href="/_genesis/assets/favicon" /><link rel="apple-touch-icon" sizes="180x180" href="/_genesis/assets/favicon" /><meta name="title" content="Fitness Flow Tracker â Built with Taskade" /><meta property="og:title" content="Fitness Flow Tracker â Built with Taskade" /><meta name="twitter:title" content="Fitness Flow Tracker â Built with Taskade" /><meta name="description" content="A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and workflows move." /><meta property="og:description" content="A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and workflows move." /><meta name="twitter:description" content="A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and workflows move." /><meta property="og:type" content="website" /><meta property="og:url" content="https://fitness-flow-tracker-1039.taskade.app" /><meta property="og:site_name" content="Taskade" /><meta property="og:image" content="https://fitness-flow-tracker-1039.taskade.app/_internal/screenshot" /><meta property="og:image:alt" content="Fitness Flow Tracker â Built with Taskade - A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and w..." /><meta property="og:locale" content="en_US" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@taskade" /><meta name="twitter:creator" content="@taskade" /><meta name="twitter:image" content="https://fitness-flow-tracker-1039.taskade.app/_internal/screenshot" /><meta name="twitter:image:alt" content="Fitness Flow Tracker â Built with Taskade - A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and w..." /><meta name="format-detection" content="telephone=no" /><meta name="mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><meta name="apple-mobile-web-app-title" content="Fitness Flow Tracker â Built with Taskade" /><meta name="application-name" content="Taskade" /><link rel="canonical" href="https://fitness-flow-tracker-1039.taskade.app" />
106<script type="application/ld+json"> 107 { 108 "@context": "https://schema.org", 109 "@type": "WebSite", 110 "name": "Taskade", 111 "alternateName": "Fitness Flow Tracker â Built with Taskade", 112 "description": "A living app built with Taskade Genesis. One prompt, one app. Projects remember, agents learn, and workflows move.", 113 "image": "https://fitness-flow-tracker-1039.taskade.app/_internal/screenshot", 114 "url": "https://fitness-flow-tracker-1039.taskade.app", 115 "author": { 116 "@type": "Organization", 117 "name": "Taskade" 118 }, 119 "publisher": { 120 "@type": "Organization", 121 "name": "Taskade", 122 "url": "https://fitness-flow-tracker-1039.taskade.app", 123 "logo": { 124 "@type": "ImageObject", 125 "url": "https://fitness-flow-tracker-1039.taskade.app/_internal/screenshot" 126 } 127 } 128 } 129</script>
129<script defer src="/_genesis/vendor/flock.min.js" data-proxy-url="/_genesis/api/events" data-tenant-id="rxed6spljree4p3s:default" data-domain="fitness-flow-tracker-1039.taskade.app"></script>
129<script defer src="/_genesis/vendor/scroll-guard.js"></script>
129</head> 130 <body>
130<script> 131 (function() { 132 if (window.__genesisErrorCatchAll) return; 133 window.__genesisErrorCatchAll = true; 134 var esc = function(s) { return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); }; 135 var errorHtml = function(msg, id) { 136 return '<div style="position:fixed;inset:0;background:#000;padding:2rem;font-family:system-ui,sans-serif;color:#fff;overflow:auto">' + 137 '<div style="max-width:600px;margin:0 auto">' + 138 '<h2 style="margin:0 0 0.5rem;font-size:1.25rem">Something went wrong</h2>' + 139 '<p style="color:#999;margin:0 0 1rem;font-size:0.95rem">The app failed to load. Try refreshing the page.</p>' + 140 '<pre style="background:#1a1a1a;padding:1rem;border-radius:8px;overflow:auto;font-size:0.8rem;color:#f87171;margin:0;white-space:pre-wrap;word-break:break-word">' + 141 esc(msg) + '<\/pre>' + 142 '<p style="color:#666;margin:1rem 0 0;font-size:0.75rem">Error ID: <code>' + esc(id) + '<\/code><\/p>' + 143 '<\/div><\/div>'; 144 }; 145 var reported = false; 146 var errorId = null; 147 function getErrorId() { 148 if (errorId != null) return errorId; 149 try { 150 if (typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function') { errorId = crypto.randomUUID().replace(/-/g, ''); return errorId; } 151 } catch (e) { /* Fall through to the time+random id below */ } 152 errorId = Date.now().toString(36) + Math.random().toString(36).slice(2, 12); 153 return errorId; 154 } 155 function reportError(code, msg, stack) { 156 if (reported) return; 157 reported = true; 158 try { 159 var logger = window.__TASKADE_APP_LIFECYCLE_LOGGER__; 160 if (typeof logger?.log === 'function') { 161 logger.log({ level: 'error', message: 'Runtime Error', data: { code: code, message: msg, stack: stack || '' } }); 162 return; 163 } 164 // Published: no logger, so beacon to the Taskade gateway instead of 165 // dropping the crash on the floor (#27626). Relative path â the 166 // Director proxy injects the gateway token server-side. Once per page 167 // session (the latch above) so a crash loop cannot flood the sink. 168 fetch('/api/taskade/telemetry/errors', { 169 method: 'POST', 170 headers: { 'Content-Type': 'application/json' }, 171 body: JSON.stringify({ 172 errorId: getErrorId(), 173 code: code, 174 message: String(msg || 'Unknown error').slice(0, 4000), 175 stack: String(stack || '').slice(0, 20000), 176 path: location.pathname.slice(0, 1000),
177 userAgent: navigator.userAgent.slice(0, 512) 178 }), 179 keepalive: true 180 // Default same-origin credentials: a password-protected app gates 181 // /api/taskade/* on its signed access cookie, so omitting them 182 // would redirect the beacon to the password page. 183 }).catch(function() {}); 184 } catch (e) { /* Swallow â never block the fallback error UI */ } 185 } 186 function showError(code, msg, stack) { 187 var root = document.getElementById('root'); 188 if (!root) return; 189 var spinner = root.querySelector('.genesis__spinner-container'); 190 if (spinner) { 191 // Scenario 1: React never mounted â replace spinner 192 reportError('error.fatal', msg, stack); 193 spinner.outerHTML = errorHtml(msg, getErrorId()); 194 } else if (!root.childElementCount) { 195 // Scenario 2: React crashed and unmounted â #root is empty 196 reportError('error.fatal', msg, stack); 197 root.innerHTML = errorHtml(msg, getErrorId()); 198 } else { 199 // React is running fine â don't interfere with the DOM, 200 // but still report with the original code for diagnostics 201 reportError(code, msg, stack); 202 } 203 } 204 window.addEventListener('error', function(e) { 205 var msg = e.message || String(e.error) || 'Unknown error'; 206 var stack = e.error && e.error.stack ? e.error.stack : (e.filename ? e.filename + ':' + e.lineno + ':' + e.colno : ''); 207 showError('error.runtime_error', msg, stack); 208 }); 209 window.addEventListener('unhandledrejection', function(e) { 210 var msg = e.reason ? String(e.reason) : 'Unhandled promise rejection'; 211 var stack = e.reason && e.reason.stack ? e.reason.stack : ''; 212 showError('error.unhandled_promise', msg, stack); 213 }); 214 // A dead <img> degrades to a neutral placeholder instead of painting its 215 // raw alt string across the page (#27730) â the symptom half of the 216 // fabricated-hot-link fix, and the only half that helps an ALREADY 217 // published app, whose images can rot long after generation. 218 // 219 // Resource load errors do not bubble, so they reach window only in the 220 // CAPTURE phase. That is why neither handler above has ever seen one, and 221 // why this cannot disturb them: a broken image must never render the fatal 222 // error overlay or spend the once-per-session crash beacon. 223 // 224 // Swapping in a 1x1 transparent GIF is what actually stops the alt text â 225 // the element becomes a SUCCESSFUL load, so the browser has no broken image 226 // to caption, while the alt attribute stays for assistive tech. Layout is 227 // untouched: the app's own width/height/aspect classes still apply. The grey 228 // is translucent so it reads correctly on a light or a dark surface without 229 // this script having to know the app's theme. 230 var deadImagePixel = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'; 231 window.addEventListener('error', function(e) { 232 var el = e.target; 233 if (!el || el.tagName !== 'IMG') return; 234 // The swap fires a fresh load on the same element, so the latch is what 235 // keeps a failing data URI from looping. 236 if (el.getAttribute('data-genesis-image-fallback') !== null) return; 237 el.setAttribute('data-genesis-image-fallback', ''); 238 el.removeAttribute('srcset'); 239 el.src = deadImagePixel; 240 el.style.background = 'linear-gradient(135deg, rgba(127,127,127,0.16), rgba(127,127,127,0.28))'; 241 }, true); 242 243 // --------------------------------------------------------------- 244 // Dead env reads (advisory, NOT a failure) 245 // --------------------------------------------------------------- 246 // The bundle's import.meta.env / process.env shims are reporting 247 // Proxies (see genesisEnvBanner.ts). They are value-preserving: a 248 // missing key still reads undefined. This turns that read from invisible 249 // into observable, because a feature gated on one is permanently off and 250 // has no other symptom â the app builds, boots and looks healthy. 251 // 252 // Deliberately WARN, never error. The runtime cannot see whether a call 253 // site has a working fallback, so a correct 254 // VITE_API_BASE_URL || 'https://real' is reported too. Warn keeps it
255 // out of the "Fix with AI" popup set and out of FATAL_LIFECYCLE_CODES, 256 // both of which are error-level allowlists. 257 var deadEnvSeen = {}; 258 var deadEnvSent = 0; 259 // Its OWN budget and latch: sharing the 'reported' latch above would let 260 // an advisory notice spend the one crash report this page session gets. 261 var DEAD_ENV_MAX = 5; 262 function reportDeadEnv(source, key) { 263 try { 264 var signature = source + '.' + key; 265 if (deadEnvSeen[signature] || deadEnvSent >= DEAD_ENV_MAX) return; 266 deadEnvSeen[signature] = 1; 267 deadEnvSent++; 268 var msg = signature + ' is read but a Genesis build never defines it, so the value is ' + 269 'always undefined. If it gates a feature, that feature is permanently off. Route ' + 270 'secret-bearing calls through GenesisClient.proxy() with a secretAlias instead.'; 271 var logger = window.__TASKADE_APP_LIFECYCLE_LOGGER__; 272 if (typeof logger?.log === 'function') { 273 logger.log({ level: 'warn', message: 'Dead env read', data: { code: 'warn.dead_env', message: msg } }); 274 return; 275 } 276 fetch('/api/taskade/telemetry/errors', { 277 method: 'POST', 278 headers: { 279 'Content-Type': 'application/json', 280 // Lets the publish Worker pick the advisory rate-limit bucket 281 // without reading this body. Doing that at the edge means I/O 282 // of unbounded duration ahead of the limiter meant to bound it, 283 // which is the whole class of problem the header avoids. The 284 // origin still classifies from the validated body, so this is a 285 // bucket hint and never the record (#29164). 286 'X-Genesis-Telemetry-Code': 'warn.dead_env' 287 }, 288 body: JSON.stringify({ 289 errorId: 'de' + Date.now().toString(36) + Math.random().toString(36).slice(2, 8), 290 code: 'warn.dead_env', 291 message: msg.slice(0, 4000), 292 path: location.pathname.slice(0, 1000), 293 // The source and key as STRUCTURE, not only inside the prose. 294 // The gateway fingerprints on app + code alone, because this 295 // endpoint's token ships in the bundle and free text from it 296 // cannot be trusted; these two validated fields are how the 297 // key still reaches Sentry, as a tag. 298 // Sliced to the schema's bound like every other field here: the 299 // banner filters the key's SHAPE but not its length, and an 300 // over-long key would fail validation and lose the whole 301 // report rather than just the tag. 302 envSource: source, 303 envKey: String(key).slice(0, 64) 304 }), 305 keepalive: true 306 }).catch(function() {}); 307 } catch (e) { /* Swallow â advisory telemetry must never break an app */ } 308 } 309 window.__genesisReportDeadEnv = reportDeadEnv; 310 // Drain anything the bundle's banner queued. This script is a classic 311 // inline script and the bundle is a deferred module, so in practice the 312 // reporter wins the race; the queue is what makes that not a matter of 313 // luck (and covers an app whose HTML predates this script). 314 try { 315 var queued = window.__genesisDeadEnvQueue; 316 if (queued) { 317 window.__genesisDeadEnvQueue = []; 318 for (var qi = 0; qi < queued.length; qi++) reportDeadEnv(queued[qi][0], queued[qi][1]); 319 } 320 } catch (e) { /* Ignore. */ } 321 })(); 322</script>
322 323 <div id="root"> 324 <div class="genesis__spinner-container"> 325 <div class="genesis__spinner-ring"></div> 326 </div> 327 </div> 328
328<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"8d4254f20c524f6fbf6ecde0b2c89fb4","spa":2}' crossorigin="anonymous"></script>
328 329</body> 330</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.