Show diff summary in timeline marker tooltip

This commit is contained in:
2026-04-03 00:20:07 +02:00
parent c11de7f7c3
commit e30d6a1540
+2
View File
@@ -3771,6 +3771,8 @@ function buildTimeline() {
if (isLatest) marker.classList.add("snap-timeline-marker-latest");
let tip = `${rec.label}${formatTime(rec.timestamp)}\n${iconInfo.label}`;
const diffLines = formatCaptureDiffLines(rec.captureDiff);
if (diffLines.length > 0) tip += `\n${diffLines.join("\n")}`;
if (rec.notes) tip += `\n${rec.notes}`;
marker.title = tip;