Currently, there is no indication of how many documents exist in a collection, making it difficult for users to assess the size of their data or plan queries efficiently. This feature will focus on adding document count visibility in key areas of the UI for quick access.
Proposed Solution:
-
Immediate Enhancement:
- Display the document count in the Collection View when a query is run (make the count available on demand)
- Show the document count in the Tree View, visible ahead of opening a collection.
- This approach focuses on leveraging existing UI elements, enabling quicker implementation without requiring a comprehensive new interface.
-
Future Work:
- A dashboard will be developed to provide high-level insights, including document counts, for all collections within a database. This will offer a more comprehensive view of data at a glance.
Additional Consideration:
- Ensure that fetching document counts is efficient and doesn’t introduce performance bottlenecks, especially for collections without indexes.
- Provide a clear loading state or fallback for cases where counts take time to compute.
Currently, there is no indication of how many documents exist in a collection, making it difficult for users to assess the size of their data or plan queries efficiently. This feature will focus on adding document count visibility in key areas of the UI for quick access.
Proposed Solution:
Immediate Enhancement:
Future Work:
Additional Consideration: