MCPcopy Create free account
hub / github.com/danja/dogalog / loadProgress

Method loadProgress

src/tutorial/tutorialManager.js:19–30  ·  view source on GitHub ↗

* Load progress from localStorage

()

Source from the content-addressed store, hash-verified

17 * Load progress from localStorage
18 */
19 loadProgress() {
20 try {
21 const saved = localStorage.getItem(STORAGE_KEY);
22 if (saved) {
23 const data = JSON.parse(saved);
24 this.currentStep = data.currentStep || 0;
25 this.completed = data.completed || false;
26 }
27 } catch (e) {
28 console.warn('Failed to load tutorial progress:', e);
29 }
30 }
31
32 /**
33 * Save progress to localStorage

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected