Want "expand all" button for documents in view.
It's very convenient to expand all fields of a document recursively. I want this feature for documents in view.
![](https://secure.gravatar.com/avatar/669704353aab7b024252a59ea23e1e38?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Bruce commented
Here is what is wrong with the current implementation:
1. YML/JSON full expansion should be an option for ALL documents in the collection. Today it only expands per document for YML and per document/field for JSON. In fact, it should default to show all fields for all documents and/or give me control over the default. I am not even sure I understand any reason you would like to see the view you show by default? In most cases 90% of the data is not visible when using objects/arrays in your documents.
2. Search can only search what is visible in the documents view window. So it will not find deeper data if they are not expanded. Huh?
3. Why is the document view window limited to 20 documents? I should be able to set this.To see an example of how this can work try running Studio 3T free version.
1. All documents are expanded by default.
2. Search can find any deep key values.
3. The number of documents fetched for a query is configurable.Here is my scenario and (I often do this as a developer):
1. Build a very simple query for a subset of documents, query result can be in the 100's easily.
2. In the Document view window search for a value in the documents. Maybe look at 2,3,...more instances of this value and observe other state around it. There can be 100's of instances.
3. Repeat with other queries. -
Bruce commented
I appreciate the JSON view, but having to click all fields to expand is a total pain. For my usage, I often times want to see some nested field. This can be 5-6 clicks per document and multiple documents. Ouch!
-
Nicolas commented
Looks like it's done on V 1.36.4