-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move SearchBar back to data plugin. #42449
Move SearchBar back to data plugin. #42449
Conversation
Restored an empty service for Saved Queries to use
💚 Build Succeeded |
@@ -23,7 +23,7 @@ import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; | |||
import { I18nProvider } from '@kbn/i18n/react'; | |||
import { TopNavMenuData } from './top_nav_menu_data'; | |||
import { TopNavMenuItem } from './top_nav_menu_item'; | |||
import { SearchBar, SearchBarProps } from '../search_bar'; | |||
import { SearchBar, SearchBarProps } from '../../../../core_plugins/data/public'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we expose the UI component via the search service, or is the best practice to statically import like this now? Asking mainly so I know what to do in our saved query PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in Chrome.
LGTM
@lizozom I went ahead and merged since tests passed and it looked good to us. Thanks for submitting this, now we are unblocked :) I tried to backport for you but there were some conflicts that I wasn't sure how best to resolve, so I will leave that to you. |
Restored an empty service for Saved Queries to use
Pinging @elastic/kibana-app-arch |
Summary
Reverts some of the changes in #41636
Move SearchBar back to data plugin.
Also restored an empty service for Saved Queries to use.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers