Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ export class ExplorerDashboardBuilder {
title: 'API Boundary Type',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'apiBoundaryType'
Expand All @@ -317,6 +318,7 @@ export class ExplorerDashboardBuilder {
title: 'API Discovery State',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'apiDiscoveryState'
Expand All @@ -330,6 +332,7 @@ export class ExplorerDashboardBuilder {
title: 'API ID',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'apiId'
Expand All @@ -343,6 +346,7 @@ export class ExplorerDashboardBuilder {
title: 'Entry Span ID',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'apiTraceId'
Expand All @@ -356,6 +360,7 @@ export class ExplorerDashboardBuilder {
title: 'Service ID',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'serviceId'
Expand All @@ -369,6 +374,7 @@ export class ExplorerDashboardBuilder {
title: 'Trace ID',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'traceId'
Expand All @@ -382,6 +388,7 @@ export class ExplorerDashboardBuilder {
title: 'Request URL',
width: '1',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'requestUrl'
Expand Down Expand Up @@ -504,6 +511,7 @@ export class ExplorerDashboardBuilder {
{
type: 'table-widget-column',
visible: false,
filterable: true,
value: {
type: 'attribute-specification',
attribute: 'traceId'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ export class TableWidgetColumnsService {
width: '1',
visible: false,
editable: true,
filterable: this.isFilterable(attribute),
filterable: this.isFilterable(attribute.type),
specification: new SpecificationBuilder().attributeSpecificationForKey(attribute.name)
};
}

private isFilterable(attribute: AttributeMetadata): boolean {
return this.filterBuilderLookupService.isBuildableType(toFilterAttributeType(attribute.type));
private isFilterable(type?: AttributeMetadataType): boolean {
return type === undefined ? false : this.filterBuilderLookupService.isBuildableType(toFilterAttributeType(type));
}

private lookupDisplayType(type: AttributeMetadataType): string {
Expand Down