Implement page layout override (#18472)
This commit is contained in:
+5
@@ -71,6 +71,7 @@ const mixedGraphsPageLayoutMocks = {
|
||||
title: 'Mixed Graphs',
|
||||
position: 0,
|
||||
pageLayoutId: 'mixed-graphs-layout',
|
||||
isOverridden: false,
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
updatedAt: '2024-01-01T00:00:00Z',
|
||||
deletedAt: null,
|
||||
@@ -95,6 +96,7 @@ const mixedGraphsPageLayoutMocks = {
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
aggregateFieldMetadataId: idField.id,
|
||||
},
|
||||
isOverridden: false,
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
updatedAt: '2024-01-01T00:00:00Z',
|
||||
deletedAt: null,
|
||||
@@ -120,6 +122,7 @@ const mixedGraphsPageLayoutMocks = {
|
||||
aggregateFieldMetadataId: idField.id,
|
||||
displayDataLabel: false,
|
||||
},
|
||||
isOverridden: false,
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
updatedAt: '2024-01-01T00:00:00Z',
|
||||
deletedAt: null,
|
||||
@@ -146,6 +149,7 @@ const mixedGraphsPageLayoutMocks = {
|
||||
groupByFieldMetadataId: createdAtField.id,
|
||||
orderBy: GraphOrderBy.VALUE_DESC,
|
||||
},
|
||||
isOverridden: false,
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
updatedAt: '2024-01-01T00:00:00Z',
|
||||
deletedAt: null,
|
||||
@@ -175,6 +179,7 @@ const mixedGraphsPageLayoutMocks = {
|
||||
axisNameDisplay: AxisNameDisplay.BOTH,
|
||||
displayDataLabel: false,
|
||||
} satisfies BarChartConfiguration,
|
||||
isOverridden: false,
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
updatedAt: '2024-01-01T00:00:00Z',
|
||||
deletedAt: null,
|
||||
|
||||
+4
@@ -29,6 +29,7 @@ const createInitialTabs = (): PageLayoutTab[] => [
|
||||
icon: 'IconPlus',
|
||||
pageLayoutId: 'test-layout',
|
||||
widgets: [],
|
||||
isOverridden: false,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
deletedAt: null,
|
||||
@@ -41,6 +42,7 @@ const createInitialTabs = (): PageLayoutTab[] => [
|
||||
position: 1,
|
||||
pageLayoutId: 'test-layout',
|
||||
widgets: [],
|
||||
isOverridden: false,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
deletedAt: null,
|
||||
@@ -53,6 +55,7 @@ const createInitialTabs = (): PageLayoutTab[] => [
|
||||
position: 2,
|
||||
pageLayoutId: 'test-layout',
|
||||
widgets: [],
|
||||
isOverridden: false,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
deletedAt: null,
|
||||
@@ -82,6 +85,7 @@ const PageLayoutTabListPlayground = ({
|
||||
position: nextIndex,
|
||||
pageLayoutId: 'test-layout',
|
||||
widgets: [],
|
||||
isOverridden: false,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
deletedAt: null,
|
||||
|
||||
Reference in New Issue
Block a user