Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.9k stars 1.98k forks source link

Can't move requests into folders (or folders into folders) #5182

Closed Samuelfaure closed 2 years ago

Samuelfaure commented 2 years ago

Expected Behavior

When drag-and-dropping a request or a folder onto another folder, it should move that request into that folder.

Actual Behavior

It does not

insomniabug

Reproduction Steps

See attached GIF

Is there an existing issue for this?

Additional Information

Arch linux, using picom as a composer and i3-gaps as a tile manager

Insomnia Version

2022.5.1

What operating system are you using?

Other Linux

Operating System Version

Arch Rolling

Installation method

yay -S insomnia OR yay -S insomnia-bin => same result

Last Known Working Insomnia version

No response

filfreire commented 2 years ago

Hi @Samuelfaure, thanks for reporting this!

Are you by any chance also able to reproduce this issue with previous stable version 2022.4.2 and/or with the latest beta?

Samuelfaure commented 2 years ago

@filfreire The issue has been happening for quite some time, I am certain it was present during 2022.4.2 (which is even why I upgraded to 2022.5)

I'll try with the latest beta immediately.

Edit: No dice, beta doesn't solve the issue.

izzat-sq commented 2 years ago

Having the same problem. I have version 2022.5.1-1

filfreire commented 2 years ago

@Samuelfaure @izzat-sq this will be fixed in our upcoming 2022.6.0 release.

Fix for it was introduced in https://github.com/Kong/insomnia/pull/5168

vetterj73 commented 2 years ago

This was not fixed with 2022.6.0. I still have the same issue

izzat-sq commented 2 years ago

I still have the issue despite being on 6.0

Samuelfaure commented 2 years ago

Can confirm, issue is still there in 2022.6.0, please reopen

rafaelbdb commented 1 year ago

Also confirm: Version 2023.2.0 has the same issue.

Studio384 commented 1 year ago

Can this issue be reopened? This bug still exists in the current 2023.2.2.

kventil commented 1 year ago
Version: Insomnia 2023.2.2
Build date: 5/17/2023
OS: Darwin arm64 22.5.0
Electron: 22.0.0
Node: 16.17.1
V8: 10.8.168.20-electron.0
Architecture: arm64

Having also this issue.

jn-novasol commented 1 year ago

Same issue. This is my biggest problem with Insomnia since I have been using it for multiple years.. So annoying

Version: Insomnia 2023.4.0 Build date: 04/07/2023 OS: Linux x64 6.4.8-arch1-1 Electron: 23.3.9 Node: 18.12.1 V8: 11.0.226.20-electron.0 Architecture: x64

Supernectar commented 1 year ago

As a workaround, create a new folder, inside that folder create two requests using the folder dropdown menu, drag and drop your main request in between the two requests you just created, then just delete the other two requests.

insomniaDragAndDropSolution

philippgrassl commented 1 year ago

For me not even this trick works in 2023.5.5.

dp81 commented 1 year ago

I've just updated Insomnia to 2023.5.5 and the moving of requests stopped working.

michaelnguyen08 commented 1 year ago

I have the same issue with 2023.5.5 on windows 10

vermgit commented 1 year ago

2023.5.6 fixes this 😃 Thanks!

ThierrydelCastillo commented 11 months ago

Apparently you have to be without any sorting filter for this to work. The tip given means that when you create a query the sort filter is canceled. It looks more like expected behavior than a bug (technical limit of the UI??)

Samuelfaure commented 11 months ago

@ThierrydelCastillo The issue was fixed for me, plus I switched to Insomnium, so I can't reproduce, but I'm pretty certain I had no filters on

JordanReiter commented 3 months ago

I thought I had this problem in version 9.3.2. It turns out you have to click on the request, hold, then wait for the request to get highlighted with a purple bar. Then I am able to drag requests around.

Once that happens the first time, I am able to drag the requests around as soon as I click on them.

But initially the interface acts as if the requests are not draggable.

telemaxxx commented 3 months ago

Dragging requests gets disabled entirely when sort is set to alphabetical. I'd love to see a behaviour similar to vs code's explorer when in that mode, where it's still possible to drag requests to other folders. On that note, being able to cut/paste requests would be really nice. I don't want to have to collapse all my folders or move a request into an intermediate folder if I want to move it from a folder at the top to a folder on the bottom