MCPcopy Create free account
hub / github.com/Alfredredbird/CyberKelp / navigateForward

Function navigateForward

script.js:34–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34function navigateForward() {
35 if (navPos >= navStack.length - 1) return;
36 navPos++;
37 navSkip = true;
38 const note = NOTES.find(n => n.id === navStack[navPos]);
39 if (note) loadNote(note);
40 navSkip = false;
41}
42
43// --- Recently viewed (localStorage) --------------------------
44const RECENT_KEY = "cyberkelp_recent";

Callers 1

initKeyboardShortcutsFunction · 0.85

Calls 1

loadNoteFunction · 0.85

Tested by

no test coverage detected