Fix: Context menu delete integration with recursive tree, added Created and Edited timestamps in detail panel footer

This commit is contained in:
2026-08-20 14:56:19 +09:00
parent 2913ba1889
commit fc90ca7d0b
4 changed files with 37 additions and 15 deletions
+23 -10
View File
@@ -490,21 +490,34 @@ export function TaskDetail({
)}
</div>
{/* Footer Info: Project Badge & Timestamp */}
<div style={{ fontSize: 11, color: "var(--text-tertiary)", display: "flex", justifyContent: "space-between", alignItems: "center", borderTop: "1px solid var(--border)", paddingTop: 8 }}>
{/* Footer Info: Project Badge, Created & Edited Timestamps */}
<div style={{ fontSize: 11, color: "var(--text-tertiary)", display: "flex", justifyContent: "space-between", alignItems: "center", borderTop: "1px solid var(--border)", paddingTop: 8, flexWrap: "wrap", gap: 6 }}>
{listName && (
<span className="tick-meta-chip" style={{ fontSize: 11, padding: "2px 8px" }}>
📁 {listName}
</span>
)}
<span>
{t("created")}:{" "}
{new Date(task.createdAt).toLocaleDateString(lang === "ko" ? "ko-KR" : lang === "ja" ? "ja-JP" : "en-US", {
year: "numeric",
month: "short",
day: "numeric",
})}
</span>
<div style={{ display: "flex", alignItems: "center", gap: 12, marginLeft: "auto", flexWrap: "wrap" }}>
<span>
{t("created")}:{" "}
{new Date(task.createdAt).toLocaleDateString(lang === "ko" ? "ko-KR" : lang === "ja" ? "ja-JP" : "en-US", {
year: "numeric",
month: "short",
day: "numeric",
})}
</span>
{task.updatedAt && (
<span>
{t("edited")}:{" "}
{new Date(task.updatedAt).toLocaleTimeString(lang === "ko" ? "ko-KR" : lang === "ja" ? "ja-JP" : "en-US", {
month: "short",
day: "numeric",
hour: "2-digit",
minute: "2-digit",
})}
</span>
)}
</div>
</div>
</div>
</aside>