diff --git a/package.json b/package.json index 64d7de6..786c452 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.88.1", + "version": "1.88.2", "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 40cf9a0..9cc5970 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -84,6 +84,10 @@ import { Pencil, FileText, ArrowLeftRight, + CalendarClock, + CornerUpRight, + Archive, + Bot, } from "lucide-react"; const stripHtml = (html: string) => html.replace(/<[^>]*>/g, '').trim(); @@ -6240,6 +6244,24 @@ export default function WeeklyView() { className="kanban-card-checkbox" /> )} + {(() => { + const pm = getPriorityMeta(task); + return pm ? ( + + + + ) : null; + })()} + {task.delegatedTo && ( + + {task.delegatedTo === "AI" + ? + : } + + )} = { + A: { Icon: Zap, color: "#ef4444" }, + B: { Icon: CalendarClock, color: "#3b82f6" }, + C: { Icon: Clock, color: "#eab308" }, + D: { Icon: CornerUpRight, color: "#f97316" }, + E: { Icon: Archive, color: "#9ca3af" }, + }; + const m = map[task.priority]; + return m ? { ...m, label: task.priority } : null; + } + return null; +} + function TaskItem({ task, isEditing, @@ -9683,6 +9729,24 @@ function TaskItem({ flex: 1, }} > + {(() => { + const pm = getPriorityMeta(task); + return pm ? ( + + + + ) : null; + })()} + {task.delegatedTo && ( + + {task.delegatedTo === "AI" + ? + : } + + )} {showProjectIcons && task.project && (