diff --git a/src/webview/diagnostics/main.ts b/src/webview/diagnostics/main.ts index 2a4092e..6b46688 100644 --- a/src/webview/diagnostics/main.ts +++ b/src/webview/diagnostics/main.ts @@ -287,8 +287,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)} @@ -712,6 +712,8 @@ 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;