Skip to content

Commit

Permalink
[ECO][Inventory v2] Remove the landing page to enable the entity model (
Browse files Browse the repository at this point in the history
elastic#205534)

Closes elastic#203095
Closes elastic#204263


## Summary

This PR removes the page for the enabling functionality and welcome
screen. After the migration to v2 API we don't need to enable it anymore
as we are not using transforms

### Before: 


![image](https://github.com/user-attachments/assets/0c8d5841-9189-4551-a1be-87801cfcf57d)


![image](https://github.com/user-attachments/assets/75a73dd8-6b16-452b-abcf-41e1fcca6645)

### After: 
The same without the extra step to enable the entities and the welcome
screen:
- No data: 

![image](https://github.com/user-attachments/assets/dbfdf501-36e7-4b6f-a8b6-ed0a6748ab62)

- With data:

![image](https://github.com/user-attachments/assets/0bbb2983-4e0a-477c-ac11-d2256b5ff854)

## Testing

- In a local environment enable the entities feature flag ( it should be
a clean env as the entities should not be enabled before ):
<img width="1911" alt="image"
src="https://github.com/user-attachments/assets/75d6f77d-5039-41ca-80ca-34c3bf99844e"
/>

- Go to Inventory 
- Check before and after ingesting data
- Synthtrace: `node scripts/synthtrace logs_traces_hosts.ts` - ~⚠️ this
case can't be checked before
elastic#203452 is merged~ -
elastic#203452 is merged 🎉
  • Loading branch information
jennypavlova authored Jan 8, 2025
1 parent 15a1611 commit d6e28f7
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 476 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25793,7 +25793,6 @@
"xpack.inventory.badgeFilterWithPopover.filterForButtonEmptyLabel": "Filtrer sur",
"xpack.inventory.badgeFilterWithPopover.openPopoverBadgeLabel": "Ouvrir la fenêtre contextuelle",
"xpack.inventory.data_view.creation_failed": "Une erreur s'est produite lors de la création de la vue de données",
"xpack.inventory.eemEnablement.errorTitle": "Erreur lors de l'activation du nouveau modèle d'entité",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsLabel": "Alertes",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsTooltip": "Le nombre d'alertes actives",
"xpack.inventory.entitiesGrid.euiDataGrid.entityNameLabel": "Nom de l'entité",
Expand All @@ -25810,13 +25809,6 @@
"xpack.inventory.home.serviceAlertsTable.tooltip.activeAlertsExplanation": "Alertes actives",
"xpack.inventory.inventoryLinkTitle": "Inventory",
"xpack.inventory.inventoryPageHeaderLabel": "Inventory",
"xpack.inventory.noData.card.button": "Activer",
"xpack.inventory.noData.card.description": "L’{inventoryLink} utilise le {link} pour afficher l'ensemble des entités observées en un seul endroit.",
"xpack.inventory.noData.card.description.inventory": "Inventory",
"xpack.inventory.noData.card.description.link": "Modèle d'entité Elastic",
"xpack.inventory.noData.page.description": "L'inventaire affichera toutes vos entités observées en un seul endroit afin que vous puissiez détecter et résoudre les problèmes liés à celles-ci plus rapidement !",
"xpack.inventory.noData.page.title": "Tout ce que vous avez en un seul endroit !",
"xpack.inventory.noData.solutionName": "Observabilité",
"xpack.inventory.noEntitiesEmptyState.actions.title": "Commencez à observer vos entités :",
"xpack.inventory.noEntitiesEmptyState.body.description": "Visualisez toutes vos entités observées en un seul endroit en collectant des données.",
"xpack.inventory.noEntitiesEmptyState.callout.title": "C'est votre premier essai ?",
Expand All @@ -25827,16 +25819,6 @@
"xpack.inventory.shareLink.shareButtonLabel": "Partager",
"xpack.inventory.shareLink.shareToastFailureLabel": "Les URL courtes ne peuvent pas être copiées.",
"xpack.inventory.shareLink.shareToastSuccessLabel": "URL courte copiée dans le presse-papiers !",
"xpack.inventory.unauthorised.body": "Vous n'avez pas les autorisations nécessaires pour activer le modèle d'entité Elastic. Veuillez demander à votre administrateur de l'activer pour vous afin que vous puissiez voir toutes vos ressources en un seul endroit.",
"xpack.inventory.unauthorised.button": "OK",
"xpack.inventory.unauthorised.image.at,": "Image de la nouvelle interface de l'inventaire des entités, montrant les services, les hôtes et les conteneurs",
"xpack.inventory.unauthorised.title": "Permissions insuffisantes",
"xpack.inventory.unauthorized.linkLabel": "En savoir plus",
"xpack.inventory.welcome.body": "L'inventaire affichera toutes vos entités observées en un seul endroit pour que vous puissiez détecter et résoudre les problèmes plus rapidement.",
"xpack.inventory.welcome.button": "OK",
"xpack.inventory.welcome.image.alt": "Image de la nouvelle interface de l'inventaire des entités, montrant les services, les hôtes et les conteneurs",
"xpack.inventory.welcome.linkLabel": "En savoir plus",
"xpack.inventory.welcome.title": "Tout ce que vous avez en un seul endroit !",
"xpack.investigateApp.addFromLibraryButtonLabel": "Importer depuis la bibliothèque",
"xpack.investigateApp.addInvestigationItem.errorMessage": "une erreur s'est produite",
"xpack.investigateApp.addInvestigationItem.errorTitle": "Erreur",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25652,7 +25652,6 @@
"xpack.inventory.badgeFilterWithPopover.filterForButtonEmptyLabel": "フィルター",
"xpack.inventory.badgeFilterWithPopover.openPopoverBadgeLabel": "ポップオーバーを開く",
"xpack.inventory.data_view.creation_failed": "データビューの作成中にエラーが発生しました",
"xpack.inventory.eemEnablement.errorTitle": "新しいエンティティモデルの有効化エラー",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsLabel": "アラート",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsTooltip": "アクティブなアラートの件数",
"xpack.inventory.entitiesGrid.euiDataGrid.entityNameLabel": "エンティティ名",
Expand All @@ -25669,13 +25668,6 @@
"xpack.inventory.home.serviceAlertsTable.tooltip.activeAlertsExplanation": "アクティブアラート",
"xpack.inventory.inventoryLinkTitle": "インベントリ",
"xpack.inventory.inventoryPageHeaderLabel": "インベントリ",
"xpack.inventory.noData.card.button": "有効にする",
"xpack.inventory.noData.card.description": "{inventoryLink}は、{link}を使用して、観測されたエンティティをすべて一元的に表示します。",
"xpack.inventory.noData.card.description.inventory": "インベントリ",
"xpack.inventory.noData.card.description.link": "Elasticエンティティモデル",
"xpack.inventory.noData.page.description": "インベントリでは、観測されたすべてのエンティティが一元的に表示されるため、それらの問題をより迅速に検出および解決することができます!",
"xpack.inventory.noData.page.title": "すべてを一元的に確認できます!",
"xpack.inventory.noData.solutionName": "Observability",
"xpack.inventory.noEntitiesEmptyState.actions.title": "エンティティの観測を開始:",
"xpack.inventory.noEntitiesEmptyState.body.description": "いくつかのデータを収集することで、観測されたエンティティをすべて一元的に確認できます。",
"xpack.inventory.noEntitiesEmptyState.callout.title": "初めて試す場合",
Expand All @@ -25686,16 +25678,6 @@
"xpack.inventory.shareLink.shareButtonLabel": "共有",
"xpack.inventory.shareLink.shareToastFailureLabel": "短縮URLをコピーできません。",
"xpack.inventory.shareLink.shareToastSuccessLabel": "短縮URLがクリップボードにコピーされました!",
"xpack.inventory.unauthorised.body": "Elasticエンティティモデルをオンにする権限がありません。すべてを一元的に確認できるように、管理者にこの機能を有効にするよう依頼してください。",
"xpack.inventory.unauthorised.button": "OK",
"xpack.inventory.unauthorised.image.at,": "サービス、ホスト、コンテナーを表示する、エンティティの在庫の新しいエクスペリエンスの図",
"xpack.inventory.unauthorised.title": "パーミッションがありません",
"xpack.inventory.unauthorized.linkLabel": "詳細",
"xpack.inventory.welcome.body": "インベントリでは、観測されたすべてのエンティティが一元的に表示されるため、それらの問題をより迅速に検出および解決することができます。",
"xpack.inventory.welcome.button": "OK",
"xpack.inventory.welcome.image.alt": "サービス、ホスト、コンテナーを表示する、エンティティの在庫の新しいエクスペリエンスの図",
"xpack.inventory.welcome.linkLabel": "詳細",
"xpack.inventory.welcome.title": "すべてを一元的に確認できます!",
"xpack.investigateApp.addFromLibraryButtonLabel": "ライブラリからインポート",
"xpack.investigateApp.addInvestigationItem.errorMessage": "エラーが発生しました",
"xpack.investigateApp.addInvestigationItem.errorTitle": "エラー",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25219,7 +25219,6 @@
"xpack.inventory.badgeFilterWithPopover.filterForButtonEmptyLabel": "筛留",
"xpack.inventory.badgeFilterWithPopover.openPopoverBadgeLabel": "打开弹出框",
"xpack.inventory.data_view.creation_failed": "创建数据视图时出错",
"xpack.inventory.eemEnablement.errorTitle": "启用新实体模型时出错",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsLabel": "告警",
"xpack.inventory.entitiesGrid.euiDataGrid.alertsTooltip": "活动告警计数",
"xpack.inventory.entitiesGrid.euiDataGrid.entityNameLabel": "实体名称",
Expand All @@ -25236,13 +25235,6 @@
"xpack.inventory.home.serviceAlertsTable.tooltip.activeAlertsExplanation": "活动告警",
"xpack.inventory.inventoryLinkTitle": "库存",
"xpack.inventory.inventoryPageHeaderLabel": "库存",
"xpack.inventory.noData.card.button": "启用",
"xpack.inventory.noData.card.description": "{inventoryLink} 使用 {link} 在一个位置显示您观察到的所有实体。",
"xpack.inventory.noData.card.description.inventory": "库存",
"xpack.inventory.noData.card.description.link": "Elastic 实体模型",
"xpack.inventory.noData.page.description": "库存将在一个位置显示您观察到的所有实体,以便您更快检测并解决它们存在的问题!",
"xpack.inventory.noData.page.title": "在一个位置查看您的所有内容!",
"xpack.inventory.noData.solutionName": "Observability",
"xpack.inventory.noEntitiesEmptyState.actions.title": "开始观察您的实体:",
"xpack.inventory.noEntitiesEmptyState.body.description": "通过收集某些数据,在一个位置查看您观察到的所有实体。",
"xpack.inventory.noEntitiesEmptyState.callout.title": "第一次尝试?",
Expand All @@ -25253,16 +25245,6 @@
"xpack.inventory.shareLink.shareButtonLabel": "共享",
"xpack.inventory.shareLink.shareToastFailureLabel": "无法复制短 URL。",
"xpack.inventory.shareLink.shareToastSuccessLabel": "短 URL 已复制到剪贴板!",
"xpack.inventory.unauthorised.body": "您无权打开 Elastic 实体模型。请联系管理员为您启用此模型,以便在一个位置查看您的所有内容。",
"xpack.inventory.unauthorised.button": "确定",
"xpack.inventory.unauthorised.image.at,": "实体库存新体验的图像,显示服务、主机和容器",
"xpack.inventory.unauthorised.title": "权限不足",
"xpack.inventory.unauthorized.linkLabel": "了解详情",
"xpack.inventory.welcome.body": "库存将在一个位置显示您观察到的所有实体,以便您更快检测并解决它们存在的问题。",
"xpack.inventory.welcome.button": "确定",
"xpack.inventory.welcome.image.alt": "实体库存新体验的图像,显示服务、主机和容器",
"xpack.inventory.welcome.linkLabel": "了解详情",
"xpack.inventory.welcome.title": "在一个位置查看您的所有内容!",
"xpack.investigateApp.addFromLibraryButtonLabel": "从库中导入",
"xpack.investigateApp.addInvestigationItem.errorMessage": "发生错误",
"xpack.investigateApp.addInvestigationItem.errorTitle": "错误",
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d6e28f7

Please sign in to comment.