-
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
ui/render_complete 👉 src/plugins/kibana_utils #44743
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins, test this |
Pinging @elastic/kibana-app-arch |
the directive doesn't need to be imported in the index.ts |
💔 Build Failed |
c4884f2
to
1d579a5
Compare
You're right. When we search the term |
src/legacy/core_plugins/kibana/public/discover/doc_table/doc_table.js
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.
mostly LGTM, left two minor cmments
src/legacy/core_plugins/kibana/public/discover/directives/index.js
Outdated
Show resolved
Hide resolved
jenkins, test this |
58237af
to
5b575b9
Compare
💚 Build Succeeded |
Yes, because its only providing static code. |
Looking at this PR, will we need this in our React code? If not, it should be left in ui/public. If so, it shouldn't be in kibana_react plugin, but rather in visualize or embeddables. What do you think @gammon ? |
5b575b9
to
90e72de
Compare
@@ -29,8 +29,7 @@ import './lib/pager'; | |||
|
|||
import { getLimitedSearchResultsMessage } from './doc_table_strings'; | |||
|
|||
uiModules | |||
.get('app/discover') | |||
uiModules.get('app/discover') |
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.
@mattkime I reverted to old code. But according to the JavaScript Styleguide, it is recommended to use prettier. I guess that the our goal is to change the entire code base with prettier like the previous version of this commit.
Later, I should break the commit when there are changes by prettier to help others distinguish what's done by me and what's done by prettier.
If you're new to prettier, you can learn how to set up in this article. You'll soon wonder how you wrote code without this.
(Edit: I removed note because it's somewhat fixed after reinstall.)
@lizozom asked a question but ended with a wrong name tag and this callout didn't reach you @stacey-gammon. So, I copied it here. |
i think this can be moved without affecting @mattkime work. if in the end he finishes up with solution that would still use this helpers he would just import them from new place. If he ends up with something that doesn't need this anymore, then we can remove it at that point. |
retest |
@elasticmachine merge upstream |
💔 Build Failed |
@ppisljar This failure is a bit weird. When I ran it on my local Ubuntu, it failed at the first try. But after that, it passed 10 times without fail. |
retest |
💔 Build Failed |
@ppisljar Another flaky test. I've run the test 5 times on local, it all passed. |
retest |
💚 Build Succeeded |
retest |
💚 Build Succeeded |
* Moved ui/render_complete to kibana_utils.
Summary
Fixes #44367.
Moves ui/render_complete -> src/plugins/kibana_utils.
Notes & Questions
index.ts
tokibana_utils
. But it's impossible because it shouldimport './directive
. Should I inlinedirective.js
toindex.ts
?kibana_utils
doesn't havekibana.json
. Is it intended?Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers