-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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
- depends on
-
COMPASS-5067 Use ConnectionStorage to load connections
- Closed
- is related to
-
COMPASS-5313 Show connection form error in the UI
- Closed