Skip to content

Add Document Count Visibility #175

@tnaum-ms

Description

@tnaum-ms

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:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions