MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / showGuide

Function showGuide

guide.js:183–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183// Opens the guide dialog starting at the first page.
184function showGuide() {
185 currentPage = 0;
186 updateGuide();
187 const guideDialog = document.getElementById("quickstart-guide");
188 if (guideDialog) {
189 guideDialog.showModal();
190 // Add styles to ensure dialog has no black background
191 guideDialog.style.backgroundColor = 'transparent';
192 guideDialog.style.background = 'none';
193 // Focus the dialog for keyboard navigation
194 guideDialog.focus();
195 } else {
196 console.error('Guide dialog not found');
197 }
198}
199
200// Closes the guide dialog.

Callers 3

guide.jsFile · 0.85
createServerMenuBarFunction · 0.85
renderer.jsFile · 0.85

Calls 1

updateGuideFunction · 0.85

Tested by

no test coverage detected