tray-hintergrundbetrieb, favoriten, neustart-fix

- Desktop-App läuft beim Schließen als Symbol neben der Uhr weiter
  (automatisches Backup auch ohne Fenster, Windows-Hinweise), nur eine
  Instanz, optional mit Windows starten (--background)
- Favoriten: Stern an Projekten, eigene Reihe in der einfachen Ansicht,
  immer zuerst sortiert, Filter "Favoriten"
- Fix: geerbtes DASHBOARD_WORKER ließ ein aus dem Dashboard gestartetes
  Dashboard ohne Supervisor laufen ("Neu starten" beendete es)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 21:18:02 +01:00
parent d6f5b1672c
commit f2d0cd1df9
6 changed files with 313 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ async function create(opts) {
const tasks = Array.isArray(m.tasks) ? m.tasks.filter((t) => !t?.done) : []
const note = `Klon von „${path.basename(src)}“ (${now.slice(0, 10)}).`
fs.writeFileSync(path.join(dest, STATUS_FILE), JSON.stringify({
...m, status: 'idea', itch: '', tasks,
...m, status: 'idea', itch: '', favorite: false, tasks,
notes: m.notes ? `${note}\n\n${m.notes}` : note,
updatedAt: now,
}, null, 2))