-
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
[APM] Move APM feedback link to global Help popover #30918
[APM] Move APM feedback link to global Help popover #30918
Conversation
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
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!
retest |
💔 Build Failed |
💔 Build Failed |
@@ -28,6 +30,25 @@ import { history } from './components/shared/Links/url_helpers'; | |||
|
|||
import { I18nContext } from 'ui/i18n'; | |||
|
|||
// render APM feedback link in global help menu | |||
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.
Is this the only API for setting the help menu? I was expecting it to be more strictly defined - and if anything that it would assume React. I guess it's a good thing that it's framework agnostic - just not how I expected it to be...
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.
x-pack/plugins/apm/public/index.js
Outdated
rel="noopener" | ||
> | ||
{i18n.translate('xpack.apm.feedbackMenu.provideFeedbackTitle', { | ||
defaultMessage: 'Give APM Feedback' |
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.
Can we change this to "Provide feedback for APM"?
x-pack/plugins/apm/public/index.js
Outdated
defaultMessage: 'Give APM Feedback' | ||
})} | ||
</EuiLink>, | ||
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.
Can we add another link to the Kibana Migration Assistant? Link is /app/kibana#/management/elasticsearch/upgrade_assistant
and happens within Kibana so no target
and no rel
props necessary, afaik?
@ogupte Looks good to me, thanks 👍 |
💔 Build Failed |
💔 Build Failed |
retest |
💔 Build Failed |
retest |
💔 Build Failed |
… the datepicker section and adding the link as custom content in the global help popover.
fbaa427
to
ba43742
Compare
💚 Build Succeeded |
* [APM] Closes elastic#29687 by removing the old APM feedback link from the datepicker section and adding the link as custom content in the global help popover. * remove noreferrer property for the feedback link * [APM] updated feedback link text and added help link to migration assistant * [APM] remove unused translations related to the old feedback link
* [APM] Closes elastic#29687 by removing the old APM feedback link from the datepicker section and adding the link as custom content in the global help popover. * remove noreferrer property for the feedback link * [APM] updated feedback link text and added help link to migration assistant * [APM] remove unused translations related to the old feedback link
* [APM] Closes #29687 by removing the old APM feedback link from the datepicker section and adding the link as custom content in the global help popover. * remove noreferrer property for the feedback link * [APM] updated feedback link text and added help link to migration assistant * [APM] remove unused translations related to the old feedback link
* [APM] Closes #29687 by removing the old APM feedback link from the datepicker section and adding the link as custom content in the global help popover. * remove noreferrer property for the feedback link * [APM] updated feedback link text and added help link to migration assistant * [APM] remove unused translations related to the old feedback link
Closes #29687 by removing the old APM feedback link from the datepicker section and adding the link as custom content in the global help popover.