-
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
[Maps] Add help menu #32561
[Maps] Add help menu #32561
Conversation
Pinging @elastic/kibana-docs |
Pinging @elastic/kibana-gis |
💚 Build Succeeded |
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.
@@ -0,0 +1,38 @@ | |||
/* |
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.
Not sure if this file should go here. public/components
is for redux connected components. Maybe this file should go in public/shared/components
?
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 think public/components
should be renamed to public/connected_components
to make that clear but that is for another issue
@@ -205,6 +206,13 @@ app.controller('GisMapController', ($scope, $route, config, kbnUrl, localStorage | |||
{ text: $scope.map.title } | |||
]); | |||
|
|||
chrome.helpExtension.set(domElement => { |
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.
Maybe this extension point also needs to be set in https://github.com/elastic/kibana/blob/master/x-pack/plugins/maps/public/index.js so that the help context is also displayed on the listing page
I vote to point to the top of the maps documentation |
I also vote for the top of the Maps documentation. |
Works for me! |
💚 Build Succeeded |
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
code review, tested in chrome
💚 Build Succeeded |
needs backports to |
Can this be backported to 6.7? I don't think the link to docs exists in 6.7 since its using the old chrome |
I don't think we need the backport
…On Thu, Mar 7, 2019, 4:24 PM Nathan Reese ***@***.***> wrote:
Can this be backported to 6.7? I don't think the link to docs exists in
6.7 since its using the old chrome
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#32561 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AYA-f-4RjSwjqxCy8T8w2Z_rVKk7E3oHks5vUYOJgaJpZM4bhJh6>
.
|
Adds help menu to the main help button
cf. #28412 (comment)