[Feature Request] Autohide request body when is set to "No Body"
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Is your feature request related to a problem? Please describe.**
I usually keep Insomnia on half of my monitor, and I find myself always resizing the request/response area to better see the response or the request. For example a common use case is when I sent a POST request and then I need to check the changes with a GET I always have to resize the ratio between request/response area.
**Describe the solution you'd like**
Well i would love to mark a checkbox in the settings that makes so when I pick a request with "No Body" I would like to auto hide the request body area and leave more space for the response, or vice-versa.
**Describe alternatives you've considered**
An alternative would be not to hide it completely, just resize it to make more space to the area you have clicked on, for example if you click on the request body area the response area would get smaller (like 2:1 ratio) and if i click on the response area the request area gets smaller (like 1:2 ratio).
**Additional comment**
I can see that the request/response areas are completely different spaces and this change won't be that simple, but It would make my life so much easier.
Contributor guide
Research direction
The issue names no files or tests. Start by locating the request/response layout and the "No Body" state in the Insomnia UI, then determine how the split ratio is controlled. Done means the selected behavior reliably hides or resizes the request body area for bodyless requests while preserving access to the response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100