π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: cleanup ai and canvas related feature flags
Ramesh Mane7109e50879b7
diff --git a/packages/nc-gui/components/smartsheet/grid/index.vue b/packages/nc-gui/components/smartsheet/grid/index.vueindex efad166770..0ffd797e43 100644--- a/packages/nc-gui/components/smartsheet/grid/index.vue+++ b/packages/nc-gui/components/smartsheet/grid/index.vue@@ -222,10 +222,10 @@ const updateViewWidth = () => {const isInfiniteScrollingEnabled = computed(() => isFeatureEnabled(FEATURE_FLAG.INFINITE_SCROLLING))-const isCanvasTableEnabled = computed(() => isFeatureEnabled(FEATURE_FLAG.CANVAS_GRID_VIEW))+const isCanvasTableEnabled = computed(() => !ncIsPlaywright())const isCanvasGroupByTableEnabled = computed(- () => isFeatureEnabled(FEATURE_FLAG.CANVAS_GROUP_GRID_VIEW) && !blockExternalSourceRecordVisibility(isExternalSource.value),+ () => !ncIsPlaywright() && !blockExternalSourceRecordVisibility(isExternalSource.value),)watch([windowSize, leftSidebarWidth], updateViewWidth)diff --git a/packages/nc-gui/composables/useBetaFeatureToggle.ts b/packages/nc-gui/composables/useBetaFeatureToggle.tsindex 696e6ea36c..72e9f374c0 100644--- a/packages/nc-gui/composables/useBetaFeatureToggle.ts+++ b/packages/nc-gui/composables/useBetaFeatureToggle.ts@@ -32,20 +32,6 @@ const FEATURES = [enabled: true,version: 1,},- {- id: 'canvas_grid_view',- title: 'Improved Grid View',- description: 'High-performance grid view with enhanced scrolling and rendering capabilities.',- enabled: !ncIsPlaywright(),- version: 1,- },- {- id: 'canvas_group_grid_view',- title: 'Improved Group By',- description: 'New and Improved groupby in grid view with enhanced scrolling and rendering capabilities.',- enabled: !ncIsPlaywright(),- version: 1,- },{id: 'link_to_another_record',title: 'Link To Another Record',@@ -53,14 +39,6 @@ const FEATURES = [enabled: false,version: 1,},- {- id: 'ai_features',- title: 'AI features',- description: 'Unlock AI features to enhance your NocoDB experience.',- enabled: true,- version: 3,- isEE: true,- },{id: 'ai_beta_features',title: 'AI beta features',diff --git a/packages/nc-gui/composables/useNocoAi.ts b/packages/nc-gui/composables/useNocoAi.tsindex 465aef742b..831f1f7c4f 100644--- a/packages/nc-gui/composables/useNocoAi.ts+++ b/packages/nc-gui/composables/useNocoAi.ts@@ -13,7 +13,7 @@ export const useNocoAi = createSharedComposable(() => {const { isFeatureEnabled } = useBetaFeatureToggle()- const isAiFeaturesEnabled = computed(() => isFeatureEnabled(FEATURE_FLAG.AI_FEATURES))+ const isAiFeaturesEnabled = computed(() => isEeUI)const isAiBetaFeaturesEnabled = computed(() => isFeatureEnabled(FEATURE_FLAG.AI_BETA_FEATURES))@@ -315,13 +315,13 @@ export const useNocoAi = createSharedComposable(() => {column:| string| {- title: string- prompt_raw: string- fk_integration_id: string- uidt: string- model?: string- output_column_ids?: string- },+ title: string+ prompt_raw: string+ fk_integration_id: string+ uidt: string+ model?: string+ output_column_ids?: string+ },rowIds: string[],skipMsgToast = false,preview = false,