Hi there,
I think there is a bug with the studio settings. If you are in a production bundle and you type “shift+P” it clears the bundle. I was trying to type an environment variable name and somehow the text box lost focus. When I started typing and got to my capital P, I lost all my changes. I didn’t know what was going on, so when I set the bundle back to production, I copied the settings thinking my lost settings would return, but it cleared everything.
Is the shortcut intended behaviour? Is there a way to get back my lost settings?
The Shift+P shortcuts sets and unsets production, so with the wrong focus… that would indeed unsetProduction bundle unexpectedly which may have unintended consequences.
However, this even having effect on another page than the Bundles page, like e.g. the Site Settings page is definitely not intentional and would be a potentially dangerous issue like you describe.
Turns out this is a much large issue involving shortcuts in general. When moving pages the shortcuts for that page were not being properly unmounted and so stuck around and could be invoked.