From 742f3e1b9274866e662aa670d18153e5f55904e2 Mon Sep 17 00:00:00 2001 From: KShivendu Date: Tue, 4 Aug 2026 21:14:24 +0530 Subject: [PATCH] Enable code folding in the response panel The result editor had folding explicitly disabled, so long JSON responses could only be navigated by scrolling. Monaco's JSON folding provider gives us collapsible blocks for free, and the remaining folding defaults (mouseover controls, highlighted folded ranges) already match the request editor's behaviour. Co-Authored-By: Claude Opus 5 (1M context) --- src/components/ResultEditorWindow/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ResultEditorWindow/index.jsx b/src/components/ResultEditorWindow/index.jsx index bcacb53be..4b20e33c0 100644 --- a/src/components/ResultEditorWindow/index.jsx +++ b/src/components/ResultEditorWindow/index.jsx @@ -22,7 +22,7 @@ const ResultEditorWindow = ({ code }) => { automaticLayout: true, readOnly: true, mouseWheelZoom: true, - folding: false, + folding: true, lineHeight: lineHeight, padding: { top: padding, bottom: padding }, }}