From e30d6a1540dd5325fed7709d75855bc7c03a4449 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Fri, 3 Apr 2026 00:20:07 +0200 Subject: [PATCH] Show diff summary in timeline marker tooltip --- js/snapshot_manager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/snapshot_manager.js b/js/snapshot_manager.js index 5ff525b..45cf3d6 100644 --- a/js/snapshot_manager.js +++ b/js/snapshot_manager.js @@ -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;