Skip to content

Commit

Permalink
[8.14] [Synthetics] Enable Synthetics menu to be searched in the glob…
Browse files Browse the repository at this point in the history
…al search bar (#182613) (#182684)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[Synthetics] Enable Synthetics menu to be searched in the global
search bar (#182613)](#182613)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-05-06T13:21:21Z","message":"[Synthetics]
Enable Synthetics menu to be searched in the global search bar
(#182613)\n\ncloses
[#181974](#181974
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot or\r\ngif.\r\n<img width=\"1144\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/5d26f562-bf9f-44e4-a9d8-e3d4a2d0e781\">\r\n\r\n<img
width=\"1148\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/7370fbf2-27fb-4de3-84ff-b2f3ade8ee73\">\r\n\r\n\r\n###
How to test\r\n- run `yarn es serverless --projectType=oblt --kill
--clean --license\r\ntrial -E
xpack.security.authc.api_key.enabled=true`\r\n- run `yarn
serverless-oblt`\r\n- type Synthetics in the top searchbar\r\n- do the
same in stateful\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0b8f97ff393ef08dcb5f70793e5c960a7ccd091f","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Synthetics","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.15.0"],"title":"[Synthetics]
Enable Synthetics menu to be searched in the global search
bar","number":182613,"url":"#182613
Enable Synthetics menu to be searched in the global search bar
(#182613)\n\ncloses
[#181974](#181974
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot or\r\ngif.\r\n<img width=\"1144\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/5d26f562-bf9f-44e4-a9d8-e3d4a2d0e781\">\r\n\r\n<img
width=\"1148\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/7370fbf2-27fb-4de3-84ff-b2f3ade8ee73\">\r\n\r\n\r\n###
How to test\r\n- run `yarn es serverless --projectType=oblt --kill
--clean --license\r\ntrial -E
xpack.security.authc.api_key.enabled=true`\r\n- run `yarn
serverless-oblt`\r\n- type Synthetics in the top searchbar\r\n- do the
same in stateful\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0b8f97ff393ef08dcb5f70793e5c960a7ccd091f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"#182613
Enable Synthetics menu to be searched in the global search bar
(#182613)\n\ncloses
[#181974](#181974
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot or\r\ngif.\r\n<img width=\"1144\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/5d26f562-bf9f-44e4-a9d8-e3d4a2d0e781\">\r\n\r\n<img
width=\"1148\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/7370fbf2-27fb-4de3-84ff-b2f3ade8ee73\">\r\n\r\n\r\n###
How to test\r\n- run `yarn es serverless --projectType=oblt --kill
--clean --license\r\ntrial -E
xpack.security.authc.api_key.enabled=true`\r\n- run `yarn
serverless-oblt`\r\n- type Synthetics in the top searchbar\r\n- do the
same in stateful\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0b8f97ff393ef08dcb5f70793e5c960a7ccd091f"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
  • Loading branch information
kibanamachine and crespocarlos committed May 6, 2024
1 parent a7515f0 commit bf30b7e
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,19 +159,21 @@ export class UptimePlugin
deepLinks: [
{
id: 'overview',
title: i18n.translate('xpack.synthetics.overviewPage.linkText', {
defaultMessage: 'Monitors',
}),
title: this._isServerless
? i18n.translate('xpack.synthetics.overviewPage.serverless.linkText', {
defaultMessage: 'Overview',
})
: i18n.translate('xpack.synthetics.overviewPage.linkText', {
defaultMessage: 'Monitors',
}),
path: '/',
visibleIn: this._isServerless ? ['globalSearch', 'sideNav'] : [],
},
{
id: 'certificates',
title: i18n.translate('xpack.synthetics.deepLink.certificatesPage.linkText', {
defaultMessage: 'TLS Certificates',
}),
path: '/certificates',
visibleIn: this._isServerless ? ['globalSearch', 'sideNav'] : [],
},
],
mount: async (params: AppMountParameters) => {
Expand Down

0 comments on commit bf30b7e

Please sign in to comment.