opensearch-project/alerting-dashboards-plugin

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

Open

#417 aberto em 10 de dez. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (118 forks)auto 404
buggood first issue

Métricas do repositório

Stars
 (31 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador