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

[ObsUX][Infra] Fix loading spinner and tooltip for host from APM #191908

Conversation

MiriamAparicio
Copy link
Contributor

Closes #191579

Summary

When working on finding the root cause of the bug, another bug related was discovered on the host detected by APM tooltip, it was introduced by this PR when we check for metadataLoading to finish, as we don’t do it for the asset details page the loading spinner wasn’t shown there when refreshing the page, but the tooltip shows because is still waiting for the metadata request to finish in order to retrieve the integration.
To fix this, we don't apply loading spinner to the asset name, but we do it for the tooltip

BEFORE

Screen.Recording.2024-08-30.at.15.43.48.mov

AFTER

Screen.Recording.2024-09-02.at.12.40.42.mov

@MiriamAparicio MiriamAparicio added 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 labels Sep 2, 2024
@MiriamAparicio MiriamAparicio requested a review from a team as a code owner September 2, 2024 11:55
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Sep 2, 2024
@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!)

Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

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

Thank you for the fix! 💯
I added some comments to remove some unused parts apart from that it looks good!

@MiriamAparicio MiriamAparicio force-pushed the 191579-fix-loading-spiner-asset-name branch from 9665c20 to d5b93ce Compare September 2, 2024 13:26
@MiriamAparicio MiriamAparicio force-pushed the 191579-fix-loading-spiner-asset-name branch from 38d96dd to a2a7c29 Compare September 2, 2024 15:38
@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 3, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 349009e
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-191908-349009e899c7

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.5MB 1.5MB -149.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jennypavlova jennypavlova self-requested a review September 3, 2024 09:58
Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 Thank you for adding the changes!

@MiriamAparicio MiriamAparicio merged commit 051f04c into elastic:main Sep 3, 2024
22 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Sep 3, 2024
@MiriamAparicio MiriamAparicio deleted the 191579-fix-loading-spiner-asset-name branch September 3, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

[Infra] Asset name loading spinner appears when it's not needed
7 participants