ui opti
This commit is contained in:
parent
623d3f90bf
commit
4d00be63e7
|
|
@ -1 +1 @@
|
|||
1.0.50
|
||||
1.0.52
|
||||
|
|
@ -64,7 +64,6 @@
|
|||
const text = noteText.trim();
|
||||
if (!text) return false;
|
||||
createHistoryEntry(topic.id, today(), text);
|
||||
updateTopic(topic.id, { isNew: false });
|
||||
noteText = "";
|
||||
noteEditor?.clear();
|
||||
return true;
|
||||
|
|
@ -72,10 +71,12 @@
|
|||
|
||||
function handleNote() {
|
||||
saveNote();
|
||||
updateTopic(topic.id, { isNew: false });
|
||||
processedTopicIds.add(topic.id);
|
||||
}
|
||||
|
||||
function handleSkip() {
|
||||
updateTopic(topic.id, { isNew: false });
|
||||
processedTopicIds.add(topic.id);
|
||||
}
|
||||
|
||||
|
|
@ -83,12 +84,13 @@
|
|||
const dateInput = prompt("Datum (YYYY-MM-DD):", "2026-06-01");
|
||||
if (!dateInput) return;
|
||||
saveNote();
|
||||
updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed" });
|
||||
updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed", isNew: false });
|
||||
processedTopicIds.add(topic.id);
|
||||
}
|
||||
|
||||
function handleDone() {
|
||||
saveNote();
|
||||
updateTopic(topic.id, { isNew: false });
|
||||
archiveTopic(topic.id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue