Repository navigation
Add help menu item to header - #29664
Merged
Merged
Conversation
Contributor
|
Pinging @elastic/kibana-design |
Contributor
💔 Build Failed |
Contributor
|
For the default content copy, I recommend: Get updates, information, and answers in our documentation. |
Contributor
💔 Build Failed |
This was referenced Jan 31, 2019
Contributor
|
@cchaos Excellent work! Thanks for jumping on this such short notice 🙇 |
Contributor
|
@cchaos Added APIs to feed the UI here, and also added info to the description on how to use those APIs. |
Contributor
Author
|
@spalger You are the best!!! 🥇 |
Contributor
💚 Build Succeeded |
cchaos
commented
Jan 31, 2019
cchaos
left a comment
Contributor
Author
There was a problem hiding this comment.
Adding some todo's of things I need help with. I'm hoping someone from the @elastic/kibana-app team can help.
Contributor
💔 Build Failed |
cchaos
force-pushed
the
help_header_button
branch
from
January 31, 2019 20:27
2fe4bf8 to
2d680f3
Compare
Contributor
💚 Build Succeeded |
Contributor
💚 Build Succeeded |
Contributor
Author
|
Yasss @timroes !!! Thank you!! It's all dynamic now, just going through the last of the checklist items. |
Contributor
💚 Build Succeeded |
Contributor
💚 Build Succeeded |
2 tasks
2 tasks done
patrykkopycinski
pushed a commit
to patrykkopycinski/kibana
that referenced
this pull request
May 6, 2026
* Added static help menu item to header * Update default message * [chrome] add help menu extension point apis * [chrome/headerExtension] fix test file name * prettier * Insert doclink and version dynamically * Add missing i18n * Lowercase `v` for version * Smaller width for popover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This creates a help menu button in the Kibana header that allows for linking to documentation and/or other types of feedback opportunities.
It currently accepts three props:
useDefaultContent: defaults to true and will show the default intro text and link to Kibana's docs sitedocumentationLink: default's to kibana's docs sitecustomContent: adds any custom content below the default contentAdditionally, this adds
core.chrome.setHelpExtension/getHelpExtension$andchrome.helpExtension.set/get$APIs to render a help extension in this popover.chrome.helpExtension.set()(legacy platform) orcore.chrome.setHelpExtension()(new platform) to provide the chrome with a render function that will be called with a DOM element, and should return a function to unmount the rendered componentundefinedtochrome.helpExtension.set()orcore.chrome.setHelpExtension()Example
Shows how to use the default content with additional custom content to show an extra link:
cc @formgeist and ref: #29247
@elastic/kibana-platform team (and specifically @spalger) This is ready to be hooked up. I basically dupped the app menu so it still contains (commented out) that
subscriptionstuff in case that's need to be able to pass down some of those custom options.Thanks in advance!!!
Also, the default content copy could use some love from @gchaps or @schersh
Checklist
For maintainers