opensearch-project/alerting-dashboards-plugin
Voir sur GitHub[BUG] Improve loading state of Destinations list page after Notifications plugin integration
Open
#417 ouverte le 10 déc. 2022
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:
- 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.