diff --git a/package.json b/package.json index d8e386b..c5c01cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.108.0", + "version": "1.108.1", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 2b0bb10..d76e0b3 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -10240,10 +10240,17 @@ function TaskItem({ ) : ( <> - {/* Someday: fixed-width project icon column for alignment */} - {isSomeday && showProjectIcons && ( + {/* Someday: fixed-width icon column — project icon, priority badge, delegation, or empty placeholder */} + {isSomeday && ( - {task.project && } + {showProjectIcons && task.project + ? + : (() => { + if (showPriorityIcons) { const pb = getPriorityBadge(task, priorityStyle, 11); if (pb) return pb.node; } + if (task.delegatedTo) return task.delegatedTo === "AI" ? : ; + return null; + })() + } )} {/* Someday: checkbox outside text span so it aligns in its own column */} @@ -10299,7 +10306,8 @@ function TaskItem({ flex: 1, }} > - {showPriorityIcons && (() => { + {/* Non-someday only: priority/delegation icons inline. Someday shows them in the leading column. */} + {!isSomeday && showPriorityIcons && (() => { const pb = getPriorityBadge(task, priorityStyle, 11); return pb ? ( @@ -10307,7 +10315,7 @@ function TaskItem({ ) : null; })()} - {task.delegatedTo && ( + {!isSomeday && task.delegatedTo && (