opensearch-project/alerting-dashboards-plugin

[BUG] Improve loading state of Destinations list page after Notifications plugin integration

Open

#417 ouverte le 10 déc. 2022

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (118 forks)auto 404
buggood first issue

Métriques du dépôt

Stars
 (31 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

What is the bug? As mentioned in PR https://github.com/opensearch-project/alerting-dashboards-plugin/pull/413, the full info page and some of the other elements render briefly while various API responses execute.

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Create a 2.0 or above cluster with the alerting and notification plugins installed
  2. Go to the Destinations list page while you have some destinations that have not been migrated to Notifications
  3. The page will display the FullPageNotificationsInfoCallOut for a few milliseconds while it waits for the list of destinations to load.
  4. It will also display the hasNotificationPlugin=false version of the callouts while waiting for the getPlugins method to determine whether the Notifications plugin is installed.

What is the expected behavior? Transitioning from the FullPageNotificationsInfoCallOut to the table view is jarring. We should likely know whether the user has any un-migrated destinations and the Notifications plugin installed before the user gets to the destinations list page.

Guide contributeur