opensearch-project/alerting-dashboards-plugin
Ver no GitHub[BUG] Improve loading state of Destinations list page after Notifications plugin integration
Open
#417 aberto em 10 de dez. de 2022
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:
- Create a 2.0 or above cluster with the alerting and notification plugins installed
- Go to the Destinations list page while you have some destinations that have not been migrated to Notifications
- The page will display the
FullPageNotificationsInfoCallOutfor a few milliseconds while it waits for the list of destinations to load. - It will also display the
hasNotificationPlugin=falseversion of the callouts while waiting for thegetPluginsmethod 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.