diff --git a/src/components/QuickEntry.tsx b/src/components/QuickEntry.tsx index 4327d50..cb1029e 100644 --- a/src/components/QuickEntry.tsx +++ b/src/components/QuickEntry.tsx @@ -28,7 +28,7 @@ export const QuickEntry: Component = () => { const [tags, setTags] = createSignal([]); const [description, setDescription] = createSignal(""); const [editorInstance, setEditorInstance] = createSignal(null); - const [size, setSize] = createSignal("5"); + const [size, setSize] = createSignal("3"); // Autofill tags based on context when opening createEffect(() => { @@ -237,7 +237,7 @@ export const QuickEntry: Component = () => { setUrgency(""); setTags([]); setDescription(""); - setSize("5"); + setSize("3"); lastParsedTags = []; setDateString(""); setIsOpen(false); diff --git a/src/components/TaskDetail.tsx b/src/components/TaskDetail.tsx index 0a87834..a932e42 100644 --- a/src/components/TaskDetail.tsx +++ b/src/components/TaskDetail.tsx @@ -264,7 +264,7 @@ export const TaskDetail: Component = (props) => {
- value={(props.task.size ?? 5).toString()} + value={(props.task.size ?? 3).toString()} onChange={(val: any) => { const value = typeof val === 'object' ? val?.value : val; if (value) { @@ -282,7 +282,7 @@ export const TaskDetail: Component = (props) => {
- {SIZE_OPTIONS.find(o => o.value === (props.task.size ?? 5).toString())?.label || props.task.size} + {SIZE_OPTIONS.find(o => o.value === (props.task.size ?? 3).toString())?.label || props.task.size}
diff --git a/src/store/index.ts b/src/store/index.ts index 65b1d2b..a9e1b88 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -371,7 +371,7 @@ export const calculateUrgencyFromDate = (dateStr: string): number => { export const getCombinedScore = (task: Task): number => { // 1. Calculate an effective due date by subtracting size hours - const size = task.size ?? 5; // Default size 5 + const size = task.size ?? 3; // Default size 3 const sizeHours = SIZE_HOURS[size] ?? 12; const dueTime = new Date(task.dueDate).getTime(); if (isNaN(dueTime)) return 0; @@ -1143,7 +1143,7 @@ export const addTask = async (title: string, options?: { dueDate?: Date | string const priority = options?.priority ?? 5; const tags = options?.tags ?? ["work"]; const content = options?.content ?? ""; - const size = options?.size ?? 5; + const size = options?.size ?? 3; const tempId = "temp-" + Date.now(); const initialTask: Task = {