Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5e53ab7
Set up shared Lens empty rows policy
awahab07 Apr 12, 2026
643ed44
Align Lens config builder empty row defaults
awahab07 Apr 12, 2026
5ab9136
Disable empty rows for unsupported Lens charts
awahab07 Apr 12, 2026
59333f3
Fix Lens empty rows migration paths
awahab07 Apr 12, 2026
0757bd7
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 Apr 20, 2026
f9a6b37
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 Apr 29, 2026
4a1a01a
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 5, 2026
a57b94e
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 7, 2026
64ae8ca
Simplified default include emty rows "off"
awahab07 May 7, 2026
a3dcaab
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 13, 2026
30f1019
Manage viz types empty rows defaults centrally.
awahab07 May 18, 2026
f688e48
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 18, 2026
65cffde
Revert whitespace change.
awahab07 May 18, 2026
1d16245
Revert unrelated changes.
awahab07 May 19, 2026
0478491
Centralize empty rows policy.
awahab07 May 19, 2026
fb866e4
Simplify naming.
awahab07 May 20, 2026
5da9aee
Simplify group wrapping.
awahab07 May 20, 2026
7d123ae
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 20, 2026
5e7a613
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 25, 2026
59c10dc
Fix date histogram interval editor sync
awahab07 May 25, 2026
eb6afb2
Use opinionated `include_empty_rows` per chart type default in embedd…
awahab07 May 26, 2026
5d21535
Generalize default injection via VisualizationDatasourceDefaults.
awahab07 May 26, 2026
9991441
Simplify types.
awahab07 May 26, 2026
dc20f85
Fix switching layer (from line to bar) issue.
awahab07 May 27, 2026
1b28bfc
Update test.
awahab07 May 27, 2026
733749a
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 27, 2026
c05db6c
Changes from make api-docs
kibanamachine May 27, 2026
90f2d4e
Update test after the preferredType is true advertised series type.
awahab07 May 28, 2026
c0f34b6
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 May 28, 2026
4acfc6e
Update test after the preferredType is true advertised series type.
awahab07 Jun 1, 2026
161042f
Merge remote-tracking branch 'origin/main' into 254889_Lens_Disable-s…
awahab07 Jun 1, 2026
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
12 changes: 0 additions & 12 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73324,7 +73324,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -73731,7 +73730,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -83478,7 +83476,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -87856,7 +87853,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -88072,7 +88068,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -92162,7 +92157,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -93653,7 +93647,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -97436,7 +97429,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -98262,7 +98254,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -100682,7 +100673,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -103083,7 +103073,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -105090,7 +105079,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down
12 changes: 0 additions & 12 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85791,7 +85791,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -86198,7 +86197,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -95945,7 +95943,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -100323,7 +100320,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -100539,7 +100535,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -104629,7 +104624,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -106120,7 +106114,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -109903,7 +109896,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -110729,7 +110721,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -113149,7 +113140,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -115550,7 +115540,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down Expand Up @@ -117557,7 +117546,6 @@ components:
description: Field to be used for the date histogram.
type: string
include_empty_rows:
default: true
description: When `true`, includes empty rows in the results.
type: boolean
label:
Expand Down
9 changes: 8 additions & 1 deletion src/platform/packages/shared/kbn-lens-common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ export type {
LensAppLocator,
} from './locator_types';
export type { NavigateToLensLayer, NavigateToLensContext } from './convert_to_lens_types';

/**
* Constants are used by both the expression language and the lens code
*/
Expand Down Expand Up @@ -399,6 +398,14 @@ export {
} from './visualizations/xy/constants';
export { LENS_SHARE_STATE_ACTION } from './locator_types';
export { defaultSeriesType } from './visualizations/xy/types';
export type { VisualizationDatasourceDefaults } from './visualization_datasource_defaults';
export {
applyDatasourceDefaultsToColumnParams,
applyDatasourceDefaultsToDatasourceState,
applyDatasourceDefaultsToDatasourceStates,
getVisualizationDatasourceDefaults,
getVisualizationDatasourceDefaultsForVisualizationState,
} from './visualization_datasource_defaults';
export {
getLensLayerTypeTabDisplayName,
lensLayerTypeTabDisplayNames,
Expand Down
2 changes: 2 additions & 0 deletions src/platform/packages/shared/kbn-lens-common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ import type {
} from './visualizations/types';
import type { DatasourceStates, GeneralDatasourceState } from './datasources/types';
import type { LENS_ITEM_LATEST_VERSION } from './content_management/constants';
import type { VisualizationDatasourceDefaults } from './visualization_datasource_defaults';

export interface LensInspector {
getInspectorAdapters: () => Adapters;
Expand Down Expand Up @@ -1116,6 +1117,7 @@ export type VisualizationDimensionGroupConfig = SharedDimensionProps & {
// used by text based datasource to restrict the field selection only to number fields for the metric dimensions
isMetricDimension?: boolean;
isBreakdownDimension?: boolean;
datasourceDefaults?: VisualizationDatasourceDefaults;
paramEditorCustomProps?: ParamEditorCustomProps;
enableFormatSelector?: boolean;
labels?: { buttonAriaLabel: string; buttonLabel: string };
Expand Down
Loading
Loading