From f8c816dc38dccadce496f4823bc6a7685db67fec Mon Sep 17 00:00:00 2001 From: mac Date: Tue, 16 Jun 2026 16:01:54 +0800 Subject: [PATCH] =?UTF-8?q?v2.0.8=20=E2=80=94=20=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=A1=8C=E6=B7=BB=E5=8A=A0=E6=8B=96=E6=8B=BD=E6=89=8B=E6=9F=84?= =?UTF-8?q?=E5=9B=BE=E6=A0=87(grip-vertical)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/app.js | 2 +- static/styles.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index 332860d..d0d578c 100644 --- a/static/app.js +++ b/static/app.js @@ -300,7 +300,7 @@ function renderProjectTasks(projectId) { ${phases.map((phase) => { const pt = tasks.filter((t) => t.phase === phase); if (!pt.length) return ""; - return `
${phase}${pt.length}
${pt.map((t) => `
${t.task}${t.notes ? `${t.notes}` : ""}${t.blockers ? `⚠ ${t.blockers}` : ""}
${t.owner || ""}${t.due_date || ""}
`).join("")}
`; + return `
${phase}${pt.length}
${pt.map((t) => `
${t.task}${t.notes ? `${t.notes}` : ""}${t.blockers ? `⚠ ${t.blockers}` : ""}
${t.owner || ""}${t.due_date || ""}
`).join("")}
`; }).join("")}
diff --git a/static/styles.css b/static/styles.css index e6f942e..816ccdd 100644 --- a/static/styles.css +++ b/static/styles.css @@ -554,6 +554,9 @@ td { .task-row:hover { background: #f8fafc; } .task-dot { display: flex; color: #cbd5e1; flex-shrink: 0; cursor: pointer; } .task-dot:hover { color: #6366f1; } +.task-grip { display: flex; color: #cbd5e1; flex-shrink: 0; cursor: grab; } +.task-grip:hover { color: #94a3b8; } +.task-grip:active { cursor: grabbing; } .task-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .task-name { color: #1e293b; font-size: 13px; } .task-desc { color: #94a3b8; font-size: 12px; word-wrap: break-word; overflow-wrap: break-word; }