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

[Maps] Should be able to zoom-in on selected range of timeslider #105596

Closed
thomasneirynck opened this issue Jul 14, 2021 · 3 comments · Fixed by #122131
Closed

[Maps] Should be able to zoom-in on selected range of timeslider #105596

thomasneirynck opened this issue Jul 14, 2021 · 3 comments · Fixed by #122131
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result v8.1.0

Comments

@thomasneirynck
Copy link
Contributor

thomasneirynck commented Jul 14, 2021

Describe the feature:

The timeslider is really useful to select a custom time-range.

It would be useful to have e a slider-action that allows to "zoom-in" on the selected timeslice

image

^ some sort of action to "zoom in" on the Oct26->Aug22" timeslice selection

Implementation:

  • Add calendar icon on right side of timeslice range (see red oval in screen shot below). When clicked, Kibana's global time range will be set to the timeslice range.
    Screen Shot 2021-12-22 at 10 12 28 AM
  • Setting global time should be passed into Timeslider as a prop. The goal of the timeslider component is that it can moved to another plugin (so it can eventually) be reused in Dashboard. To meet this goal, I want to avoid map imports and dependencies.
  • To implement setTimeRange, import getData and call getData().query.timefilter.timefilter.setTime. This implementation can be provided in MapContainer where Timeslider component is used.
@thomasneirynck thomasneirynck added enhancement New value added to drive a business result [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation labels Jul 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese
Copy link
Contributor

nreese commented Jul 14, 2021

Would users be able to do this by hitting the current "fit to bounds" button or turning on auto fit to bounds?

@thomasneirynck
Copy link
Contributor Author

@nreese

Would users be able to do this by hitting the current "fit to bounds" button or turning on auto fit to bounds?

imho a new control/button on the timeslider control (e.g. under the range) that says "apply timeslice to global time range".

maksimkovalev added a commit to maksimkovalev/kibana that referenced this issue Jan 12, 2022
maksimkovalev added a commit to maksimkovalev/kibana that referenced this issue Jan 17, 2022
nreese pushed a commit that referenced this issue Jan 25, 2022
…2131)

* 105596 - Added calendar button that allows users to set global time of kibana according selected time slice

* #105596 - refactoring; Title and aria-label updated for zoom-in button

* #105596 - icon filling was removed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants