experiments in a post-browser web
10
fork

Configure Feed

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

put diagnostics in settings

+14
+14
app/settings/settings.js
··· 1093 1093 }); 1094 1094 sidebarNav.appendChild(datastoreNav); 1095 1095 1096 + // Add Diagnostic link 1097 + const diagnosticNav = document.createElement('a'); 1098 + diagnosticNav.className = 'nav-item'; 1099 + diagnosticNav.textContent = 'Diagnostic'; 1100 + diagnosticNav.style.cursor = 'pointer'; 1101 + diagnosticNav.addEventListener('click', () => { 1102 + api.window.open('peek://app/diagnostic.html', { 1103 + width: 900, 1104 + height: 700, 1105 + key: 'diagnostic-tool' 1106 + }); 1107 + }); 1108 + sidebarNav.appendChild(diagnosticNav); 1109 + 1096 1110 // Add Quit button at the very bottom 1097 1111 const quitBtn = document.createElement('button'); 1098 1112 quitBtn.textContent = 'Quit';