Skip to content

Improve HTTP Requests Tab#130

Open
FeBe95 wants to merge 4 commits intounderground-works:masterfrom
FeBe95:improve-http-requests-tab
Open

Improve HTTP Requests Tab#130
FeBe95 wants to merge 4 commits intounderground-works:masterfrom
FeBe95:improve-http-requests-tab

Conversation

@FeBe95
Copy link
Copy Markdown

@FeBe95 FeBe95 commented Mar 18, 2026

Description

This PR improves several aspects of the "HTTP Requests" tab.

Changes:

  • Add top bar with request counters and total duration (screenshot 1)
  • Fix colors of the request preview modal when using dark mode (screenshot 2 & 3)
  • Improve raw response body preview:
    • Enable iframe sandbox mode:
      • Prevents scripts from being executed
      • Prevents external styles/scripts from being loaded (relative URLs would pollute clockwork's request list with 404 errors)
    • Prevent browser navigation in preview by injecting <base href="about:srcdoc"> when applicable

Screenshots

Counters & Duration

Before:

Bildschirmfoto am 2026-03-18 um 19 01 06

After:

Bildschirmfoto am 2026-03-18 um 19 01 08

Dark Mode Request Preview

Before:

Bildschirmfoto am 2026-03-18 um 19 01 21

After:

Bildschirmfoto am 2026-03-18 um 19 01 22

Dark Mode Response Preview (+ no unrelated items in the left pane of the UI)

Before:

Bildschirmfoto am 2026-03-18 um 19 02 51

After:

Bildschirmfoto am 2026-03-18 um 19 02 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant