From 00a85998171e84a458f0482f2566479ad3505ad6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 30 Jan 2026 21:23:59 +0000 Subject: [PATCH 1/4] Initial plan From bc9aa6a111773a9603a247d1f0a293da7b78415b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:46:39 +0000 Subject: [PATCH 2/4] Add clickable links for empty sessions in Diagnostic Report Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com> --- src/webview/diagnostics/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webview/diagnostics/main.ts b/src/webview/diagnostics/main.ts index f97e77e..960c602 100644 --- a/src/webview/diagnostics/main.ts +++ b/src/webview/diagnostics/main.ts @@ -265,8 +265,8 @@ function renderSessionTable(detailedFiles: SessionFileDetails[], isLoading: bool ${idx + 1} ${escapeHtml(sf.editorName || sf.editorSource)} - - ${sf.title ? `${escapeHtml(sf.title.length > 40 ? sf.title.substring(0, 40) + '...' : sf.title)}` : ''} + + ${sf.title ? `${escapeHtml(sf.title.length > 40 ? sf.title.substring(0, 40) + '...' : sf.title)}` : `(Empty session)`} ${formatFileSize(sf.size)} ${sanitizeNumber(sf.interactions)} From 2908e38704285ed4b8122b1a96c2050f5d6be6a5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:47:33 +0000 Subject: [PATCH 3/4] Extract inline style to CSS class for empty sessions Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com> --- src/webview/diagnostics/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webview/diagnostics/main.ts b/src/webview/diagnostics/main.ts index 960c602..a005baa 100644 --- a/src/webview/diagnostics/main.ts +++ b/src/webview/diagnostics/main.ts @@ -266,7 +266,7 @@ function renderSessionTable(detailedFiles: SessionFileDetails[], isLoading: bool ${idx + 1} ${escapeHtml(sf.editorName || sf.editorSource)} - ${sf.title ? `${escapeHtml(sf.title.length > 40 ? sf.title.substring(0, 40) + '...' : sf.title)}` : `(Empty session)`} + ${sf.title ? `${escapeHtml(sf.title.length > 40 ? sf.title.substring(0, 40) + '...' : sf.title)}` : `(Empty session)`} ${formatFileSize(sf.size)} ${sanitizeNumber(sf.interactions)} @@ -547,6 +547,7 @@ function renderLayout(data: DiagnosticsData): void { } .session-file-link, .reveal-link { color: #4FC3F7; text-decoration: underline; cursor: pointer; } .session-file-link:hover, .reveal-link:hover { color: #81D4FA; } + .empty-session-link { color: #999; } .button-group { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; } .button { background: #202024; From 784c0250134c943562d3b8707a02cc2d512132ec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:48:08 +0000 Subject: [PATCH 4/4] Add hover state for empty session links Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com> --- src/webview/diagnostics/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webview/diagnostics/main.ts b/src/webview/diagnostics/main.ts index a005baa..e9aa88e 100644 --- a/src/webview/diagnostics/main.ts +++ b/src/webview/diagnostics/main.ts @@ -548,6 +548,7 @@ function renderLayout(data: DiagnosticsData): void { .session-file-link, .reveal-link { color: #4FC3F7; text-decoration: underline; cursor: pointer; } .session-file-link:hover, .reveal-link:hover { color: #81D4FA; } .empty-session-link { color: #999; } + .empty-session-link:hover { color: #aaa; } .button-group { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; } .button { background: #202024;