#Note/Permanent #Note/Tool ## Why The Orphan Permanent Notes Dashboard serves as a tool to identify and manage permanent notes in the digital garden that have not yet been integrated into any [[Hub Notes|hub notes]]. These orphan notes represent untapped potential for knowledge expansion and integration. ## Functionality - **Identification**: The dashboard automatically identifies and lists all permanent notes that are not currently linked to any hub notes. - **Categorization**: Notes can be categorized based on themes, subjects, or relevance to potential new hub topics. - **Opportunity Recognition**: By presenting these orphan notes, the dashboard highlights areas where new hub notes could be developed, encouraging the expansion and interconnection of ideas within the digital garden. >[!warning] The dashboard code runs locally and renders the list of orphan permanent notes ```dataviewjs // This is the root page, change it if needed let page = "Welcome to Sparrow's Digital Garden 🌱"; let pages = new Set(); // Find all permanent notes contributs to the root let stack = [page]; while (stack.length > 0) { let elem = stack.pop(); let meta = dv.page(elem); if (!meta) continue; for (let outlink of meta.file.outlinks.concat(meta.file.outlinks).array()) { console.log(outlink); if (pages.has(outlink.path)) continue; pages.add(outlink.path); stack.push(outlink.path); } } let p_note_tag = "#Note/Permanent" let linked_p_notes = Array.from(pages) .filter(p => dv.page(p) != null && dv.page(p).file.etags.includes(p_note_tag)) let p_notes = dv.pages(p_note_tag).map(page => page.file.path) // List of folders to exclude let excludeFolders = ["Private", "Draft"]; let orphan_p_notes = p_notes.filter(p => !linked_p_notes.includes(p) && !excludeFolders.some(folder => p.includes(folder))); dv.header(2, 'Orphan Permanent Notes') dv.list(orphan_p_notes) ```