Hi @olexlyap!
This is actually a pretty common feature request (see other Community post here), and we'll keep that forum post up to date, so it would be awesome if you could add your plus one. In the meantime, I have a hacky workaround 😬
You could use a JS query to trigger which query (you'd need one for each resource) is run based on a dropdown or button group (where you could choose the resource type). That way you could switch between staging/prod/another env/etc in one app!
In a JS query, you can use that dropdown's value to determine the query you'd like to run! You'd just need to create 3 (or more, depending on your number of environments) different queries, 1 for each resource type.
Your JS query could look something like:
if (select1.value == "production") {
 prodQuery.trigger()
} else if (select1.value == "staging") {
 stagingQuery.trigger()
} else if (select1.value == "dev") {
 devQuery.trigger()
}
So the only duplicate work would be having three of the "same" queries (with the different resource correctly chosen) within the same app.
Let me know if that helps at all or if you have any other questions!