From cd435b78c0d8b64f3e961eb2c31056adb8f03a20 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Sat, 15 Nov 2025 12:15:30 -0800 Subject: [PATCH 1/2] Render diffs with Diff2Html and polling --- diffs.html | 80 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 22 deletions(-) diff --git a/diffs.html b/diffs.html index 3181ca5..a24d8a4 100644 --- a/diffs.html +++ b/diffs.html @@ -1,25 +1,61 @@ - + - - - Diffs - - -

Git Diffs

-
Loading diffs...
- + - + + fetchAndRender(); + setInterval(fetchAndRender, 10000); + + From 8412baf1b4a94751a8d42bd3d8f1366f10b0fa4f Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Sat, 15 Nov 2025 12:18:07 -0800 Subject: [PATCH 2/2] Apply suggestion from @alexec --- diffs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diffs.html b/diffs.html index a24d8a4..7db1405 100644 --- a/diffs.html +++ b/diffs.html @@ -1,4 +1,4 @@ - +