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

[Discover] Refresh interval hidden in non time series data sets #102132

Closed
shaunmcgough opened this issue Jun 14, 2021 · 6 comments · Fixed by #137134
Closed

[Discover] Refresh interval hidden in non time series data sets #102132

shaunmcgough opened this issue Jun 14, 2021 · 6 comments · Fixed by #137134
Assignees
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@shaunmcgough
Copy link

Description

If you select an automatic refresh interval in Discover for a time series data set, and then change to a non time series data set, the data set will still refresh as per your setting, and there is no way to change it back unless you re-open the time series data set. This is due to the fact the date picker is hidden in non time series data sets. The behavior is noticed in this case when you have a row expanded. The row is collapsed every time the data is refreshed.

Reason

This is being filed as a bug, because it's impacting users that switch between index patterns of time series and others.

@shaunmcgough shaunmcgough added bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. :KibanaApp/fix-it-week labels Jul 15, 2021
@LeeDr
Copy link

LeeDr commented Aug 3, 2021

Just want to add a note that I think having auto-refresh on non time-based indices is probably a valid case.

@kertal
Copy link
Member

kertal commented Aug 16, 2021

Just want to add a note that I think having auto-refresh on non time-based indices is probably a valid case.
@LeeDr I do agree, but to fix this we would need a redesign, to extract this functionality of our time picker that's not displayed when there is no time field

@kertal
Copy link
Member

kertal commented Aug 16, 2021

I really liked the solution @cristina-eleonora drafted a while ago , this would solve this issue
Bildschirmfoto 2021-08-16 um 07 07 16

FYI @elastic/kibana-design

@ryankeairns
Copy link
Contributor

FWIW, there are split opinions (pun intended) on the split button approach. That aside, I do like having the options closer to the button and we could simply use a second, icon-only button in lieu of a true split button design.

@kertal kertal self-assigned this Aug 18, 2021
@timroes timroes added Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. :DataDiscovery/fix-it-week and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure :KibanaApp/fix-it-week labels Aug 31, 2021
@kertal
Copy link
Member

kertal commented Jul 25, 2022

Re-adding our fix it week label. When autorefreshing the data, and switching to an data view without time picker, auto refresh should be stopped. If our time picker would be ready to just provide the auto-refresh functionality for data views without time field, this behavior can be changed. But currently, a such a change causes a state that the user can only change by tweaking the URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
7 participants