HTTP-Shortcuts-Editor
HTTP-Shortcuts-Editor copied to clipboard
[BUG] editor: collapsing category or shortcut throws away request parameters
Hi again.
Got another issue.
I'm a backend dev and can effortlessly provide data exchange stuff. But with frontend frameworks - not so much. This is me trying.
Steps to reproduce
- expand a category
- click "Add New Shortcut"
- select "Regular HTTP Shortcut" from the modal
- click the new entry to expand it
- enter a name. Like "HelpMe"
- Select Method POST
- Enter URL
- Select Request Body Type: Parameters (x-www-form-urlencoded)
- click Add New Parameter
- Add arbitrary values to that new parameter
The issue now is this: When I collapse:
- the Parameter itself
- the Shortcut within the category
- the Category
The parameter is lost. The name, and the value. Whatever parent you collapse. The Shortcut is not lost. The category is not lost. Only the parameter.
Expected behavior Collapsing any newly created shortcut keeps all parameters.
Actual behavior Collapsing a Parameter, a Shortcut or Category throws away new Request Parameters. Shortcut parameters remain, only the Request Parameters are thrown out.
To keep the new parameters, I have to keep the shortcuts expanded while adding new ones. With modern UX design a single shortcut occupies two vertical screen heights that I have to scroll. Creating more than two requests at once is not feasible, and with the risk of randomly losing the entire form it's not even desirable.
No screenshots. I hope the description is enough.