A tool for observing comind activity. https://comind.stream
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: Add diagnostic logs for API readiness

+5
+5
app.js
··· 1 1 document.addEventListener('DOMContentLoaded', () => { 2 + console.log("DOMContentLoaded event fired for app.js"); // New diagnostic log 3 + 2 4 const initializeApp = () => { 3 5 // Main application code 4 6 let currentCursor = null; ··· 156 158 }; 157 159 158 160 const checkApiReady = () => { 161 + console.log("checkApiReady called. Checking for window.AtprotoApi and window.AtprotoApi.AtpAgent..."); // New diagnostic log 159 162 if (window.AtprotoApi && window.AtprotoApi.AtpAgent) { 163 + console.log("AtprotoApi is ready, calling initializeApp."); // New diagnostic log 160 164 initializeApp(); 161 165 } else { 166 + console.log("AtprotoApi not ready, polling again in 50ms. window.AtprotoApi:", window.AtprotoApi); // New diagnostic log 162 167 setTimeout(checkApiReady, 50); // Poll every 50ms 163 168 } 164 169 };