Skip to content

Conversation

@crespocarlos
Copy link
Contributor

@crespocarlos crespocarlos commented Dec 1, 2025

part of 239158

Summary

This PR is a follow-up from the changes made for 239158. lastReloadRequestTime was receiving Date.now() and this was causing the chart to reload whenever it returned to the viewport. fetchParams provides a lastReloadRequestTime attribute, which is safer to use

How to test

  • Start a local Kibana instance and point it to an oblt cluster
feature_flags.overrides:
  metricsExperienceEnabled: true
  • Navigate to Discover and Switch to ESQL mode
  • After the grid loads, scroll up or down. The charts should not try to load data.

@crespocarlos crespocarlos added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v9.3.0 labels Dec 1, 2025
@crespocarlos crespocarlos marked this pull request as ready for review December 1, 2025 12:41
@crespocarlos crespocarlos requested a review from a team as a code owner December 1, 2025 12:41
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@miloszmarcinkowski miloszmarcinkowski left a comment

Choose a reason for hiding this comment

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

LGTM, code review only

@crespocarlos crespocarlos enabled auto-merge (squash) December 1, 2025 14:31
@crespocarlos crespocarlos merged commit 3874f40 into elastic:main Dec 1, 2025
12 checks passed
tkajtoch pushed a commit to tkajtoch/kibana that referenced this pull request Dec 1, 2025
…c#244761)

part of [239158](elastic#239158)
## Summary

This PR is a follow-up from the changes made for
[239158](elastic#239158).
`lastReloadRequestTime` was receiving `Date.now()` and this was causing
the chart to reload whenever it returned to the viewport. `fetchParams`
provides a `lastReloadRequestTime` attribute, which is safer to use

### How to test
- Start a local Kibana instance and point it to an oblt cluster 
```yml
feature_flags.overrides:
  metricsExperienceEnabled: true
 ```
- Navigate to Discover and Switch to ESQL mode
- After the grid loads, scroll up or down. The charts should not try to load data.

---------

Co-authored-by: kibanamachine <[email protected]>
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Dec 2, 2025
…c#244761)

part of [239158](elastic#239158)
## Summary

This PR is a follow-up from the changes made for
[239158](elastic#239158).
`lastReloadRequestTime` was receiving `Date.now()` and this was causing
the chart to reload whenever it returned to the viewport. `fetchParams`
provides a `lastReloadRequestTime` attribute, which is safer to use

### How to test
- Start a local Kibana instance and point it to an oblt cluster 
```yml
feature_flags.overrides:
  metricsExperienceEnabled: true
 ```
- Navigate to Discover and Switch to ESQL mode
- After the grid loads, scroll up or down. The charts should not try to load data.

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants