better charts

This commit is contained in:
Filipriec
2026-09-16 16:09:55 +02:00
parent 7b190b4455
commit 25ef91f221
10 changed files with 136 additions and 3 deletions

View File

@@ -281,6 +281,28 @@ message ReportFilterTarget {
message ReportDashboardFilter {
ReportParameter parameter = 1;
repeated ReportFilterTarget targets = 2;
bool primary = 3;
}
enum ReportPeriodBoundary {
REPORT_PERIOD_BOUNDARY_UNSPECIFIED = 0;
REPORT_PERIOD_BOUNDARY_INCLUSIVE = 1;
REPORT_PERIOD_BOUNDARY_EXCLUSIVE = 2;
}
message ReportDateRange {
string start_filter = 1;
string end_filter = 2;
ReportPeriodBoundary end_boundary = 3;
}
message ReportPeriod {
string date_basis = 1;
oneof selection {
ReportDateRange date_range = 2;
string accounting_period_filter = 3;
string as_of_filter = 4;
}
}
message ReportActionBinding {
@@ -353,6 +375,7 @@ message ReportDashboardDefinition {
repeated ReportGrant grants = 5;
uint32 refresh_seconds = 6;
repeated ReportDatasetVersionRef dataset_versions = 7;
ReportPeriod period = 8;
}
message ReportDatasetVersionRef {