desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Request names/body getting shuffled around

Open fabian-qasolve opened this issue 11 months ago • 4 comments

What happened?

The request names/body are shuffled around when I navigate back and forth from different requests/collections. I am not sure if it is the body or the request name on the left panel is getting shuffled.

Steps to reproduce?

1. Create some requests in 2 different collections
2. Switch back and forth between the requests and collections

What did you expect to happen?

I expected the request names/body to be intact

Platform

Windows

HTTPie Desktop version

2025.1.0

Relevant log output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

fabian-qasolve avatar Jan 23 '25 06:01 fabian-qasolve

I can't reproduce this behaviour. Can you please record a video demonstration?

antiflasher avatar Jan 23 '25 17:01 antiflasher

Just tried to reproduce the same behavior but couldn't, what I noticed is that switching between collections doesn't change the environment which I think is the right and intended behavior and I don't think that's what the OP was referring to.

blaqshyd avatar Jan 31 '25 06:01 blaqshyd

Just tried to reproduce the same behavior but couldn't, what I noticed is that switching between collections doesn't change the environment which I think is the right and intended behavior and I don't think that's what the OP was referring to.

Yes, the environment selector is applied to the entire space and is independent of the current collection.

Are there any use cases where a collection-dependent environment is more convenient for you?

antiflasher avatar Jan 31 '25 21:01 antiflasher

Yes, can something like how POSTMAN does it be included? Where you can pin one/more environment to a collection? That makes it easier to track even if you still have to change environment every time you select another collection. I switch between different collections a lot and it's a hassle to always select the environment every time especially when you've a lot of environment in the workspace. @antiflasher

blaqshyd avatar Feb 05 '25 05:02 blaqshyd