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

SidebarDatabase/SidebarCollections should handle lazy-loaded databases/collections data

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.29.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Not Needed
    • Iteration Orlando, Iteration Phnom Penh, Iteration Q

      mongodb-instace-model fetch should not wait for databases to resolve when refresing and should not try to resolve collections on it's own. For this to work we want to introduce following changes:

      • Change instance-model fetch/refresh logic to only emit a database fetch, but not wait for it to resolve before emitting instance-refreshed
      • Refactor sidebar db/coll list to handle rendering while data is fetching
      • Refactor collections to be lazy-loaded when selecting a database / expanding list
        • Provide indication that the data is loading

      Miro board with changes context

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: