feliixx / mongoplayground

a simple sandbox to test and share MongoDB queries
https://mongoplayground.net
GNU Affero General Public License v3.0
179 stars 12 forks source link

Enhancement request: Add `mgodatagen` and `database/collection` tabs to configuration pane #113

Open rickhg12hs opened 2 years ago

rickhg12hs commented 2 years ago

It would be convenient to view the collection while developing MongoDB queries/pipelines. While it's always possible to use a query to view the collection, it's inconvenient during development to cut the query text and replace it with an empty find, just to view the collection.

One possible enhancement might be to have two tabs, say mgodatagen and database/collection where one could select one or the other. After refining the mgodatagen configuration in it's tab, selecting the other tab would let the user view the generated database/collection.

feliixx commented 2 years ago

That's an interesting idea ! I have to think a bit about the UI but it's definitely doable