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

[APM] Fix condition for enabling isEntityCentricExperienceView #188343

Merged
merged 11 commits into from
Jul 16, 2024

Conversation

kpatticha
Copy link
Contributor

@kpatticha kpatticha commented Jul 15, 2024

fixes https://github.com/elastic/observability-dev/issues/3736

Summary

Initially, the new entity experience view was enabled if the entity data transform was activated.

However, this is not the desired behavior: when reverting to the classic view, the entity definition was being deleted. Return to the classic view should only affect the individual user.

  • The entity definition resides on the cluster.
  • The entity centric experience feature flag is set per space.
  • The entity view is set per browser.

Changes

  • The new view (isEntityCentricExperienceViewEnabled) is now determined by checking entity manager enablement, feature flag, and local storage.
  • Restoring the classic view no longer deletes the data transforms.
Screen.Recording.2024-07-15.at.20.26.36.mov

@kpatticha kpatticha requested a review from a team as a code owner July 15, 2024 17:46
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Jul 15, 2024
@elasticmachine
Copy link
Contributor

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

@obltmachine
Copy link

🤖 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!)

@kpatticha kpatticha added release_note:skip Skip the PR/issue when compiling release notes v8.16.0 labels Jul 15, 2024
@kpatticha kpatticha requested a review from cauemarcondes July 16, 2024 12:05
Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@kpatticha kpatticha enabled auto-merge (squash) July 16, 2024 12:23
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#6555

[❌] APM - Cypress: 0/2 tests passed.

see run history

@kpatticha kpatticha added the apm:cypress-record cypress test runs will be recorded to the cypress dashboard label Jul 16, 2024
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#6557

[❌] APM - Cypress: 0/10 tests passed.

see run history

@elasticmachine
Copy link
Contributor

elasticmachine commented Jul 16, 2024

💚 Build Succeeded

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
apm 3.5MB 3.5MB +668.0B

History

@kpatticha kpatticha merged commit 9557e06 into elastic:main Jul 16, 2024
23 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 16, 2024
@roshan-elastic
Copy link

Hey @kpatticha, quick question...

Look at the PR description it confirms that one user clicking 'return to classic' will not turn off EEM for the cluster (and other users can still leverage the new experience).

The video shows a slightly different journey where the user turns off the feature flag (vs someone clicking 'return to classic').

I just wanted to confirm that for a cluster running the EEM transforms, if a user 'returns to classic' then other users will still continue to be able to enjoy the new experience (because the transforms are still running)?

I'm 99% sure the answer is 'yes' but just double-checking.

@kpatticha
Copy link
Contributor Author

@roshan-elastic Yes, 'returns to classic' no longer deletes the data transforms

Screen.Recording.2024-07-17.at.12.19.12.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:cypress-record cypress test runs will be recorded to the cypress dashboard backport:skip This commit does not require backporting 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 v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants