From aedb818d1ca48290dd6165bf730c064634655645 Mon Sep 17 00:00:00 2001 From: jensmohr Date: Wed, 27 May 2026 20:04:27 +0200 Subject: [PATCH] Restructure request explorer into grouped evidence view --- src/request-explorer/request-explorer.css | 50 +++ src/request-explorer/request-explorer.html | 17 +- src/request-explorer/request-explorer.js | 393 ++++++++++++++++++--- 3 files changed, 397 insertions(+), 63 deletions(-) diff --git a/src/request-explorer/request-explorer.css b/src/request-explorer/request-explorer.css index 39e588f..f72909e 100644 --- a/src/request-explorer/request-explorer.css +++ b/src/request-explorer/request-explorer.css @@ -164,6 +164,46 @@ th { overflow-wrap: anywhere; } +.request-groups { + display: grid; + gap: 16px; +} + +.request-context-card { + padding: 14px; + border: 1px solid #334155; + border-radius: 4px; + background: #172033; +} + +.request-context-summary { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 8px; + margin: 0 0 12px; +} + +.request-context-summary div { + min-width: 0; + padding: 9px 10px; + border: 1px solid #334155; + border-radius: 4px; + background: #1f2937; +} + +.request-context-summary dt { + margin: 0 0 5px; + font-size: 12px; + color: #cbd5e1; +} + +.request-context-summary dd { + margin: 0; + font-size: 13px; + font-weight: 700; + overflow-wrap: anywhere; +} + .request-detail { margin-top: 18px; } @@ -222,7 +262,17 @@ th { grid-template-columns: 1fr; } + .request-context-summary { + grid-template-columns: 1fr; + } + .inspector-table th { width: 150px; } } + +@media (min-width: 641px) and (max-width: 980px) { + .request-context-summary { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} diff --git a/src/request-explorer/request-explorer.html b/src/request-explorer/request-explorer.html index 6368260..227c504 100644 --- a/src/request-explorer/request-explorer.html +++ b/src/request-explorer/request-explorer.html @@ -32,22 +32,7 @@ Keine beobachteten Requests vorhanden.