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

Show connectivity errors in the connect form

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • 3
    • Not Needed
    • Iteration Phnom Penh, Iteration Q, Iteration Reno, Iteration Seoul

      This ticket involves showing any error received when connecting in the connection form. It can be a dismissible leafygreen-ui banner (wrapped in `compass-components`: https://www.mongodb.design/component/banner/example/ ).
      When the underlying connection changes, like a user clicking another connection in the connection sidebar, we should hide the error message.
      We should also disable the `Connect` button while a connection attempt is in progress and after a successful connection occurs and we have not yet changed screens to the main compass ui.

      Errors not coming from the server should be validated according to:
      https://docs.google.com/spreadsheets/d/14jRnz50BzqxS7MSPXyCWjU_CqMm3U6M2AhJlpvgPFDk/edit#gid=0

            Assignee:
            leonardo.rossi@mongodb.com Leonardo Rossi (Inactive)
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: