Skip to content

Commit

Permalink
Put Data Explroer sparklines behind feature flag (#4381)
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarenerd authored Aug 16, 2024
1 parent f65dd16 commit ed616b3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { ProfileDatetime } from 'vs/workbench/services/positronDataExplorer/brow
import { ColumnNullPercent } from 'vs/workbench/services/positronDataExplorer/browser/components/columnNullPercent';
import { TableSummaryDataGridInstance } from 'vs/workbench/services/positronDataExplorer/browser/tableSummaryDataGridInstance';
import { ColumnDisplayType, ColumnProfileType, ColumnSchema } from 'vs/workbench/services/languageRuntime/common/positronDataExplorerComm';
import { dataExplorerExperimentalFeatureEnabled } from 'vs/workbench/services/positronDataExplorer/common/positronDataExplorerExperimentalConfig';
import { checkDataExplorerExperimentalFeaturesEnabled, dataExplorerExperimentalFeatureEnabled } from 'vs/workbench/services/positronDataExplorer/common/positronDataExplorerExperimentalConfig';

/**
* ColumnSummaryCellProps interface.
Expand Down Expand Up @@ -264,7 +264,9 @@ export const ColumnSummaryCell = (props: ColumnSummaryCellProps) => {
<div className='column-name'>
{props.columnSchema.column_name}
</div>
<ColumnSparkline {...props} />
{checkDataExplorerExperimentalFeaturesEnabled(context.configurationService) &&
<ColumnSparkline {...props} />
}
<ColumnNullPercent {...props} />
</div>
{expanded &&
Expand Down

0 comments on commit ed616b3

Please sign in to comment.