bruno icon indicating copy to clipboard operation
bruno copied to clipboard

The last selected environment is not persisted across app startups

Open StylianosGakis opened this issue 1 year ago • 3 comments

Not necessarily a bug, it may be how you intend this to be, but I do find that it adds a little bit of friction to my workflow having to select the environment each time I open Bruno.

Optimally I would like to have that be persisted and if I had selected something before, it should stay after quitting the application and opening it again later.

I am on macOS if that matters ✌️

StylianosGakis avatar Feb 15 '24 13:02 StylianosGakis

Yes, please!! This is a must-have feature IMO.

melroy89 avatar May 02 '24 07:05 melroy89

It would be much beneficial indeed.

mathisgauthey avatar Jun 24 '24 07:06 mathisgauthey

I think this would be very useful. Alternatively, being able to set a default environment will also be good.

tngranados avatar Aug 09 '24 08:08 tngranados

Is this in the works ? it's really annoying having to manually select each time

berlingoqc avatar Sep 02 '24 15:09 berlingoqc

https://github.com/usebruno/bruno/pull/1971 https://github.com/usebruno/bruno/pull/2238

There is two PR for this

berlingoqc avatar Sep 02 '24 15:09 berlingoqc

This functionality is now available in Bruno v1.32.0 🎉

helloanoop avatar Oct 01 '24 18:10 helloanoop

That feature has been removed or broken in v2 ?

ZatsuneSakurako avatar May 17 '25 22:05 ZatsuneSakurako

That feature has been removed or broken in v2 ?

No this should be working as expected, if it is not persisting for you can you share a screen recording?

anusree-bruno avatar May 19 '25 09:05 anusree-bruno

When/How it is saved ?

ZatsuneSakurako avatar May 19 '25 21:05 ZatsuneSakurako

When/How it is saved ?

It is being saved in the ui-state-snapshot.json file located in the AppData path. You can go through the codebase for more info https://github.com/usebruno/bruno/blob/main/packages/bruno-electron/src/store/ui-state-snapshot.js#L8

anusree-bruno avatar May 20 '25 08:05 anusree-bruno