SQL: Add timeFilter macro to query builder (#74575)

* Add timeFilter macro to query builder

* Only render SQLWhereRow when fields are there

* Change the default query to timeseries and remove 50 limit

* Add timeFilter macro for the first time when timeSeries

* Add test for timeFilter macro

* Lint fix

* Annotation query format should be table

* Set order by as default

* Revert changes that made time series default

* Fix e2e test

* Fix e2e test

* Make sure to reset the date value when operator is changed

* Add docs
This commit is contained in:
Zoltán Bedi
2023-11-09 09:23:26 +01:00
committed by GitHub
parent 375dcc3813
commit 22035565d2
9 changed files with 150 additions and 46 deletions

View File

@@ -32,6 +32,9 @@ export const Components = {
rolePicker: 'Built-in role picker',
permissionLevel: 'Permission Level',
},
DateTimePicker: {
input: 'data-testid date-time-input',
},
DataSource: {
TestData: {
QueryTab: {