From 8c318bdfb5120ccf501ca96c548a556fee3f768d Mon Sep 17 00:00:00 2001 From: Timothy Cardoza Date: Thu, 5 Feb 2026 10:53:47 -0600 Subject: [PATCH] priority and urgency no longer have defaults and require user input when creating a task --- src/components/QuickEntry.tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/components/QuickEntry.tsx b/src/components/QuickEntry.tsx index 4a58348..425178b 100644 --- a/src/components/QuickEntry.tsx +++ b/src/components/QuickEntry.tsx @@ -23,8 +23,8 @@ export const QuickEntry: Component = () => { const [isOpen, setIsOpen] = createSignal(false); const [input, setInput] = createSignal(""); - const [priority, setPriority] = createSignal("5"); - const [urgency, setUrgency] = createSignal("5"); + const [priority, setPriority] = createSignal(""); + const [urgency, setUrgency] = createSignal(""); const [tags, setTags] = createSignal([]); const [description, setDescription] = createSignal(""); const [editorInstance, setEditorInstance] = createSignal(null); @@ -211,8 +211,8 @@ export const QuickEntry: Component = () => { }); setInput(""); - setPriority("5"); - setUrgency("5"); + setPriority(""); + setUrgency(""); setTags([]); setDescription(""); setSize("5"); @@ -281,7 +281,9 @@ export const QuickEntry: Component = () => { {/* Row 1: Priority, Size, Urgency */}
- + value={priority()} onChange={(val) => { @@ -302,7 +304,7 @@ export const QuickEntry: Component = () => {
- {PRIORITY_OPTIONS.find(o => o.value === priority())?.label || priority()} + {PRIORITY_OPTIONS.find(o => o.value === priority())?.label || (priority() === "" ? "Pick Priority" : priority())}
@@ -341,7 +343,9 @@ export const QuickEntry: Component = () => {
- + value={urgency()} onChange={(val) => onUrgencySimpleChange(val)} @@ -359,7 +363,7 @@ export const QuickEntry: Component = () => {
- {URGENCY_OPTIONS.find(o => o.value === urgency())?.label || urgency()} + {URGENCY_OPTIONS.find(o => o.value === urgency())?.label || (urgency() === "" ? "Pick Urgency" : urgency())}