Right now, the query library uses the Production part of the resource. However, especially when developing a query, I really want to use the Staging config of the resource. Stripe is a good example. No way, I want to make changes to our Prod environment when working on a stripe-based query in our query library.
Without a toggle for Prod/Staging in the query library's query editor, it's really hard to work. I have to always do that with queries in the Apps editor and then duplicate the change I made to the already shared query in the query library. That's why I stopped using the query library for a lot of this which is very unfortunate because it's a great feature.