mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
feat: add time range events filter (#7005)
* feat(console): add time range events filter * deprecate creation_date, use oneof filter * use range or from * implement api * fix timestamp format * translate * styles * lint * integration tests * fix until date * rearrange sorting control * sort creation date * fix events e2e test * Update console/src/app/modules/filter-events/filter-events.component.html Co-authored-by: Max Peintner <[email protected]> * Update console/src/app/modules/filter-events/filter-events.component.html Co-authored-by: Max Peintner <[email protected]> * Update console/src/app/modules/filter-events/filter-events.component.html Co-authored-by: Max Peintner <[email protected]> * lint * lint * don't use utc call time --------- Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Silvan <[email protected]>
This commit is contained in:
co-authored by
Max Peintner
Silvan
parent
2e505f40f9
commit
9da4abd459
@@ -7972,11 +7972,35 @@ message ListEventsRequest {
|
||||
}
|
||||
];
|
||||
google.protobuf.Timestamp creation_date = 9 [
|
||||
deprecated = true,
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"2019-04-01T08:45:00.000000Z\"";
|
||||
description: "If asc is false, the events returned are older than creation_date. If asc is true, the events returned are younger than creation_date. If creation_date is not set the field is ignored.";
|
||||
description: "Use from instead.";
|
||||
}
|
||||
];
|
||||
message creation_date_range {
|
||||
google.protobuf.Timestamp since = 1 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"2019-04-01T08:45:00.000000Z\"";
|
||||
description: "The events returned are younger than the UTC since date";
|
||||
}
|
||||
];
|
||||
google.protobuf.Timestamp until = 2 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"2019-04-01T08:45:00.000000Z\"";
|
||||
description: "The events returned are older than the UTC until date.";
|
||||
}
|
||||
];
|
||||
}
|
||||
oneof creation_date_filter {
|
||||
creation_date_range range = 10;
|
||||
google.protobuf.Timestamp from = 11 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"2019-04-01T08:45:00.000000Z\"";
|
||||
description: "If asc is false, the events returned are older than the UTC from date. If asc is true, the events returned are younger than from.";
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
message ListEventsResponse {
|
||||
|
||||
Reference in New Issue
Block a user