diff --git a/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx b/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx
index 17ec42b3e2016..07af7b0c0e7db 100644
--- a/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx
@@ -28,7 +28,7 @@ export const Title = () => (
'xpack.apm.settings.customizeUI.customLink.info',
{
defaultMessage:
- "These links will be shown in the 'Actions' context menu for the transaction detail."
+ 'These links will be shown in the Actions context menu for transactions.'
}
)}
/>
diff --git a/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/index.tsx
index 1cd1298fdd549..350f2185fb3c8 100644
--- a/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/index.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/app/Settings/CustomizeUI/index.tsx
@@ -14,8 +14,8 @@ export const CustomizeUI = () => {
<>
- {i18n.translate('xpack.apm.settings.customizeUI', {
- defaultMessage: 'Customize UI'
+ {i18n.translate('xpack.apm.settings.customizeApp', {
+ defaultMessage: 'Customize app'
})}
diff --git a/x-pack/legacy/plugins/apm/public/components/app/Settings/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/Settings/index.tsx
index f33bb17decd4e..2bb85876686bf 100644
--- a/x-pack/legacy/plugins/apm/public/components/app/Settings/index.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/app/Settings/index.tsx
@@ -57,8 +57,8 @@ export const Settings: React.FC = props => {
isSelected: pathname === '/settings/apm-indices'
},
{
- name: i18n.translate('xpack.apm.settings.customizeUI', {
- defaultMessage: 'Customize UI'
+ name: i18n.translate('xpack.apm.settings.customizeApp', {
+ defaultMessage: 'Customize app'
}),
id: '3',
href: getAPMHref('/settings/customize-ui', search),
diff --git a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.test.tsx
index 2dab8d63f99b2..9d1eeb9a3136d 100644
--- a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.test.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.test.tsx
@@ -28,7 +28,7 @@ describe('Custom links', () => {
);
expectTextsInDocument(component, [
- 'No custom links found. Set up your own custom links i.e. a link to a specific Dashboard or external link.'
+ 'No custom links found. Set up your own custom links, e.g., a link to a specific Dashboard or external link.'
]);
expectTextsNotInDocument(component, ['Create']);
});
diff --git a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx
index b32d8f0d9582c..38b672a181fce 100644
--- a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx
@@ -55,7 +55,7 @@ export const CustomLink = ({
{i18n.translate('xpack.apm.customLink.empty', {
defaultMessage:
- 'No custom links found. Set up your own custom links i.e. a link to a specific Dashboard or external link.'
+ 'No custom links found. Set up your own custom links, e.g., a link to a specific Dashboard or external link.'
})}
diff --git a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx
index 048ed662ec502..e3fbcf8485d54 100644
--- a/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx
+++ b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx
@@ -85,7 +85,13 @@ export const TransactionActionMenu: FunctionComponent = ({
urlParams
});
+ const closePopover = () => {
+ setIsActionPopoverOpen(false);
+ setIsCustomLinksPopoverOpen(false);
+ };
+
const toggleCustomLinkFlyout = () => {
+ closePopover();
setIsCustomLinkFlyoutOpen(isOpen => !isOpen);
};
@@ -111,10 +117,7 @@ export const TransactionActionMenu: FunctionComponent = ({
)}