Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7695

When we refresh the list of databases, the databases list should also load the storage stats, collections and indexes

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Not Needed
    • Developer Tools

      Suppose you're on the Databases tab under instance. The one that shows the database cards. Then someone adds a new database elsewhere so you hit either the refresh button at the top of that page or the refresh button in the sidebar to load the databases again.

      The new database card will appear, but there will forever be skeleton loaders for the number of collections and the storage taken up because we don't load that.

       

      See the attached screenshot. I'm on the Databases tab, added a database and collection via mongosh (this could have also been a different user or an external script) and then I hit the refresh button at the top of the page (this could have also been the refresh button in the sidebar) and then the new database appears, but it never loads its storage size, collections and indexes. Those skeleton loaders stay around forever.

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: