Skip to content
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 #203095

Closed
jennypavlova opened this issue Dec 5, 2024 · 5 comments · Fixed by #205534
Closed

[ECO][Inventory v2] Remove the landing page to enable the entity model #203095

jennypavlova opened this issue Dec 5, 2024 · 5 comments · Fixed by #205534
Assignees
Labels
blocked Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@jennypavlova
Copy link
Member

jennypavlova commented Dec 5, 2024

After the work in this Epic is done as a last step we want to remove the landing page with the enable action. Now that we won't be using transforms anymore we don't need the enable functionality.

This Page should be removed and instead, we should show the inventory view:
Image

AC:

  • Remove the mentioned page after the other issues are done
  • If there is no data to show in the inventory use an empty state view
  • If there is data show the inventory entities
  • The tour experience should be removed ([ECO][Inventory V2] Remove tour experience #204263)
@jennypavlova jennypavlova added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Dec 5, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@jennypavlova
Copy link
Member Author

@elastic/obs-entities After we remove the UI option to enable the entities and fully migrate to V2 we will be save to remove the EEM part of the entity manager responsible for that, right? Or do we still need to keep the transforms and the enabling logic? Should I add an issue for that ot you already have that in mind?

@miltonhultgren
Copy link
Contributor

Already removed in #204536

@jennypavlova
Copy link
Member Author

@miltonhultgren Nice, thanks for linking that! I was thinking also about those EntityClient endpoints when we remove the usage here - or are they still needed?

@miltonhultgren
Copy link
Contributor

If I understood @klacabane, we will remove those in a follow up, I suppose once you remove your usage of them!

kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Jan 8, 2025
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)
kibanamachine added a commit that referenced this issue Jan 8, 2025
…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]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Jan 13, 2025
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 🎉
viduni94 pushed a commit to viduni94/kibana that referenced this issue Jan 23, 2025
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 🎉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants