Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0x00af opened this issue Aug 24, 2023 · 1 comment

Comments

@0x00af
Copy link

0x00af commented Aug 24, 2023

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.

@Waboodoo Waboodoo transferred this issue from Waboodoo/HTTP-Shortcuts Aug 25, 2023
@Waboodoo
Copy link
Owner

Thanks for the detailed bug report. I'll look into it when I have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants