feat(widgets): add clock, daily summary, and quick actions

This commit is contained in:
Codex committed 2026-09-28 11:42:43 +09:00
1 parent 72c4cfd0c2
commit 47fa2896ba
6 files changed
+115 -4

No files matched your search

+3 -2
View File
@@ -68,9 +68,10 @@
document.head.append(style);
function exportData() {
let desktopLayout = null;
let desktopLayout = null, widgetLayout = null;
try { desktopLayout = JSON.parse(localStorage.getItem('lifeos_window_layout_v1') || 'null'); } catch {}
const data = { app: 'Life OS', version: APP_VERSION, schemaVersion: 2, exportedAt: new Date().toISOString(), profile: profile(), memories: mems(), museum: museum(), settings: settings(), system: sys(), desktopLayout };
try { widgetLayout = JSON.parse(localStorage.getItem('lifeos_widget_layout_v1') || 'null'); } catch {}
const data = { app: 'Life OS', version: APP_VERSION, schemaVersion: 2, exportedAt: new Date().toISOString(), profile: profile(), memories: mems(), museum: museum(), settings: settings(), system: sys(), desktopLayout, widgetLayout };
const link = document.createElement('a');
link.href = URL.createObjectURL(new Blob([JSON.stringify(data, null, 2)], { type: 'application/json' }));
link.download = `life-os-backup-${day()}.json`; link.click();