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] Turn off entityCentricExperience feature flag by default #204278

Conversation

jennypavlova
Copy link
Member

@jennypavlova jennypavlova commented Dec 13, 2024

Closes #204238

Summary

This PR turns off theentityCentricExperience feature flag by default

Before After
image image
image image
image image
image image

Testing

The entityCentricExperience feature flag should be turned off by default and the inventory menu item should not be visible. The inventory menu item should be visible if the flag is manually turned on.

ff_entities_off.on.mov

@jennypavlova jennypavlova added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Dec 13, 2024
@jennypavlova jennypavlova self-assigned this Dec 13, 2024
@jennypavlova jennypavlova requested review from a team as code owners December 13, 2024 19:52
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team labels Dec 13, 2024
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

@rmyz rmyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, LGTM!

@jennypavlova
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

There are no new commits on the base branch.

@iblancof
Copy link
Contributor

To provide visibility on this, even with the Advanced Setting disabled by default, the Inventory plugin will appear in the feature visibility and user roles sections.

This is because enabling the plugin through an Advanced Setting isn't directly tied to permissions.

Feature Roles
Screenshot 2024-12-16 at 11 34 09 Screenshot 2024-12-16 at 11 36 37

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, works fine 👍🏻

@@ -11,7 +11,7 @@ import { useKibanaContextForPlugin } from './use_kibana';
export function useEntityCentricExperienceSetting() {
const { uiSettings } = useKibanaContextForPlugin().services;

const isEntityCentricExperienceEnabled = uiSettings.get<boolean>(entityCentricExperience, true);
const isEntityCentricExperienceEnabled = uiSettings.get<boolean>(entityCentricExperience);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When not specified, default is false?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should be false by default.

@jennypavlova jennypavlova enabled auto-merge (squash) December 16, 2024 15:43
@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 17, 2024

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 512946e
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-204278-512946e1068d

Failed CI Steps

Test Failures

  • [job] [logs] Jest Integration Tests #5 / Migration actions - serverless environment reindex & waitForReindexTask resolves right and proceeds to add missing documents if there are some existing docs conflicts

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
infra 1.7MB 1.7MB -3.0B

History

cc @jennypavlova

@jennypavlova jennypavlova merged commit 62c99f7 into elastic:main Dec 17, 2024
11 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12379755631

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 17, 2024
…default (elastic#204278)

Closes elastic#204238

## Summary

This PR turns off the`entityCentricExperience` feature flag by default

| Before | After |
| ------ | ------ |
| <img width="1917" alt="image"
src="https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0"
/>|
![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|
|
![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|
<img width="343" alt="image"
src="https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08"
/> |
|
![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|
<img width="259" alt="image"
src="https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23"
/> |
|
![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)
|
![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|

## Testing
The `entityCentricExperience` feature flag should be turned off by
default and the inventory menu item should not be visible. The inventory
menu item should be visible if the flag is manually turned on.

https://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
(cherry picked from commit 62c99f7)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 18, 2024
…ag by default (#204278) (#204648)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ECO][Inventory V2] Turn off entityCentricExperience feature flag by
default (#204278)](#204278)

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

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

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2024-12-17T19:09:37Z","message":"[ECO][Inventory
V2] Turn off entityCentricExperience feature flag by default
(#204278)\n\nCloses #204238 \r\n\r\n## Summary\r\n\r\nThis PR turns off
the`entityCentricExperience` feature flag by default \r\n\r\n| Before |
After |\r\n| ------ | ------ |\r\n| <img width=\"1917\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0\"\r\n/>|\r\n![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|\r\n|\r\n![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|\r\n<img
width=\"343\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|\r\n<img
width=\"259\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)\r\n|\r\n![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|\r\n\r\n##
Testing\r\nThe `entityCentricExperience` feature flag should be turned
off by\r\ndefault and the inventory menu item should not be visible. The
inventory\r\nmenu item should be visible if the flag is manually turned
on.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"62c99f73fdbf2649b75baf4d1fa3092850068c36","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","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","v8.18.0"],"title":"[ECO][Inventory
V2] Turn off entityCentricExperience feature flag by
default","number":204278,"url":"https://github.com/elastic/kibana/pull/204278","mergeCommit":{"message":"[ECO][Inventory
V2] Turn off entityCentricExperience feature flag by default
(#204278)\n\nCloses #204238 \r\n\r\n## Summary\r\n\r\nThis PR turns off
the`entityCentricExperience` feature flag by default \r\n\r\n| Before |
After |\r\n| ------ | ------ |\r\n| <img width=\"1917\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0\"\r\n/>|\r\n![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|\r\n|\r\n![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|\r\n<img
width=\"343\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|\r\n<img
width=\"259\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)\r\n|\r\n![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|\r\n\r\n##
Testing\r\nThe `entityCentricExperience` feature flag should be turned
off by\r\ndefault and the inventory menu item should not be visible. The
inventory\r\nmenu item should be visible if the flag is manually turned
on.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"62c99f73fdbf2649b75baf4d1fa3092850068c36"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204278","number":204278,"mergeCommit":{"message":"[ECO][Inventory
V2] Turn off entityCentricExperience feature flag by default
(#204278)\n\nCloses #204238 \r\n\r\n## Summary\r\n\r\nThis PR turns off
the`entityCentricExperience` feature flag by default \r\n\r\n| Before |
After |\r\n| ------ | ------ |\r\n| <img width=\"1917\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0\"\r\n/>|\r\n![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|\r\n|\r\n![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|\r\n<img
width=\"343\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|\r\n<img
width=\"259\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23\"\r\n/>
|\r\n|\r\n![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)\r\n|\r\n![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|\r\n\r\n##
Testing\r\nThe `entityCentricExperience` feature flag should be turned
off by\r\ndefault and the inventory menu item should not be visible. The
inventory\r\nmenu item should be visible if the flag is manually turned
on.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"62c99f73fdbf2649b75baf4d1fa3092850068c36"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Dec 19, 2024
…default (elastic#204278)

Closes elastic#204238 

## Summary

This PR turns off the`entityCentricExperience` feature flag by default 

| Before | After |
| ------ | ------ |
| <img width="1917" alt="image"
src="https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0"
/>|
![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|
|
![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|
<img width="343" alt="image"
src="https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08"
/> |
|
![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|
<img width="259" alt="image"
src="https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23"
/> |
|
![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)
|
![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|

## Testing
The `entityCentricExperience` feature flag should be turned off by
default and the inventory menu item should not be visible. The inventory
menu item should be visible if the flag is manually turned on.


https://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
benakansara pushed a commit to benakansara/kibana that referenced this pull request Jan 2, 2025
…default (elastic#204278)

Closes elastic#204238 

## Summary

This PR turns off the`entityCentricExperience` feature flag by default 

| Before | After |
| ------ | ------ |
| <img width="1917" alt="image"
src="https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0"
/>|
![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|
|
![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|
<img width="343" alt="image"
src="https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08"
/> |
|
![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|
<img width="259" alt="image"
src="https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23"
/> |
|
![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)
|
![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|

## Testing
The `entityCentricExperience` feature flag should be turned off by
default and the inventory menu item should not be visible. The inventory
menu item should be visible if the flag is manually turned on.


https://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 13, 2025
…default (elastic#204278)

Closes elastic#204238 

## Summary

This PR turns off the`entityCentricExperience` feature flag by default 

| Before | After |
| ------ | ------ |
| <img width="1917" alt="image"
src="https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0"
/>|
![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|
|
![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|
<img width="343" alt="image"
src="https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08"
/> |
|
![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|
<img width="259" alt="image"
src="https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23"
/> |
|
![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)
|
![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|

## Testing
The `entityCentricExperience` feature flag should be turned off by
default and the inventory menu item should not be visible. The inventory
menu item should be visible if the flag is manually turned on.


https://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
…default (elastic#204278)

Closes elastic#204238 

## Summary

This PR turns off the`entityCentricExperience` feature flag by default 

| Before | After |
| ------ | ------ |
| <img width="1917" alt="image"
src="https://github.com/user-attachments/assets/dbbe5b84-e16a-4578-8e67-1b3c31406da0"
/>|
![image](https://github.com/user-attachments/assets/20906756-3209-4b16-a44b-eacba6180874)|
|
![image](https://github.com/user-attachments/assets/37e1b6bc-1395-4f32-8e5b-1ddf4afd93b6)|
<img width="343" alt="image"
src="https://github.com/user-attachments/assets/66042e33-2cc9-4aa0-a9c7-e6a441141c08"
/> |
|
![image](https://github.com/user-attachments/assets/16b78af2-f9fc-4263-87cd-9dfa978410da)|
<img width="259" alt="image"
src="https://github.com/user-attachments/assets/37f54dd4-a969-4882-ab41-d94381bc1b23"
/> |
|
![image](https://github.com/user-attachments/assets/90d1b791-8f7f-40c2-a73b-3263cfc17a7f)
|
![image](https://github.com/user-attachments/assets/fd0417b0-5257-4bca-993f-51c08be47c14)|

## Testing
The `entityCentricExperience` feature flag should be turned off by
default and the inventory menu item should not be visible. The inventory
menu item should be visible if the flag is manually turned on.


https://github.com/user-attachments/assets/7bee8ccb-bb29-451e-8a64-22325d9d8477

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ECO][Inventory V2] Turn off entityCentricExperience feature flag by default
6 participants