Skip to content

Commit cb94b05

Browse files
authored
Merge branch 'main' into table-use-local-storage-for-columns
2 parents 8063982 + 21247f9 commit cb94b05

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"d3-shape": "^1.3.5",
6060
"d3-transition": "^1.2.0",
6161
"d3-zoom": "^1.8.3",
62-
"graphql": "^15.6.1",
62+
"graphql": "^15.7.0",
6363
"graphql-tag": "^2.12.6",
6464
"iso8601-duration": "^1.3.0",
6565
"lodash-es": "^4.17.21",

projects/observability/src/shared/dashboard/widgets/table/table-widget-base.model.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,8 @@ export abstract class TableWidgetBaseModel extends BaseModel {
195195
public isResizable(): boolean {
196196
return this.resizable;
197197
}
198+
199+
public getLoadingConfig(): LoadAsyncConfig | undefined {
200+
return this.loadingConfig;
201+
}
198202
}

projects/observability/src/shared/dashboard/widgets/table/table-widget-renderer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ import { TableWidgetModel } from './table-widget.model';
9797
[selectionMode]="this.model.getSelectionMode()"
9898
[display]="this.model.style"
9999
[data]="this.data$ | async"
100-
[loadingConfig]="this.model.loadingConfig"
100+
[loadingConfig]="this.model.getLoadingConfig()"
101101
[filters]="this.combinedFilters$ | async"
102102
[queryProperties]="this.queryProperties$ | async"
103103
[pageable]="this.api.model.isPageable()"

projects/observability/src/shared/dashboard/widgets/table/table-widget-view-toggle.model.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TableDataSource, TableRow, TableSelectionMode } from '@hypertrace/components';
1+
import { LoadAsyncConfig, TableDataSource, TableRow, TableSelectionMode } from '@hypertrace/components';
22
import { ArrayPropertyTypeInstance } from '@hypertrace/dashboards';
33
import { ARRAY_PROPERTY, Model, ModelApi, ModelOnInit, ModelProperty, ModelPropertyType } from '@hypertrace/hyperdash';
44
import { ModelInject, MODEL_API } from '@hypertrace/hyperdash-angular';
@@ -118,4 +118,8 @@ export class TableWidgetViewToggleModel extends TableWidgetModel implements Mode
118118
public getSelectControlOptions(): TableWidgetControlSelectOptionModel[] {
119119
return this.delegateModel?.getSelectControlOptions() ?? this.selectOptions;
120120
}
121+
122+
public getLoadingConfig(): LoadAsyncConfig | undefined {
123+
return this.delegateModel?.getLoadingConfig();
124+
}
121125
}

0 commit comments

Comments
 (0)