Skip to content
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

[Logs UI] Add link from the sample web logs to the Logs UI #42635

Merged
merged 4 commits into from
Aug 12, 2019

Conversation

Zacqary
Copy link
Contributor

@Zacqary Zacqary commented Aug 5, 2019

Summary

Closes #40687

Adds a link to the Logs UI from the sample data card:

Screen Shot 2019-08-05 at 3 36 05 PM

Not sure how to get it to display at the top of the list, as the content and order of the list items is retrieved from the server. Dashboard seems to be at the top no matter what, and the order of the rest appear in whichever order their respective plugins register.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@Zacqary Zacqary added release_note:enhancement v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.4.0 labels Aug 5, 2019
@Zacqary Zacqary requested a review from a team August 5, 2019 20:37
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@@ -67,8 +67,15 @@ export function infra(kibana: any) {
config(Joi: typeof JoiNamespace) {
return getConfigSchema(Joi);
},
init(server: KbnServer) {
init(server: any) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This follows the same convention used in other plugins that call server.addAppLinksToSampleDataset

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So according to LegacyPluginOptions that function should have the signature of InitPluginFunction and server should be of type Server. APM's index.ts file seems to be close to the "right way". We can either fix this now by expanding the scope of your PR or fix it in a follow up PR. Either way, I think we should fix it so the typing works as expected.

See: https://github.com/elastic/kibana/blob/master/src/legacy/plugin_discovery/types.ts#L87

@elasticmachine
Copy link
Contributor

💔 Build Failed

@Zacqary
Copy link
Contributor Author

Zacqary commented Aug 6, 2019

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@simianhacker simianhacker self-requested a review August 8, 2019 19:14
Copy link
Member

@simianhacker simianhacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. As far as the typing goes, I will let you make the call on how you want to proceed. If you decide to fix it in this PR then just request a "re-review" and I will take another look.

oo_________oooo___oooooooo_ooo_____ooo_
oo_______oo____oo____oo____oooo___oooo_
oo______oo___________oo____oo_oo_oo_oo_
oo______oo____ooo____oo____oo__ooo__oo_
oo_______oo____oo____oo____oo_______oo_
ooooooo____oooo______oo____oo_______oo_
_______________________________________

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Zacqary Zacqary merged commit 556d98e into elastic:master Aug 12, 2019
@Zacqary Zacqary deleted the 40687-logs-sample-link branch August 12, 2019 15:57
jloleysens added a commit to jloleysens/kibana that referenced this pull request Aug 13, 2019
…p-metrics-selectall

* 'master' of github.com:elastic/kibana: (27 commits)
  [ML] Data Frames: Analytics job creation. (elastic#43102)
  [Vis Default editor] Fix issue with Rollup (elastic#42430)
  [Vis: Default editor] EUIficate Markdown tab (elastic#42677)
  [New Platform Migration Phase I]: update dateHisogramInterval & parseEsInterval imports (elastic#42917)
  [Infra UI] Add AWS metrics to node detail page (elastic#42153)
  update apm index pattern (elastic#43106)
  [SIEM] Toggle Column / Code Coverage and Cypress (elastic#42766)
  skip failing test (elastic#43163)
  [code] Add option to turn the go dependency download on/off. (elastic#43096)
  disable visual regression jobs
  Removed dead code (elastic#42774)
  fixes csv export of saved searches that have _source field (elastic#43123)
  Export missing Context types (elastic#43051)
  Update dependency supports-color to v7 (elastic#43064)
  switch to icon type string instead of node (elastic#43111)
  [Maps] Enable borders for icon symbols (elastic#43066)
  [ftr] enable visualRegression jobs (elastic#42989)
  [ML] Converting single to multi metric job (elastic#42532)
  fix(NA): dont clean dll module if it is a package json file (elastic#42904)
  [Logs UI] Add link from the sample web logs to the Logs UI (elastic#42635)
  ...
chrisronline pushed a commit to chrisronline/kibana that referenced this pull request Aug 15, 2019
…2635)

* [Logs UI] Add link from the sample web logs to the Logs UI

* Add i18n
Kerry350 pushed a commit to Kerry350/kibana that referenced this pull request Sep 16, 2019
…2635)

* [Logs UI] Add link from the sample web logs to the Logs UI

* Add i18n
Kerry350 pushed a commit to Kerry350/kibana that referenced this pull request Sep 16, 2019
…2635)

* [Logs UI] Add link from the sample web logs to the Logs UI

* Add i18n
Kerry350 pushed a commit to Kerry350/kibana that referenced this pull request Sep 16, 2019
…2635)

* [Logs UI] Add link from the sample web logs to the Logs UI

* Add i18n
Kerry350 added a commit that referenced this pull request Sep 16, 2019
…45760)

* [Logs UI] Add link from the sample web logs to the Logs UI

* Add i18n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature release_note:enhancement Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs UI] Add link from the sample web logs to the Logs UI
3 participants