Skip to content

Commit b64f0b2

Browse files
[9.0] [Infra] Change "Inventory" to uppercase in "Infrastructure inventory" (#210078) (#210192)
# Backport This will backport the following commits from `main` to `9.0`: - [[Infra] Change &quot;Inventory&quot; to uppercase in &quot;Infrastructure inventory&quot; (#210078)](#210078) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-07T13:31:30Z","message":"[Infra] Change \"Inventory\" to uppercase in \"Infrastructure inventory\" (#210078)\n\nCloses #210027 \r\n\r\n## Summary\r\n\r\nThis PR changes inventory to start with a capital letter in Infra and\r\nAPM\r\n\r\n| Before | After |\r\n|-------|-------|\r\n|\r\n![image](https://github.com/user-attachments/assets/f0ec7d3c-647a-4da0-94b7-f7a9f57efd47)\r\n| <img width=\"1826\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b91a82ec-effc-45ca-9c82-622e4f631374\"\r\n/> |\r\n\r\n## How to check\r\n- Search for infra\r\n- Search for inventory\r\n- Check the left side nav \r\n- Check the Infrastructure Inventory page title\r\n- Check the breadcrumbs\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/030bab66-6f3c-45bc-9b2c-7860ae63ad24","sha":"02c3373419510a6d97c3315e63e8894c9971147d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","v9.1.0"],"title":"[Infra] Change \"Inventory\" to uppercase in \"Infrastructure inventory\"","number":210078,"url":"https://github.com/elastic/kibana/pull/210078","mergeCommit":{"message":"[Infra] Change \"Inventory\" to uppercase in \"Infrastructure inventory\" (#210078)\n\nCloses #210027 \r\n\r\n## Summary\r\n\r\nThis PR changes inventory to start with a capital letter in Infra and\r\nAPM\r\n\r\n| Before | After |\r\n|-------|-------|\r\n|\r\n![image](https://github.com/user-attachments/assets/f0ec7d3c-647a-4da0-94b7-f7a9f57efd47)\r\n| <img width=\"1826\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b91a82ec-effc-45ca-9c82-622e4f631374\"\r\n/> |\r\n\r\n## How to check\r\n- Search for infra\r\n- Search for inventory\r\n- Check the left side nav \r\n- Check the Infrastructure Inventory page title\r\n- Check the breadcrumbs\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/030bab66-6f3c-45bc-9b2c-7860ae63ad24","sha":"02c3373419510a6d97c3315e63e8894c9971147d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210078","number":210078,"mergeCommit":{"message":"[Infra] Change \"Inventory\" to uppercase in \"Infrastructure inventory\" (#210078)\n\nCloses #210027 \r\n\r\n## Summary\r\n\r\nThis PR changes inventory to start with a capital letter in Infra and\r\nAPM\r\n\r\n| Before | After |\r\n|-------|-------|\r\n|\r\n![image](https://github.com/user-attachments/assets/f0ec7d3c-647a-4da0-94b7-f7a9f57efd47)\r\n| <img width=\"1826\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b91a82ec-effc-45ca-9c82-622e4f631374\"\r\n/> |\r\n\r\n## How to check\r\n- Search for infra\r\n- Search for inventory\r\n- Check the left side nav \r\n- Check the Infrastructure Inventory page title\r\n- Check the breadcrumbs\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/030bab66-6f3c-45bc-9b2c-7860ae63ad24","sha":"02c3373419510a6d97c3315e63e8894c9971147d"}}]}] BACKPORT--> Co-authored-by: jennypavlova <[email protected]>
1 parent 803106c commit b64f0b2

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const mainApiRequestsToIntercept = [
3636

3737
const mainAliasNames = mainApiRequestsToIntercept.map(({ aliasName }) => `@${aliasName}`);
3838

39-
describe('Service inventory', () => {
39+
describe('Service Inventory', () => {
4040
before(() => {
4141
const { rangeFrom, rangeTo } = timeRange;
4242
synthtrace.index(

x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function CardFooterContent() {
3636
<LegacyAPMLink path="/services">
3737
{i18n.translate(
3838
'xpack.apm.settings.schema.success.returnText.serviceInventoryLink',
39-
{ defaultMessage: 'Service inventory' }
39+
{ defaultMessage: 'Service Inventory' }
4040
)}
4141
</LegacyAPMLink>
4242
),

x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function TipsAndResources() {
8484
},
8585
{
8686
label: i18n.translate('xpack.apm.storageExplorer.resources.serviceInventory', {
87-
defaultMessage: 'Service inventory',
87+
defaultMessage: 'Service Inventory',
8888
}),
8989
href: router.link('/services', {
9090
query: {

x-pack/solutions/observability/plugins/infra/public/translations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const metricsTitle = i18n.translate('xpack.infra.header.infrastructureTit
3535
});
3636

3737
export const inventoryTitle = i18n.translate('xpack.infra.metrics.infrastructureInventoryTitle', {
38-
defaultMessage: 'Infrastructure inventory',
38+
defaultMessage: 'Infrastructure Inventory',
3939
});
4040

4141
export const metricsExplorerTitle = i18n.translate('xpack.infra.metrics.metricsExplorerTitle', {

x-pack/solutions/observability/plugins/observability/public/navigation_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function createNavTree({ streamsAvailable }: { streamsAvailable?: boolean }) {
153153
{
154154
link: 'metrics:inventory',
155155
title: i18n.translate('xpack.observability.infrastructure.inventory', {
156-
defaultMessage: 'Infrastructure inventory',
156+
defaultMessage: 'Infrastructure Inventory',
157157
}),
158158
getIsActive: ({ pathNameSerialized, prepend }) => {
159159
return pathNameSerialized.startsWith(prepend('/app/metrics/inventory'));

x-pack/solutions/observability/plugins/serverless_observability/public/navigation_tree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const createNavigationTree = ({
8787
{
8888
link: 'apm:services',
8989
title: i18n.translate('xpack.serverlessObservability.nav.apm.services', {
90-
defaultMessage: 'Service inventory',
90+
defaultMessage: 'Service Inventory',
9191
}),
9292
},
9393
{ link: 'apm:traces' },
@@ -141,7 +141,7 @@ export const createNavigationTree = ({
141141
title: i18n.translate(
142142
'xpack.serverlessObservability.nav.infrastructureInventory',
143143
{
144-
defaultMessage: 'Infrastructure inventory',
144+
defaultMessage: 'Infrastructure Inventory',
145145
}
146146
),
147147
},

x-pack/test/functional/apps/infra/home_page.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
144144

145145
const documentTitle = await browser.getTitle();
146146
expect(documentTitle).to.contain(
147-
'Infrastructure inventory - Infrastructure - Observability - Elastic'
147+
'Infrastructure Inventory - Infrastructure - Observability - Elastic'
148148
);
149149
});
150150

@@ -459,7 +459,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
459459
await retry.tryForTime(5000, async () => {
460460
const documentTitle = await browser.getTitle();
461461
expect(documentTitle).to.contain(
462-
'host-5 - Infrastructure inventory - Infrastructure - Observability - Elastic'
462+
'host-5 - Infrastructure Inventory - Infrastructure - Observability - Elastic'
463463
);
464464
});
465465

@@ -476,7 +476,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
476476
await retry.tryForTime(5000, async () => {
477477
const documentTitle = await browser.getTitle();
478478
expect(documentTitle).to.contain(
479-
'pod-0 - Infrastructure inventory - Infrastructure - Observability - Elastic'
479+
'pod-0 - Infrastructure Inventory - Infrastructure - Observability - Elastic'
480480
);
481481
});
482482

@@ -494,7 +494,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
494494
await retry.tryForTime(5000, async () => {
495495
const documentTitle = await browser.getTitle();
496496
expect(documentTitle).to.contain(
497-
'container-id-4 - Infrastructure inventory - Infrastructure - Observability - Elastic'
497+
'container-id-4 - Infrastructure Inventory - Infrastructure - Observability - Elastic'
498498
);
499499
});
500500

x-pack/test/functional_solution_sidenav/tests/observability_sidenav.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
7070
}
7171
await solutionNavigation.sidenav.clickPanelLink('metrics:inventory');
7272
await solutionNavigation.breadcrumbs.expectBreadcrumbExists({
73-
text: 'Infrastructure inventory',
73+
text: 'Infrastructure Inventory',
7474
});
7575

7676
{

x-pack/test_serverless/functional/test_suites/observability/infra/infra.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
5757

5858
const documentTitle = await browser.getTitle();
5959
expect(documentTitle).to.contain(
60-
'Infrastructure inventory - Infrastructure - Observability - Elastic'
60+
'Infrastructure Inventory - Infrastructure - Observability - Elastic'
6161
);
6262
});
6363

@@ -87,7 +87,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
8787
await retry.try(async () => {
8888
const documentTitle = await browser.getTitle();
8989
expect(documentTitle).to.contain(
90-
'demo-stack-redis-01 - Infrastructure inventory - Infrastructure - Observability - Elastic'
90+
'demo-stack-redis-01 - Infrastructure Inventory - Infrastructure - Observability - Elastic'
9191
);
9292
});
9393

@@ -103,7 +103,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
103103
await retry.try(async () => {
104104
const documentTitle = await browser.getTitle();
105105
expect(documentTitle).to.contain(
106-
'pod-0 - Infrastructure inventory - Infrastructure - Observability - Elastic'
106+
'pod-0 - Infrastructure Inventory - Infrastructure - Observability - Elastic'
107107
);
108108
});
109109

0 commit comments

Comments
 (0)