forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Search] replace custom toasts with core notifications toasts (elasti…
…c#176868) ## Summary Updated the `enterprise_search` plugin to use the toasts from `core.notifications` instead of rendering toasts in `enterprise_search` directly. The solution for this is a slight hack in that I added the NotificationsStart as a value on the flash messages logic and reference it in the existing helpers. Ideally I would have preferred to replace the usages of the helpers with direct calls to the notifications service, but that would have proved to be a MUCH larger refactor. ### Screenshots ![image](https://github.com/elastic/kibana/assets/1972968/244d10bf-cb36-40a8-9dcd-1d337348b07e) ![image](https://github.com/elastic/kibana/assets/1972968/86340bc7-19e9-40b4-8288-6e9f35ad9914) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
1 parent
2d1713d
commit 0a55a39
Showing
11 changed files
with
99 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.