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.
[Infrastructure UI] Hosts View: Unified Search bar with auto-refresh …
…enabled (elastic#157011) Closes elastic#156690 ## Summary This PR adds a flag (`isAutoRefreshDisabled`) to disable the default auto-refresh option in the unified search. ## Background The auto refresh is added by default when using a unified search bar in [defaultOnRefreshChange](https://github.com/elastic/kibana/blob/main/src/plugins/unified_search/public/search_bar/create_search_bar.tsx/#L59) and it appeared on the host view page when currently the auto-refresh option is not supported. | with `isAutoRefreshDisabled` (true) | without `isAutoRefreshDisabled` (false/undefined) | | ------------------------------------ | -------------------------------------------------- | | <img width="200" alt="image" src="https://user-images.githubusercontent.com/14139027/236862888-63efdb13-6b07-41c2-abe8-88247c9c96e1.png"> | <img width="200" alt="image" src="https://user-images.githubusercontent.com/14139027/236862409-4f36ec6a-f274-4dae-960b-407ea30f330b.png"> | --------- Co-authored-by: Stratoula Kalafateli <[email protected]>
- Loading branch information
1 parent
bda9a56
commit 77d864e
Showing
4 changed files
with
17 additions
and
3 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