TimePicker: Ability to manually specify quick ranges (#101465)

* add quickRanges to scene model transforms

* add test for quickRanges transformations

* fix lint
This commit is contained in:
Sergej-Vlasov
2025-03-04 10:45:24 +00:00
committed by GitHub
parent 60827fe499
commit bf9a34f2ca
10 changed files with 465 additions and 5 deletions
@@ -18,6 +18,18 @@ export const handyTestingSchema: DashboardV2Spec = {
timezone: 'UTC',
to: 'now',
weekStart: 'monday',
quickRanges: [
{
display: 'Last 6 hours',
from: 'now-6h',
to: 'now',
},
{
display: 'Last 3 days',
from: 'now-3d',
to: 'now',
},
],
},
annotations: [
{