-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 ui/courier into data shim plugin #52359
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
This comment has been minimized.
This comment has been minimized.
src/legacy/core_plugins/data/public/search/fetch/handle_response.test.ts
Show resolved
Hide resolved
src/legacy/core_plugins/data/public/search/search_source/mocks.ts
Outdated
Show resolved
Hide resolved
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.
Code is LGTM. I haven't tested it yet but I'll give it a spin when tests are passing and you're getting ready to merge it.
8f86fef
to
ae7e2a1
Compare
@import '../../../core_plugins/data/public/search/fetch/components/shard_failure_modal'; |
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.
👍 So long as this path is correct
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.
I don't want this Lens change to get in your way, but I would like to understand.
...egacy/plugins/lens/public/indexpattern_plugin/operations/definitions/date_histogram.test.tsx
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
76904b6
to
1d25c43
Compare
e688738
to
71eb5ce
Compare
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…le-saved-objects * 'master' of github.com:elastic/kibana: (250 commits) Allow chromeless applications to render via non-/app routes (elastic#51527) Add server rendering service to enable standalone route rendering (elastic#52161) Possibility to filter when testing scripted fields (elastic#35379) (elastic#44220) Update maps telemetry mappings to account for recent updates (elastic#53803) [Maps] Only show legend when layer is visible (elastic#53781) remove use of experimental fs.promises api (elastic#53346) [APM] Add log statements for flaky test (elastic#53775) [APM] Transaction page throws unhandled exception if transactions doesn't have `http.request` (elastic#53760) Licensing plugin functional tests (elastic#53580) [Lens] Disable saving visualization until there are no changes to the document (elastic#52982) [Monitoring] Added safeguard for some EUI components (elastic#53318) [Vega] Shim new platform - cleanup vega_visualization dependencies (elastic#53605) Display changed field formats without requiring hard page refresh. (elastic#53746) Upgrade EUI to v17.3.1 (elastic#53655) [APM] Fix missing apm indicies (elastic#53541) Disable inspector for timelion (elastic#53747) Clean up search servie (elastic#53701) [Dashboard] Grid: removing double handler (elastic#53707) Remove SavedObjectRegistryProvider from codebase (elastic#53455) Move ui/courier into data shim plugin (elastic#52359) ...
Part of #42639
This does the initial work of moving
ui/courier
intosrc/legacy/core_plugins/data
. Contracts have been re-exported to preserve backwards compatibility for plugins that are still importing fromui/courier
.The only change made here was renaming
SearchSourceContract
toISearchSource
for consistency with some of our other interfaces. Otherwise no changes have been made; we are just re-locating everything in the legacydata
plugin so that it is easier to refactor everything to be fully NP-ready.For the time being I've just preserved the folder structure from
ui/courier
inside ofcore_plugins/data/public/search
. It will probably make sense to rearrange the internal structure eventually, but for the sake of keeping this PR simple, I think it would be better to wait on that until some of the other refactoring has been done.QA
This should introduce no functional changes: it is simply moving code around.
Detailed dev docs will be added to #43511 once changes are made to the interfaces exported from the
ui/public/courier
directory.