bruno icon indicating copy to clipboard operation
bruno copied to clipboard

[Feature request] Organise folders in collection by drag and drop

Open jaktestowac opened this issue 2 years ago • 4 comments

Currently, folders within a Collection are sorted alphabetically. Users should have the ability to reorder the folders by dragging and dropping them into their preferred arrangement.

For example, similar to Postman, I want to move the Operational folder so it comes after the Users folder. obraz

To clarify how nesting folders appears: obraz

Additionally, when importing a Collection from Postman, it should be organized in Bruno to maintain the same order as in Postman. Mentioned here: https://github.com/usebruno/bruno/issues/1456

jaktestowac avatar Feb 12 '24 05:02 jaktestowac

I agree with this. I actually don't see a way to reorder this, even through manually editing config file.

I'd recommend you add a section in bruno.json that allows you to set the custom order of the folders within a collection, and then honor that in the UI. This way, when the runner is executed, it will follow that order precedence so that test plans can run in the proper order.

The only workaround for right now is to rename the folders to ensure the proper order. I am using numbers, but it's honestly a cludge. We should be able to reorder by drag-and-drop and not rely on the naming to accomplish the order.

DanaEpp avatar Apr 04 '24 17:04 DanaEpp

Bumping this. I have login calls that need to run before anything else and logout calls that need to run at the end of my collection runs and there is no way to do this without first making them a subfolder under a parent using 1 or Z as a workaround. Would really appreciate a fix for this.

lanes100 avatar May 29 '24 19:05 lanes100

I know "chime in" comments aren't always helpful, but I would love to see this feature implemented. (I want to move my team over to Bruno vs. any of the other options out there!) [edit: reworded request - I love Bruno and know you have a lot on your plate!]

For context, we're coming from a large internal API collection where the organization of the folders makes a big difference to us. Would love to see this as well, even though I realize getting multi-level drag and drop just right for a UX perspective isn't easy.

jamesvl avatar Jul 26 '24 12:07 jamesvl

FYI, I was able to change the order of my collections manually on macOS by:

  1. quitting the bruno app
  2. making a backup copy of the $HOME/Library/Application Support/bruno/preferences.json file (in case I got something wrong)
  3. editing the lastOpenedCollections list in the $HOME/Library/Application Support/bruno/preferences.json file (make sure it is still valid JSON, otherwise the list is cleared - see making a backup copy above)
  4. starting the bruno app again

That said, being able to do this in the UI would also be useful, but at least there's a manual workaround.

RohanTalip avatar Aug 20 '24 19:08 RohanTalip

Maybe a new ticket is needed but would also love to see ordering within a folder.

petervanderdoes avatar Nov 01 '24 17:11 petervanderdoes

Hello everyone. Firstly, I like Bruno a lot. Congratulations to the team for the effort and good work! This feature is going to be very appreciated. Any progress on it?

yuniet87 avatar Nov 23 '24 18:11 yuniet87

Hello Everyone, many congratulations to the team for this great tool. Please update on the availability of this feature

nishantgoel87 avatar Jan 14 '25 04:01 nishantgoel87

~We are working on it #3755~

sanjai0py avatar Jan 14 '25 04:01 sanjai0py

This will actually be fixed by #2554, the PR is bit old, but we are looking in to it.

ramki-bruno avatar Feb 10 '25 14:02 ramki-bruno

This feature is available in v2.3.0. Closing the issue.

anusree-bruno avatar May 26 '25 13:05 anusree-bruno