Skip to content

[BUG] editor: collapsing category or shortcut throws away request parameters #3

@0x00af

Description

@0x00af

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

  1. expand a category
  2. click "Add New Shortcut"
  3. select "Regular HTTP Shortcut" from the modal
  4. click the new entry to expand it
  5. enter a name. Like "HelpMe"
  6. Select Method POST
  7. Enter URL
  8. Select Request Body Type: Parameters (x-www-form-urlencoded)
  9. click Add New Parameter
  10. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions