-
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
NP Migration: Rollup plugin #53503
NP Migration: Rollup plugin #53503
Conversation
This comment has been minimized.
This comment has been minimized.
With regards to the issue: I am still able to reproduce it. I learned that this happens when specifying an index pattern like The UI is specifically breaking because So it does look like a regression introduced here. Let me know if you need more info! |
id: 'rollup', | ||
|
||
search: ({ searchRequests, Promise }) => { |
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 removed Promise
because it isn't passed here any more
https://github.com/elastic/kibana/blob/master/src/plugins/data/public/search/search_strategy/types.ts#L35
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 locally and am happy with the proposed changes overall. Left some non-blocker comments.
@jloleysens finally I reproduced the issue. Thanks for explanation. It was caused by a mistake in the code (here). On the screenshot a status code is displayed as well. It was already envisaged here. |
# Conflicts: # x-pack/legacy/plugins/rollup/public/visualize/editor_config.js
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.
Didn't pull down to test.
@elastic/kibana-app-arch changes are 1 file
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Start shimming rollup plugin * continued shimming rollup ui * Remove unnecessarily return * Register management section * Replace ui/chrome * Replace ui/documentation_links * Replace ui/kfetch and ui/courier * Start shimming rollup plugin * continued shimming rollup ui * Remove unnecessarily return * Register management section * Replace ui/chrome * Replace ui/documentation_links * Replace ui/kfetch and ui/courier * Replace ui/notify * Move ui/ imports to legacy_imports.ts * Update NP mock for management * Refactoring * Read body from error object * Update setup_environment.js * Update unit tests * Get rid of injectI18n * Replace npStart and npSetup usage to services * Import search strategy stuff from the top level of the data plugin * Update unit tests * Do not prepend the url * Fix merge conflicts * Refactoring * Revert removal of setUserHasLeftApp * Export getSearchErrorType * Remove extra wrapper - Router * Fix cause prop. * Leave just static imports in legacy_imports.js * Add TS * Pass statusCode instead of statusText * Move template in a separate file * Move app register to setup * Add karma mock for management setup * Add EditorConfigProviderRegistry export Co-authored-by: Maryia Lapata <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Joe Reuter <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Pinging @elastic/kibana-app (Team:KibanaApp) |
This PR includes shimming of the Rollup plugin.
Early stages WIP PR:
[ ] convert to typescript(moved to the Phase III)Also here I got rid of
injectI18n
.