-
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
[ECO][Inventory v2] Remove the landing page to enable the entity model #205534
[ECO][Inventory v2] Remove the landing page to enable the entity model #205534
Conversation
…tion endpoint using sources (elastic#203424)" This reverts commit 5bacf1f.
…ge-to-enable-the-entity-model
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
useEuiTheme, | ||
COLOR_MODES_STANDARD, | ||
} from '@elastic/eui'; | ||
import inventoryLight from '../../assets/entities_inventory_light.png'; |
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 remove these images since they're not being used?
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.
Good catch, thanks! Removed here :)
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.
code LGTM. I didn't test it locally due to the blocked PR."
…ge-to-enable-the-entity-model
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!
…ge-to-enable-the-entity-model
…ge-to-enable-the-entity-model
…ge-to-enable-the-entity-model
…ge-to-enable-the-entity-model
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.
Tested and working fine
…ge-to-enable-the-entity-model
…ge-to-enable-the-entity-model
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsmiscellaneous assets size
History
|
Starting backport for target branches: 8.x |
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 🎉 (cherry picked from commit d6e28f7)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…y model (#205534) (#205958) # Backport This will backport the following commits from `main` to `8.x`: - [[ECO][Inventory v2] Remove the landing page to enable the entity model (#205534)](#205534) <!--- 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-01-08T19:30:17Z","message":"[ECO][Inventory v2] Remove the landing page to enable the entity model (#205534)\n\nCloses #203095\r\nCloses https://github.com/elastic/kibana/issues/204263\r\n\r\n\r\n## Summary\r\n\r\nThis PR removes the page for the enabling functionality and welcome\r\nscreen. After the migration to v2 API we don't need to enable it anymore\r\nas we are not using transforms\r\n\r\n### Before: \r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0c8d5841-9189-4551-a1be-87801cfcf57d)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/75a73dd8-6b16-452b-abcf-41e1fcca6645)\r\n\r\n### After: \r\nThe same without the extra step to enable the entities and the welcome\r\nscreen:\r\n- No data: \r\n\r\n![image](https://github.com/user-attachments/assets/dbfdf501-36e7-4b6f-a8b6-ed0a6748ab62)\r\n\r\n- With data:\r\n\r\n![image](https://github.com/user-attachments/assets/0bbb2983-4e0a-477c-ac11-d2256b5ff854)\r\n\r\n## Testing\r\n\r\n- In a local environment enable the entities feature flag ( it should be\r\na clean env as the entities should not be enabled before ):\r\n<img width=\"1911\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/75d6f77d-5039-41ca-80ca-34c3bf99844e\"\r\n/>\r\n\r\n- Go to Inventory \r\n- Check before and after ingesting data\r\n- Synthtrace: `node scripts/synthtrace logs_traces_hosts.ts` - ~⚠️ this\r\ncase can't be checked before\r\nhttps://github.com//pull/203452 is merged~ -\r\nhttps://github.com//pull/203452 is merged 🎉","sha":"d6e28f766ac5363b4a6888871a2813538a4ee367","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[ECO][Inventory v2] Remove the landing page to enable the entity model","number":205534,"url":"https://github.com/elastic/kibana/pull/205534","mergeCommit":{"message":"[ECO][Inventory v2] Remove the landing page to enable the entity model (#205534)\n\nCloses #203095\r\nCloses https://github.com/elastic/kibana/issues/204263\r\n\r\n\r\n## Summary\r\n\r\nThis PR removes the page for the enabling functionality and welcome\r\nscreen. After the migration to v2 API we don't need to enable it anymore\r\nas we are not using transforms\r\n\r\n### Before: \r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0c8d5841-9189-4551-a1be-87801cfcf57d)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/75a73dd8-6b16-452b-abcf-41e1fcca6645)\r\n\r\n### After: \r\nThe same without the extra step to enable the entities and the welcome\r\nscreen:\r\n- No data: \r\n\r\n![image](https://github.com/user-attachments/assets/dbfdf501-36e7-4b6f-a8b6-ed0a6748ab62)\r\n\r\n- With data:\r\n\r\n![image](https://github.com/user-attachments/assets/0bbb2983-4e0a-477c-ac11-d2256b5ff854)\r\n\r\n## Testing\r\n\r\n- In a local environment enable the entities feature flag ( it should be\r\na clean env as the entities should not be enabled before ):\r\n<img width=\"1911\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/75d6f77d-5039-41ca-80ca-34c3bf99844e\"\r\n/>\r\n\r\n- Go to Inventory \r\n- Check before and after ingesting data\r\n- Synthtrace: `node scripts/synthtrace logs_traces_hosts.ts` - ~⚠️ this\r\ncase can't be checked before\r\nhttps://github.com//pull/203452 is merged~ -\r\nhttps://github.com//pull/203452 is merged 🎉","sha":"d6e28f766ac5363b4a6888871a2813538a4ee367"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205534","number":205534,"mergeCommit":{"message":"[ECO][Inventory v2] Remove the landing page to enable the entity model (#205534)\n\nCloses #203095\r\nCloses https://github.com/elastic/kibana/issues/204263\r\n\r\n\r\n## Summary\r\n\r\nThis PR removes the page for the enabling functionality and welcome\r\nscreen. After the migration to v2 API we don't need to enable it anymore\r\nas we are not using transforms\r\n\r\n### Before: \r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0c8d5841-9189-4551-a1be-87801cfcf57d)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/75a73dd8-6b16-452b-abcf-41e1fcca6645)\r\n\r\n### After: \r\nThe same without the extra step to enable the entities and the welcome\r\nscreen:\r\n- No data: \r\n\r\n![image](https://github.com/user-attachments/assets/dbfdf501-36e7-4b6f-a8b6-ed0a6748ab62)\r\n\r\n- With data:\r\n\r\n![image](https://github.com/user-attachments/assets/0bbb2983-4e0a-477c-ac11-d2256b5ff854)\r\n\r\n## Testing\r\n\r\n- In a local environment enable the entities feature flag ( it should be\r\na clean env as the entities should not be enabled before ):\r\n<img width=\"1911\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/75d6f77d-5039-41ca-80ca-34c3bf99844e\"\r\n/>\r\n\r\n- Go to Inventory \r\n- Check before and after ingesting data\r\n- Synthtrace: `node scripts/synthtrace logs_traces_hosts.ts` - ~⚠️ this\r\ncase can't be checked before\r\nhttps://github.com//pull/203452 is merged~ -\r\nhttps://github.com//pull/203452 is merged 🎉","sha":"d6e28f766ac5363b4a6888871a2813538a4ee367"}}]}] BACKPORT--> Co-authored-by: jennypavlova <[email protected]>
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 🎉
Closes #203095
Closes #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:
After:
The same without the extra step to enable the entities and the welcome screen:
No data:
With data:
Testing
node scripts/synthtrace logs_traces_hosts.ts
-⚠️ this case can't be checked before [ECO] Use new Entity v2 endpoints in Inventory #203452 is merged- [ECO] Use new Entity v2 endpoints in Inventory #203452 is merged 🎉