usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
26.44k stars 1.21k forks source link

Move requests between collections #3320

Open nikischin opened 1 week ago

nikischin commented 1 week ago

I have checked the following:

Describe the feature you want to add

I would like to move requests/folders between collections using the UI. Currently it is only possible to move requests/folders within a collection.

Mockups or Images of the feature

Mockup

TheRealRyanReynolds commented 1 week ago

Thanks @nikischin! Is this capability something you use today in Postman? Would love to hear a bit more about your use case.

nikischin commented 1 week ago

Ah no it has nothing to do with Postman. It's just some times you don't exactly know how to split your collections.

For me I wanted to create a collection per service and also a separate collection to cover all API test cases (including negative Tests). So because I needed all my sample data which is saved in local variables from one service in another one I decided to move both services in one Collection instead of two.

In future when I will have a separate collection which cover all tests including negative tests I will want to duplicate request within one collection in order to move it to the other one. I can do this via file system luckily, however it would be handy/intuitive doing it via the UI.

TheRealRyanReynolds commented 1 week ago

Thanks @nikischin , that's really helpful. I know moving collections like that is something available in other tools, which is why I asked.

We'll need to add this to our planning. In the spirit of transparency, I'm not sure it's something we'll get to in 2024. Right now the team is heads-down on crossing off blocking issues. Quality of life enhancements are really important to us and we totally get it, but need a little bit of time before we'll be able to shift.

nikischin commented 6 days ago

@TheRealRyanReynolds yeah sure no worries! I just wanted it to be reported but it does not have the highest priority for me.

2397 though would be a real game changer for me, as it would introduce many new opportunities of how to use bruno to test complex applications, so if this is something you could upvote, I would be really happy! 😃

kbublitz commented 10 hours ago

Have my upvote. I just imported some collections and wanted to reorganize them, so the only way was to move the bru files in the file explorer. Luckily Bruno has this nice file based approach, so it's not a big deal doing so. It is not a daily thing I do, but it does happen from time to time that I want to move (or mostly duplicate) requests to another collection. I totally get that there are other issues that are more important.