From f541f7194ad9ea954e7c5e9a22e54bbb5e60b2dd Mon Sep 17 00:00:00 2001 From: "daniel.ochoa" Date: Tue, 17 Mar 2026 15:30:11 -0500 Subject: [PATCH] FEAT-72: show HTTP method on activity log collapsed rows Display the request method (GET, POST, PATCH, DELETE, etc.) on each collapsed activity card so it is visible at a glance without expanding. - Add .activity-method CSS class (monospace, muted) - Insert method element between status dot and title in renderActivityCard Testing: - Visual inspection in Electron UI activity log tab Risks: - None, purely cosmetic renderer change --- apps/desktop/package.json | 2 +- apps/desktop/src/renderer/index.html | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index f1ac4129..2684970e 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "desktop", - "version": "0.4.2", + "version": "0.4.3", "description": "ClosedLoop Desktop", "author": "ClosedLoop AI ", "private": true, diff --git a/apps/desktop/src/renderer/index.html b/apps/desktop/src/renderer/index.html index 0b65ae5d..fc44f335 100644 --- a/apps/desktop/src/renderer/index.html +++ b/apps/desktop/src/renderer/index.html @@ -749,6 +749,14 @@ background: #2563eb; } + .activity-method { + font-family: "Berkeley Mono", "JetBrains Mono", "SF Mono", "Fira Code", monospace; + font-size: 10px; + font-weight: 700; + color: var(--muted); + flex-shrink: 0; + } + .activity-title { font-weight: 600; flex: 1; @@ -1565,6 +1573,11 @@

Always-Allow Rules

dot.className = `activity-dot ${kind === "security" ? "server-error" : tone}`; top.appendChild(dot); + const method = document.createElement("span"); + method.className = "activity-method"; + method.textContent = event.method || "GET"; + top.appendChild(method); + const title = document.createElement("span"); title.className = "activity-title"; title.textContent = activityLabel(event.path);