Small gaps: pantry flags in the meal plan, birthday and anniversary notifications, download notes and highlights

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-27 10:16:26 -04:00
1 parent 342c8af747
commit b2b772941b
9 files changed
+46 -4

No files matched your search

+6
View File
@@ -67,3 +67,9 @@ function confirmSheet(title, sub, okLabel, onOk) {
el.querySelector('#sx').onclick = closeSheet;
el.querySelector('#so').onclick = () => { closeSheet(); onOk(); };
}
/** Save text as a file on this device (a Markdown export of notes and highlights, say). */
function downloadText(name, text, type = 'text/markdown') {
const a = document.createElement('a'), url = URL.createObjectURL(new Blob([text], { type: type + ';charset=utf-8' }));
a.href = url; a.download = name; document.body.appendChild(a); a.click(); a.remove(); setTimeout(() => URL.revokeObjectURL(url), 4000);
}