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();
|
const text = noteText.trim();
|
||||||
if (!text) return false;
|
if (!text) return false;
|
||||||
createHistoryEntry(topic.id, today(), text);
|
createHistoryEntry(topic.id, today(), text);
|
||||||
updateTopic(topic.id, { isNew: false });
|
|
||||||
noteText = "";
|
noteText = "";
|
||||||
noteEditor?.clear();
|
noteEditor?.clear();
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -72,10 +71,12 @@
|
||||||
|
|
||||||
function handleNote() {
|
function handleNote() {
|
||||||
saveNote();
|
saveNote();
|
||||||
|
updateTopic(topic.id, { isNew: false });
|
||||||
processedTopicIds.add(topic.id);
|
processedTopicIds.add(topic.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleSkip() {
|
function handleSkip() {
|
||||||
|
updateTopic(topic.id, { isNew: false });
|
||||||
processedTopicIds.add(topic.id);
|
processedTopicIds.add(topic.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -83,12 +84,13 @@
|
||||||
const dateInput = prompt("Datum (YYYY-MM-DD):", "2026-06-01");
|
const dateInput = prompt("Datum (YYYY-MM-DD):", "2026-06-01");
|
||||||
if (!dateInput) return;
|
if (!dateInput) return;
|
||||||
saveNote();
|
saveNote();
|
||||||
updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed" });
|
updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed", isNew: false });
|
||||||
processedTopicIds.add(topic.id);
|
processedTopicIds.add(topic.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleDone() {
|
function handleDone() {
|
||||||
saveNote();
|
saveNote();
|
||||||
|
updateTopic(topic.id, { isNew: false });
|
||||||
archiveTopic(topic.id);
|
archiveTopic(topic.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue