monosidev / monosi

Open source data observability platform
Apache License 2.0
319 stars 32 forks source link

Replace window.alert on testing connection with toast #175

Open iporollo opened 2 years ago

iporollo commented 2 years ago

Problem

When we test the database connection, we trigger a window.alert() when the API call returns a response.

Solution

A toast should be shown that replaces the testing connection toast.

Requirements

Either show a new toast or replace the existing toast text with success or fail and respective colored (green check or red X)

Additional Context

image

Questions, or need help getting started?

Feel free to ask below, or ping us on Slack