Update performance tab error banner in Compass to leafygreen

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.31.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Iteration Yonkers, Iteration Zanzibar
    • Not Needed

      Performance page error banners (compass-server-stats): https://github.com/mongodb-js/compass/blob/main/packages/compass-serverstats/src/components/dberror-component.jsx#L32
      Let's fix the bug that hides the displaying of the error banner in the performance page when the view is unmounted and remounted if it's easily done, if that's significant work we can create a ticket and do it another time.

      In some of the views we are currently displaying the error banner inside of the toolbar. Let's make sure the performance errors are be displayed inside of the content. (mocks)

      Update (with a leafygreen banner in the status row) to

      Let's follows the conventions from: https://docs.google.com/document/d/1ZLz_DJYpwTiS_DiPcQMKoLoz2iNxSsMKRTuXXxHb6ak/edit# when making changes.

        1. error outside toolbar exmaple.png
          13 kB
          Rhys Howell
        2. error in toolbar example-1.png
          15 kB
          Rhys Howell

              Assignee:
              Rhys Howell
              Reporter:
              Rhys Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: