[feature]: allow editing variables in environment quick peek
Is there an existing issue for this?
- I have searched the existing issues
Summary
Add support for fast, inline editing of variables for the current active environment with two approaches:
- A persistent sidebar that allows editing variables. If the current sidebar (the one with collections, environments, etc.) is on the left, this new sidebar would be on the right and vice versa. If this is too big of a change, a compromise could be to allow editing in the quick peek popover.
- Hovering over the variable in the request would show an editable input field with the current value. Showing the initial and current values in a popover adds little value since people tend not to worry about the initial value. What matters really is the current value.
Why should this be worked on?
Right now, Hoppscotch does not support editing values quickly. Taking a path parameter as an example, I have to hover over it, click on the edit button which opens a modal to edit any values in the environment. Same goes for when i click the quick peek icon next to the environment dropdown. I shouldn't have to do this everytime I want to change a value. It adds a lot of steps for quick changes.
I like the way Postman does this, giving me two options:
- hover over the variable in the request to show the current value in an input field, which is editable.
- have the environment values open in a sidebar, where all values are editable as well.
My feature request is to support these patterns. I've been using hoppscotch on and off due to this, since it adds a lot of friction when trying to test things manually.
I'm happy to put up a PR for this, but didn't want to do it without making sure lol
Source: hoppscotch/hoppscotch