Explore: Add t * keybindings to change time range (#45020)

* Add keybindings to explore, allow override of dashboard model update for explore update

* Remove edits to Dashboard Model, add definition when url params should be updated

* Add tests

* Add and expose util function instead of bringing in unrelated library do not define explicit path to library file

* Use more generic model for TimeSrv

* Remove url utility functions, use javascript function instead

* Break out TimeModel into new type and bring it in

* condense object creation
This commit is contained in:
Kristina
2022-02-17 07:39:02 -06:00
committed by GitHub
parent af1691dbfb
commit 773da0e330
13 changed files with 140 additions and 79 deletions

View File

@@ -187,7 +187,7 @@ export class GraphCtrl extends MetricsPanelCtrl {
}
zoomOut(evt: any) {
appEvents.publish(new ZoomOutEvent(2));
appEvents.publish(new ZoomOutEvent({ scale: 2 }));
}
onDataSnapshotLoad(snapshotData: any) {