Skip to content

Changes to reflect adding limit to change widget #2660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "fde8b90",
"generated": "2025-08-18 20:32:20.186"
"spec_repo_commit": "e9346e4",
"generated": "2025-08-19 15:54:39.235"
}
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,10 @@ components:
increase_good:
description: Whether to show increase as good.
type: boolean
limit:
description: The number of items to show.
format: int64
type: integer
log_query:
$ref: '#/components/schemas/LogQueryDefinition'
network_query:
Expand Down
9 changes: 9 additions & 0 deletions services/dashboards/src/v1/models/ChangeWidgetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export class ChangeWidgetRequest {
* Whether to show increase as good.
*/
"increaseGood"?: boolean;
/**
* The number of items to show.
*/
"limit"?: number;
/**
* The log query.
*/
Expand Down Expand Up @@ -125,6 +129,11 @@ export class ChangeWidgetRequest {
baseName: "increase_good",
type: "boolean",
},
limit: {
baseName: "limit",
type: "number",
format: "int64",
},
logQuery: {
baseName: "log_query",
type: "LogQueryDefinition",
Expand Down
Loading