diff --git a/package.json b/package.json
index c2ff4e9..7b6a91f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "my-weekly-todo-list",
- "version": "1.111.2",
+ "version": "1.111.3",
"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/GridTaskBlock.tsx b/src/components/GridTaskBlock.tsx
index d2e8fe3..a5cdcc8 100644
--- a/src/components/GridTaskBlock.tsx
+++ b/src/components/GridTaskBlock.tsx
@@ -267,10 +267,10 @@ export function GridTaskBlock({
const stageColor = task.kanbanStage ? kanbanStages.find(s => s.id === task.kanbanStage)?.color : null;
if (stageColor) return `4px solid ${stageColor}`;
if (task.project?.color) return `4px solid ${task.project.color}`;
- return (isNotesOpen || isSubTasksOpen || isResizing) ? `1px solid ${darkMode ? "#404040" : "#e0e0e0"}` : "none";
+ return `4px solid transparent`;
})(),
borderRadius: (isNotesOpen || isSubTasksOpen || isResizing) ? "4px" : "0",
- padding: (task.kanbanStage && kanbanStages.some(s => s.id === task.kanbanStage)) || task.project?.color ? "2px 4px 2px 8px" : "2px 4px",
+ padding: weatherEnabled ? "2px 30px 2px 8px" : "2px 4px 2px 8px",
boxShadow: (isNotesOpen || isSubTasksOpen || isResizing) ? "0 1px 3px rgba(0,0,0,0.05)" : "none",
display: "flex",
flexDirection: "column",
@@ -496,50 +496,41 @@ export function GridTaskBlock({
)}
- {/* Rolling indicator */}
- {task.isRolling && !task.completed && (
-
+
+
+ )}
+ {editingTaskId !== task.id && (() => {
+ const rolling = task.isRolling && !task.completed;
+ const provider = task.externalProvider || (task.externalId?.startsWith("synology::") ? "synology" : null);
+ if (!rolling && !provider) return null;
+ const iconMap: Record = {
+ google: { icon: faGoogle, color: "#4285F4", label: "Google" },
+ outlook: { icon: faMicrosoft, color: "#0078D4", label: "Microsoft" },
+ apple: { icon: faApple, color: "#555", label: "Apple" },
+ synology: { icon: faServer, color: "#007AFF", label: "Synology" },
+ };
+ return (
+
+ {rolling && (
+
)}
- {(() => {
- const provider = task.externalProvider
- || (task.externalId?.startsWith("synology::") ? "synology" : null);
- if (!provider) return null;
- const iconMap: Record = {
- google: { icon: faGoogle, color: "#4285F4", label: "Google" },
- outlook: { icon: faMicrosoft, color: "#0078D4", label: "Microsoft" },
- apple: { icon: faApple, color: "#555", label: "Apple" },
- synology: { icon: faServer, color: "#007AFF", label: "Synology" },
- };
+ {provider && (() => {
const info = iconMap[provider];
if (!info) return null;
return (
-
+
);
})()}
-
- )}
+ );
+ })()}