Skip to content

The open alternative to Salesforce, designed for AI.

Remove the frontend's remaining view.openRecordIn plumbing (#23627)

Félix Malfait500a0a8e94f2
diff --git a/packages/twenty-front/src/modules/navigation/hooks/__tests__/useDefaultHomePagePath.test.ts b/packages/twenty-front/src/modules/navigation/hooks/__tests__/useDefaultHomePagePath.test.ts
index e829581db17..409b637fa06 100644
--- a/packages/twenty-front/src/modules/navigation/hooks/__tests__/useDefaultHomePagePath.test.ts
+++ b/packages/twenty-front/src/modules/navigation/hooks/__tests__/useDefaultHomePagePath.test.ts
@@ -14,7 +14,6 @@ import { getSettingsPath } from 'twenty-shared/utils';
import {
type NavigationMenuItem,
NavigationMenuItemType,
- ViewOpenRecordIn,
ViewType,
ViewVisibility,
} from '~/generated-metadata/graphql';
@@ -146,7 +145,6 @@ const renderHooks = ({
type: ViewType.TABLE,
key: null,
isCompact: false,
- openRecordIn: ViewOpenRecordIn.SIDE_PANEL,
viewFields: [],
viewFieldGroups: [],
viewGroups: [],
diff --git a/packages/twenty-front/src/modules/page-layout/hooks/__tests__/useDuplicatePageLayoutTab.test.tsx b/packages/twenty-front/src/modules/page-layout/hooks/__tests__/useDuplicatePageLayoutTab.test.tsx
index a813466db58..54a77022cf5 100644
--- a/packages/twenty-front/src/modules/page-layout/hooks/__tests__/useDuplicatePageLayoutTab.test.tsx
+++ b/packages/twenty-front/src/modules/page-layout/hooks/__tests__/useDuplicatePageLayoutTab.test.tsx
@@ -14,7 +14,6 @@ import { type ReactNode } from 'react';
import {
PageLayoutTabLayoutMode,
PageLayoutType,
- ViewOpenRecordIn,
ViewType,
ViewVisibility,
WidgetConfigurationType,
@@ -113,7 +112,6 @@ const sourceRecordTableViewSnapshot: RecordTableWidgetViewSnapshot = {
type: ViewType.TABLE_WIDGET,
isCompact: false,
position: 0,
- openRecordIn: ViewOpenRecordIn.RECORD_PAGE,
visibility: ViewVisibility.WORKSPACE,
shouldHideEmptyGroups: false,
isActive: true,
diff --git a/packages/twenty-front/src/modules/page-layout/hooks/useCreatePendingRecordTableWidgetViews.ts b/packages/twenty-front/src/modules/page-layout/hooks/useCreatePendingRecordTableWidgetViews.ts
index f1c0008dbfb..f3668a16602 100644
--- a/packages/twenty-front/src/modules/page-layout/hooks/useCreatePendingRecordTableWidgetViews.ts
+++ b/packages/twenty-front/src/modules/page-layout/hooks/useCreatePendingRecordTableWidgetViews.ts
@@ -93,7 +93,6 @@ export const useCreatePendingRecordTableWidgetViews = () => {
type: view.type,
isCompact: view.isCompact,
position: view.position,
- openRecordIn: view.openRecordIn,
visibility: view.visibility,
shouldHideEmptyGroups: view.shouldHideEmptyGroups,
mainGroupByFieldMetadataId:
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/__stories__/FieldsWidget.stories.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/__stories__/FieldsWidget.stories.tsx
index 801f5f30ad4..330de2449aa 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/__stories__/FieldsWidget.stories.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/__stories__/FieldsWidget.stories.tsx
@@ -25,7 +25,6 @@ import { type ViewWithRelations } from '@/views/types/ViewWithRelations';
import { CoreObjectNameSingular } from 'twenty-shared/types';
import { ComponentDecorator } from 'twenty-ui/testing';
import {
- ViewOpenRecordIn,
ViewType,
ViewVisibility,
PageLayoutTabLayoutMode,
@@ -203,7 +202,6 @@ const createView = (
shouldHideEmptyGroups: false,
position: 0,
isCompact: false,
- openRecordIn: ViewOpenRecordIn.SIDE_PANEL,
viewFields: [],
viewGroups: [],
viewFilters: [],
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/buildUpsertViewWidgetViewSettingsInput.test.ts b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/buildUpsertViewWidgetViewSettingsInput.test.ts
index 58175d738f7..782798adeb1 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/buildUpsertViewWidgetViewSettingsInput.test.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/buildUpsertViewWidgetViewSettingsInput.test.ts
@@ -1,16 +1,11 @@
import { type FlatView } from '@/metadata-store/types/FlatView';
import { buildUpsertViewWidgetViewSettingsInput } from '@/page-layout/widgets/record-table/utils/buildUpsertViewWidgetViewSettingsInput';
-import {
- ViewCalendarLayout,
- ViewOpenRecordIn,
- ViewType,
-} from '~/generated-metadata/graphql';
+import { ViewCalendarLayout, ViewType } from '~/generated-metadata/graphql';
const buildFlatView = (overrides: Partial<FlatView>): FlatView =>
({
type: ViewType.TABLE_WIDGET,
shouldHideEmptyGroups: false,
- openRecordIn: ViewOpenRecordIn.RECORD_PAGE,
...overrides,
}) as FlatView;
@@ -22,7 +17,6 @@ describe('buildUpsertViewWidgetViewSettingsInput', () => {
type: ViewType.TABLE_WIDGET,
mainGroupByFieldMetadataId: null,
shouldHideEmptyGroups: false,
- openRecordIn: ViewOpenRecordIn.RECORD_PAGE,
kanbanAggregateOperation: null,
kanbanAggregateOperationFieldMetadataId: null,
kanbanColumnWidth: null,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/cloneRecordTableWidgetViewSnapshot.test.ts b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/cloneRecordTableWidgetViewSnapshot.test.ts
index 21d9ba89c6c..6cb03ebe8bf 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/cloneRecordTableWidgetViewSnapshot.test.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/__tests__/cloneRecordTableWidgetViewSnapshot.test.ts
@@ -3,7 +3,6 @@ import { cloneRecordTableWidgetViewSnapshot } from '@/page-layout/widgets/record
import { ViewFilterOperand } from 'twenty-shared/types';
import {
ViewFilterGroupLogicalOperator,
- ViewOpenRecordIn,
ViewSortDirection,
ViewType,
ViewVisibility,
@@ -22,7 +21,6 @@ const sourceSnapshot: RecordTableWidgetViewSnapshot = {
type: ViewType.TABLE_WIDGET,
isCompact: false,
position: 0,
- openRecordIn: ViewOpenRecordIn.RECORD_PAGE,
visibility: ViewVisibility.WORKSPACE,
shouldHideEmptyGroups: false,
isActive: true,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildRecordTableWidgetViewSnapshot.ts b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildRecordTableWidgetViewSnapshot.ts
index 3af8c81b1cf..6993bb22a1b 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildRecordTableWidgetViewSnapshot.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildRecordTableWidgetViewSnapshot.ts
@@ -6,11 +6,7 @@ import { filterFieldsForRecordTableViewCreation } from '@/page-layout/widgets/re
import { normalizeRecordTableWidgetViewFields } from '@/page-layout/widgets/record-table/utils/normalizeRecordTableWidgetViewFields';
import { sortFieldsByRelevanceForRecordTableWidget } from '@/page-layout/widgets/record-table/utils/sortFieldsByRelevanceForRecordTableWidget';
import { v4 } from 'uuid';
-import {
- ViewOpenRecordIn,
- ViewType,
- ViewVisibility,
-} from '~/generated-metadata/graphql';
+import { ViewType, ViewVisibility } from '~/generated-metadata/graphql';
const DEFAULT_VIEW_FIELD_SIZE = 180;
const INITIAL_VISIBLE_FIELDS_COUNT_IN_WIDGET = 6;
@@ -28,7 +24,6 @@ export const buildRecordTableWidgetViewSnapshot = (
type: ViewType.TABLE_WIDGET,
isCompact: false,
position: 0,
- openRecordIn: ViewOpenRecordIn.RECORD_PAGE,
visibility: ViewVisibility.WORKSPACE,
shouldHideEmptyGroups: false,
isActive: true,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildUpsertViewWidgetViewSettingsInput.ts b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildUpsertViewWidgetViewSettingsInput.ts
index cd23d9354bb..1f719b35094 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildUpsertViewWidgetViewSettingsInput.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/record-table/utils/buildUpsertViewWidgetViewSettingsInput.ts
@@ -7,7 +7,6 @@ export const buildUpsertViewWidgetViewSettingsInput = (
type: view.type,
mainGroupByFieldMetadataId: view.mainGroupByFieldMetadataId ?? null,
shouldHideEmptyGroups: view.shouldHideEmptyGroups,
- openRecordIn: view.openRecordIn,
kanbanAggregateOperation: view.kanbanAggregateOperation ?? null,
kanbanAggregateOperationFieldMetadataId:
view.kanbanAggregateOperationFieldMetadataId ?? null,
diff --git a/packages/twenty-front/src/modules/views/graphql/fragments/viewFragment.ts b/packages/twenty-front/src/modules/views/graphql/fragments/viewFragment.ts
index 889e42d672f..45e72ada5e6 100644
--- a/packages/twenty-front/src/modules/views/graphql/fragments/viewFragment.ts
+++ b/packages/twenty-front/src/modules/views/graphql/fragments/viewFragment.ts
@@ -23,7 +23,6 @@ export const VIEW_FRAGMENT = gql`
icon
position
isCompact
- openRecordIn
kanbanAggregateOperation
kanbanAggregateOperationFieldMetadataId
mainGroupByFieldMetadataId
diff --git a/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts b/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts
index af7c95922ce..02c0fa71ac1 100644
--- a/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts
+++ b/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts
@@ -132,7 +132,6 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => {
: mainGroupByFieldMetadataId,
type: viewType,
objectMetadataId: sourceView.objectMetadataId,
- openRecordIn: sourceView.openRecordIn,
anyFieldFilterValue: anyFieldFilterValue,
calendarLayout:
viewType === ViewType.CALENDAR
diff --git a/packages/twenty-front/src/modules/views/types/GraphQLView.ts b/packages/twenty-front/src/modules/views/types/GraphQLView.ts
index f202b04ac85..2b0ea0ee315 100644
--- a/packages/twenty-front/src/modules/views/types/GraphQLView.ts
+++ b/packages/twenty-front/src/modules/views/types/GraphQLView.ts
@@ -7,7 +7,6 @@ import { type ViewKey } from '@/views/types/ViewKey';
import { type ViewType } from '@/views/types/ViewType';
import {
type ViewCalendarLayout,
- type ViewOpenRecordIn,
type ViewVisibility,
} from '~/generated-metadata/graphql';
import { type ViewSort } from '@/views/types/ViewSort';
@@ -24,7 +23,6 @@ export type GraphQLView = {
kanbanAggregateOperationFieldMetadataId?: string | null;
objectMetadataId: string;
isCompact: boolean;
- openRecordIn: ViewOpenRecordIn;
viewFields: ViewField[];
viewFilters: ViewFilter[];
viewFilterGroups?: ViewFilterGroup[];
diff --git a/packages/twenty-front/src/modules/views/types/View.ts b/packages/twenty-front/src/modules/views/types/View.ts
index 873ee25f6a0..072ba872f3b 100644
--- a/packages/twenty-front/src/modules/views/types/View.ts
+++ b/packages/twenty-front/src/modules/views/types/View.ts
@@ -8,7 +8,6 @@ import { type ViewKey } from '@/views/types/ViewKey';
import { type ViewType } from '@/views/types/ViewType';
import {
type ViewCalendarLayout,
- type ViewOpenRecordIn,
type ViewVisibility,
} from '~/generated-metadata/graphql';
import { type ViewSort } from '@/views/types/ViewSort';
@@ -36,7 +35,6 @@ export type View = {
calendarLayout?: ViewCalendarLayout | null;
position: number;
icon: string;
- openRecordIn: ViewOpenRecordIn;
anyFieldFilterValue?: string | null;
visibility: ViewVisibility;
createdByUserWorkspaceId?: string | null;
diff --git a/packages/twenty-front/src/modules/views/utils/__tests__/mapRecordFilterGroupToViewFilterGroup.test.ts b/packages/twenty-front/src/modules/views/utils/__tests__/mapRecordFilterGroupToViewFilterGroup.test.ts
index 1483e3778b0..fe537461212 100644
--- a/packages/twenty-front/src/modules/views/utils/__tests__/mapRecordFilterGroupToViewFilterGroup.test.ts
+++ b/packages/twenty-front/src/modules/views/utils/__tests__/mapRecordFilterGroupToViewFilterGroup.test.ts
@@ -7,7 +7,7 @@ import { ViewType } from '@/views/types/ViewType';
import { mapRecordFilterGroupToViewFilterGroup } from '@/views/utils/mapRecordFilterGroupToViewFilterGroup';
import { RecordFilterGroupLogicalOperator } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
-import { ViewOpenRecordIn, ViewVisibility } from '~/generated-metadata/graphql';
+import { ViewVisibility } from '~/generated-metadata/graphql';
import { getTestEnrichedObjectMetadataItemsMock } from '~/testing/utils/getTestEnrichedObjectMetadataItemsMock';
const mockObjectMetadataItemNameSingular = 'company';
@@ -32,7 +32,6 @@ describe('mapRecordFilterGroupToViewFilterGroup', () => {
type: ViewType.TABLE,
key: null,
isCompact: false,
- openRecordIn: ViewOpenRecordIn.SIDE_PANEL,
viewFields: [],
viewGroups: [],
viewSorts: [],
diff --git a/packages/twenty-front/src/modules/views/utils/convertUpdateViewInputToGql.ts b/packages/twenty-front/src/modules/views/utils/convertUpdateViewInputToGql.ts
index c31a116f847..1083ee96cc9 100644
--- a/packages/twenty-front/src/modules/views/utils/convertUpdateViewInputToGql.ts
+++ b/packages/twenty-front/src/modules/views/utils/convertUpdateViewInputToGql.ts
@@ -22,9 +22,6 @@ export const convertUpdateViewInputToGql = (
anyFieldFilterValue: view.anyFieldFilterValue,
}),
...(isDefined(view.key) && { key: view.key }),
- ...(isDefined(view.openRecordIn) && {
- openRecordIn: view.openRecordIn,
- }),
...(isDefined(view.type) && { type: view.type }),
...(isDefined(view.calendarLayout) && {
calendarLayout: view.calendarLayout,
diff --git a/packages/twenty-front/src/pages/settings/layout/SettingsLayoutViewDetail.tsx b/packages/twenty-front/src/pages/settings/layout/SettingsLayoutViewDetail.tsx
index 18113e06486..6591427d2a6 100644
--- a/packages/twenty-front/src/pages/settings/layout/SettingsLayoutViewDetail.tsx
+++ b/packages/twenty-front/src/pages/settings/layout/SettingsLayoutViewDetail.tsx
@@ -66,11 +66,6 @@ export const SettingsLayoutViewDetail = () => {
label: t`Visibility`,
value: view.visibility ?? t`Default`,
},
- {
- key: 'openRecordIn',
- label: t`Open records in`,
- value: view.openRecordIn ?? t`Default`,
- },
]
: [];
diff --git a/packages/twenty-front/src/testing/mock-data/generated/metadata/views/mock-views-data.ts b/packages/twenty-front/src/testing/mock-data/generated/metadata/views/mock-views-data.ts
index 2ed71ed80d6..665893f3f70 100644
--- a/packages/twenty-front/src/testing/mock-data/generated/metadata/views/mock-views-data.ts
+++ b/packages/twenty-front/src/testing/mock-data/generated/metadata/views/mock-views-data.ts
@@ -15,7 +15,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -91,7 +90,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -179,7 +177,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -255,7 +252,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -343,7 +339,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -467,7 +462,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -615,7 +609,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -715,7 +708,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconNotes",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -803,7 +795,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -927,7 +918,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconTable",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1027,7 +1017,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconRestore",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1115,7 +1104,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconPlayerPlay",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1179,7 +1167,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1255,7 +1242,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1427,7 +1413,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1551,7 +1536,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1663,7 +1647,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1739,7 +1722,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1815,7 +1797,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -1903,7 +1884,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2003,7 +1983,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2163,7 +2142,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2287,7 +2265,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2363,7 +2340,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2427,7 +2403,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2515,7 +2490,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2603,7 +2577,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2667,7 +2640,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2755,7 +2727,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2867,7 +2838,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -2979,7 +2949,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3043,7 +3012,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3131,7 +3099,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3207,7 +3174,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3283,7 +3249,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3371,7 +3336,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3459,7 +3423,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3535,7 +3498,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconList",
"position": 0,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": null,
@@ -3623,7 +3585,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconLayoutKanban",
"position": 1,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": "26683fc8-cecf-4ad7-a820-48bc570115e4",
@@ -3742,7 +3703,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconLayoutKanban",
"position": 2,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": "SUM",
"kanbanAggregateOperationFieldMetadataId": "0a5ea35b-95e9-4771-aa43-32ae368e6353",
"mainGroupByFieldMetadataId": "4e029608-6039-4720-9119-61aa6db12430",
@@ -3893,7 +3853,6 @@ export const mockedViews: ViewWithRelations[] =
"icon": "IconUserCircle",
"position": 2,
"isCompact": false,
- "openRecordIn": "SIDE_PANEL",
"kanbanAggregateOperation": null,
"kanbanAggregateOperationFieldMetadataId": null,
"mainGroupByFieldMetadataId": "26683fc8-cecf-4ad7-a820-48bc570115e4",