Skip to content

The open alternative to Salesforce, designed for AI.

Move in-product explainer videos from feature flagged to GA (#24337)

Jonathan Bredo1ad0508495ee
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index fcddbfb9c4b..24b3f45ec45 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -1746,7 +1746,6 @@ enum FeatureFlagKey {
IS_LIST_VIEW_ENABLED
IS_REST_METADATA_API_NEW_FORMAT_DIRECT
IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED
- IS_SETTINGS_DISCOVERY_HERO_ENABLED
IS_WORKFLOW_VERSION_IN_CORE_ENABLED
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 3a56f57d778..a59f130d57f 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -1405,7 +1405,7 @@ export interface FeatureFlag {
__typename: 'FeatureFlag'
}
-export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_CALENDAR_WEEK_VIEW_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_LIST_VIEW_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED' | 'IS_NATIVE_CALL_RECORDING_TABS_ENABLED' | 'IS_ORM_V2_READ_PATH_ENABLED'
+export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_CALENDAR_WEEK_VIEW_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_LIST_VIEW_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED' | 'IS_NATIVE_CALL_RECORDING_TABS_ENABLED' | 'IS_ORM_V2_READ_PATH_ENABLED'
export interface WorkspaceUrls {
customUrl?: Scalars['String']
@@ -9725,7 +9725,6 @@ export const enumFeatureFlagKey = {
IS_LIST_VIEW_ENABLED: 'IS_LIST_VIEW_ENABLED' as const,
IS_REST_METADATA_API_NEW_FORMAT_DIRECT: 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' as const,
IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' as const,
- IS_SETTINGS_DISCOVERY_HERO_ENABLED: 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' as const,
IS_WORKFLOW_VERSION_IN_CORE_ENABLED: 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' as const,
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED: 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' as const,
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED: 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED' as const,
diff --git a/packages/twenty-front/src/generated-admin/graphql.ts b/packages/twenty-front/src/generated-admin/graphql.ts
index 7d0a80434ae..3c4a0998daa 100644
--- a/packages/twenty-front/src/generated-admin/graphql.ts
+++ b/packages/twenty-front/src/generated-admin/graphql.ts
@@ -402,7 +402,6 @@ export enum FeatureFlagKey {
IS_NATIVE_CALL_RECORDING_TABS_ENABLED = 'IS_NATIVE_CALL_RECORDING_TABS_ENABLED',
IS_ORM_V2_READ_PATH_ENABLED = 'IS_ORM_V2_READ_PATH_ENABLED',
IS_REST_METADATA_API_NEW_FORMAT_DIRECT = 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT',
- IS_SETTINGS_DISCOVERY_HERO_ENABLED = 'IS_SETTINGS_DISCOVERY_HERO_ENABLED',
IS_UNIQUE_INDEXES_ENABLED = 'IS_UNIQUE_INDEXES_ENABLED',
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED = 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED',
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED = 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED',
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 0a2b940e7b3..83a53d9966b 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -1810,7 +1810,6 @@ export enum FeatureFlagKey {
IS_NATIVE_CALL_RECORDING_TABS_ENABLED = 'IS_NATIVE_CALL_RECORDING_TABS_ENABLED',
IS_ORM_V2_READ_PATH_ENABLED = 'IS_ORM_V2_READ_PATH_ENABLED',
IS_REST_METADATA_API_NEW_FORMAT_DIRECT = 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT',
- IS_SETTINGS_DISCOVERY_HERO_ENABLED = 'IS_SETTINGS_DISCOVERY_HERO_ENABLED',
IS_UNIQUE_INDEXES_ENABLED = 'IS_UNIQUE_INDEXES_ENABLED',
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED = 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED',
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED = 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED',
diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx
index 91960b72506..65c49507951 100644
--- a/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx
+++ b/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx
@@ -12,6 +12,7 @@ export type SettingsCustomizeVideoModalTab = {
title: string;
Icon: IconComponent;
vimeoId: string;
+ hasSound?: boolean;
};
type SettingsCustomizeVideoModalProps = {
@@ -93,7 +94,11 @@ export const SettingsCustomizeVideoModal = ({
<StyledVideoContainer>
<StyledVideoIframe
key={activeTab.id}
- src={`https://player.vimeo.com/video/${activeTab.vimeoId}?autoplay=1&loop=1&autopause=0&background=1&muted=1`}
+ src={
+ activeTab.hasSound
+ ? `https://player.vimeo.com/video/${activeTab.vimeoId}?byline=0&portrait=0&title=0&vimeo_logo=0&app_id=58479&dnt=1`
+ : `https://player.vimeo.com/video/${activeTab.vimeoId}?autoplay=1&loop=1&autopause=0&background=1&muted=1&dnt=1`
+ }
allow="autoplay; fullscreen; picture-in-picture"
title={activeTab.title}
/>
diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx
index 4a6dc9511bd..0a0f8b00cae 100644
--- a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx
+++ b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx
@@ -4,13 +4,11 @@ import {
} from '@/settings/components/SettingsCustomizeVideoModal';
import { HeroPlayButton } from '@/ui/layout/hero/components/HeroPlayButton';
import { useModal } from '@/ui/layout/modal/hooks/useModal';
-import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';
import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
import { type ReactNode, useContext } from 'react';
import { Card } from 'twenty-ui/surfaces';
import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';
-import { FeatureFlagKey } from '~/generated-metadata/graphql';
const DEFAULT_COVER_HEIGHT = 150;
@@ -67,10 +65,7 @@ export const SettingsDiscoveryHeroCard = ({
const { t } = useLingui();
const { colorScheme } = useContext(ThemeContext);
const { openModal } = useModal();
- const isDiscoveryVideoEnabled = useIsFeatureEnabled(
- FeatureFlagKey.IS_SETTINGS_DISCOVERY_HERO_ENABLED,
- );
- const shouldDisplayVideo = isDiscoveryVideoEnabled && tabs.length > 0;
+ const shouldDisplayVideo = tabs.length > 0;
const modalInstanceId = `${instanceIdPrefix}-modal`;
const tabsInstanceId = `${instanceIdPrefix}-tabs`;
diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx
index 00efde3ceee..1125aff59fa 100644
--- a/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx
+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx
@@ -12,6 +12,7 @@ import {
IconCpu,
IconLayoutDashboard,
IconPlus,
+ IconSparkle2,
IconSparkles,
IconTool,
} from 'twenty-ui/icon';
@@ -119,22 +120,11 @@ export const SettingsAI = () => {
instanceIdPrefix={SETTINGS_AI_HERO_INSTANCE_ID_PREFIX}
tabs={[
{
- id: 'skills',
- title: t`Skills`,
- Icon: IconSparkles,
- vimeoId: '1185511734',
- },
- {
- id: 'tools',
- title: t`Tools`,
- Icon: IconTool,
- vimeoId: '1185511734',
- },
- {
- id: 'models',
- title: t`Models`,
- Icon: IconCpu,
- vimeoId: '1185511734',
+ id: 'ai_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217964358',
+ hasSound: true,
},
]}
playButtonAriaLabel={t`Watch AI demo`}
diff --git a/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx b/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx
index 510fc78a5c2..0426066506d 100644
--- a/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx
+++ b/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx
@@ -1,32 +1,26 @@
+import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
+import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';
+import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';
import { SettingsDiscoveryHeroCard } from '@/settings/components/SettingsDiscoveryHeroCard';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { SettingsApiKeysTable } from '@/settings/developers/components/SettingsApiKeysTable';
import { SettingsWebhooksTable } from '@/settings/developers/components/SettingsWebhooksTable';
-import { PlaygroundSetupForm } from '@/settings/mcp-and-apis/components/PlaygroundSetupForm';
-import { SettingsMcpSetup } from '@/settings/mcp-and-apis/components/SettingsMcpSetup';
-import McpCoverDark from '@/settings/mcp-and-apis/assets/mcp-cover-dark.png';
-import McpCoverLight from '@/settings/mcp-and-apis/assets/mcp-cover-light.png';
-import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import PlaygroundCoverDark from '@/settings/mcp-and-apis/assets/cover-dark.png';
import PlaygroundCoverLight from '@/settings/mcp-and-apis/assets/cover-light.png';
-import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';
-import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';
+import McpCoverDark from '@/settings/mcp-and-apis/assets/mcp-cover-dark.png';
+import McpCoverLight from '@/settings/mcp-and-apis/assets/mcp-cover-light.png';
+import { PlaygroundSetupForm } from '@/settings/mcp-and-apis/components/PlaygroundSetupForm';
+import { SettingsMcpSetup } from '@/settings/mcp-and-apis/components/SettingsMcpSetup';
import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';
import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
-import {
- IconBrandGraphql,
- IconPlus,
- IconPlug,
- IconSparkle2,
- IconWebhook,
-} from 'twenty-ui/icon';
-import { H2Title } from 'twenty-ui/typography';
+import { IconPlug, IconPlus, IconSparkle2, IconWebhook } from 'twenty-ui/icon';
import { Button } from 'twenty-ui/input';
import { Section } from 'twenty-ui/layout';
import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';
+import { H2Title } from 'twenty-ui/typography';
import { SETTINGS_API_WEBHOOKS_TABS } from '~/pages/settings/api-webhooks/constants/SettingsApiWebhooksTabs';
type TabKey =
@@ -110,24 +104,15 @@ export const SettingsApiWebhooks = () => {
lightSrc={isMcpTab ? McpCoverLight : PlaygroundCoverLight}
darkSrc={isMcpTab ? McpCoverDark : PlaygroundCoverDark}
instanceIdPrefix={SETTINGS_API_HERO_INSTANCE_ID_PREFIX}
- tabs={
- isMcpTab
- ? []
- : [
- {
- id: 'rest',
- title: t`REST`,
- Icon: IconPlug,
- vimeoId: '928786722',
- },
- {
- id: 'graphql',
- title: t`GraphQL`,
- Icon: IconBrandGraphql,
- vimeoId: '928786722',
- },
- ]
- }
+ tabs={[
+ {
+ id: 'api_webhook_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217967646',
+ hasSound: true,
+ },
+ ]}
playButtonAriaLabel={t`Watch API demo`}
/>
</Section>
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx
index e5652214367..212caebb8d4 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx
@@ -1,17 +1,17 @@
import { SettingsDiscoveryHeroCard } from '@/settings/components/SettingsDiscoveryHeroCard';
-import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';
import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';
+import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
import { useLingui } from '@lingui/react/macro';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
-import { IconApps, IconCode, IconDownload, IconPlug } from 'twenty-ui/icon';
+import { IconApps, IconCode, IconDownload, IconSparkle2 } from 'twenty-ui/icon';
import { Section } from 'twenty-ui/layout';
+import { PermissionFlagType } from '~/generated-metadata/graphql';
import coverDark from '~/pages/settings/applications/assets/cover-dark.png';
import coverLight from '~/pages/settings/applications/assets/cover-light.png';
-import { PermissionFlagType } from '~/generated-metadata/graphql';
import { SettingsApplicationsClaimErrorTabEffect } from '~/pages/settings/applications/components/SettingsApplicationsClaimErrorTabEffect';
import { SettingsApplicationsAvailableTab } from '~/pages/settings/applications/tabs/SettingsApplicationsAvailableTab';
import { SettingsApplicationsDeveloperTab } from '~/pages/settings/applications/tabs/SettingsApplicationsDeveloperTab';
@@ -84,22 +84,11 @@ export const SettingsApplications = () => {
instanceIdPrefix={APPLICATIONS_HERO_INSTANCE_ID_PREFIX}
tabs={[
{
- id: 'browse',
- title: t`Browse`,
- Icon: IconDownload,
- vimeoId: '1185416793',
- },
- {
- id: 'install',
- title: t`Install`,
- Icon: IconApps,
- vimeoId: '1185416793',
- },
- {
- id: 'develop',
- title: t`Develop`,
- Icon: IconPlug,
- vimeoId: '1185416793',
+ id: 'app_marketplace_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217964666',
+ hasSound: true,
},
]}
playButtonAriaLabel={t`Watch apps demo`}
diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx
index 7da09bd050e..2ef395bf5d3 100644
--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx
+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx
@@ -1,25 +1,19 @@
import { isDDLLockedState } from '@/client-config/states/isDDLLockedState';
import { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteredObjectMetadataItems';
+import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { SettingsDiscoveryHeroCard } from '@/settings/components/SettingsDiscoveryHeroCard';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
+import DarkCoverImage from '@/settings/data-model/assets/cover-dark.png';
+import LightCoverImage from '@/settings/data-model/assets/cover-light.png';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
-import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { useLingui } from '@lingui/react/macro';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
-import {
- IconEye,
- IconHierarchy2,
- IconLink,
- IconList,
- IconPlus,
-} from 'twenty-ui/icon';
-import { H2Title } from 'twenty-ui/typography';
+import { IconEye, IconPlus, IconSparkle2 } from 'twenty-ui/icon';
import { Button } from 'twenty-ui/input';
import { Section } from 'twenty-ui/layout';
import { UndecoratedLink } from 'twenty-ui/navigation';
-import DarkCoverImage from '@/settings/data-model/assets/cover-dark.png';
-import LightCoverImage from '@/settings/data-model/assets/cover-light.png';
+import { H2Title } from 'twenty-ui/typography';
import { SettingsObjectTable } from '~/pages/settings/data-model/SettingsObjectTable';
const SETTINGS_DATA_MODEL_HERO_INSTANCE_ID_PREFIX = 'settings-data-model-hero';
@@ -32,22 +26,11 @@ export const SettingsObjects = () => {
const heroTabs = [
{
- id: 'objects',
- title: t`Objects`,
- Icon: IconHierarchy2,
- vimeoId: '926288174',
- },
- {
- id: 'fields',
- title: t`Fields`,
- Icon: IconList,
- vimeoId: '927628219',
- },
- {
- id: 'relations',
- title: t`Relations`,
- Icon: IconLink,
- vimeoId: '1185511827',
+ id: 'data_model_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217964359',
+ hasSound: true,
},
];
diff --git a/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx b/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx
index 2344999bdfc..1314bc4be8c 100644
--- a/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx
+++ b/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx
@@ -1,24 +1,17 @@
import { useEnterLayoutCustomizationMode } from '@/layout-customization/hooks/useEnterLayoutCustomizationMode';
+import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { SettingsDiscoveryHeroCard } from '@/settings/components/SettingsDiscoveryHeroCard';
import { SettingsDiscoveryHeroCardFooter } from '@/settings/components/SettingsDiscoveryHeroCardFooter';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { SettingsLayoutItemsStats } from '@/settings/layout/components/SettingsLayoutItemsStats';
-import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { useLingui } from '@lingui/react/macro';
import { useNavigate } from 'react-router-dom';
import { AppPath, SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
-import {
- IconAppWindow,
- IconCommand,
- IconLayoutDashboard,
- IconLayoutSidebarLeftExpand,
- IconPencil,
- IconTable,
-} from 'twenty-ui/icon';
-import { H2Title } from 'twenty-ui/typography';
+import { IconLayoutDashboard, IconPencil, IconSparkle2 } from 'twenty-ui/icon';
import { Button } from 'twenty-ui/input';
import { Section } from 'twenty-ui/layout';
+import { H2Title } from 'twenty-ui/typography';
import coverDark from '~/pages/settings/layout/assets/cover-dark.png';
import coverLight from '~/pages/settings/layout/assets/cover-light.png';
@@ -37,34 +30,11 @@ export const SettingsLayout = () => {
const heroTabs = [
{
- id: 'sidebar',
- title: t`Sidebar`,
- Icon: IconLayoutSidebarLeftExpand,
- vimeoId: '1185511790',
- },
- {
- id: 'record-page',
- title: t`Record page`,
- Icon: IconAppWindow,
- vimeoId: '1185511790',
- },
- {
- id: 'command-menu',
- title: t`Command menu`,
- Icon: IconCommand,
- vimeoId: '1185416775',
- },
- {
- id: 'views',
- title: t`Views`,
- Icon: IconTable,
- vimeoId: '1145648745',
- },
- {
- id: 'dashboards',
- title: t`Dashboards`,
- Icon: IconLayoutDashboard,
- vimeoId: '1185511768',
+ id: 'layout_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217964357',
+ hasSound: true,
},
];
diff --git a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx
index abba181a751..a2819f7879f 100644
--- a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx
+++ b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx
@@ -1,21 +1,26 @@
import { Trans, useLingui } from '@lingui/react/macro';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
-import { IconLock, IconUserPlus, IconUsers } from 'twenty-ui/icon';
+import {
+ IconLock,
+ IconSparkle2,
+ IconUserPlus,
+ IconUsers,
+} from 'twenty-ui/icon';
import { SettingsDiscoveryHeroCard } from '@/settings/components/SettingsDiscoveryHeroCard';
-import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';
import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';
+import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
import { Section } from 'twenty-ui/layout';
import { PermissionFlagType } from '~/generated-metadata/graphql';
+import coverDark from '~/pages/settings/members/assets/cover-dark.png';
+import coverLight from '~/pages/settings/members/assets/cover-light.png';
import { SettingsWorkspaceMembersInviteTab } from '~/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab';
import { SettingsWorkspaceMembersRolesTab } from '~/pages/settings/members/tabs/SettingsWorkspaceMembersRolesTab';
import { SettingsWorkspaceMembersTeamTab } from '~/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab';
-import coverDark from '~/pages/settings/members/assets/cover-dark.png';
-import coverLight from '~/pages/settings/members/assets/cover-light.png';
const MEMBERS_TAB_LIST_ID = 'members-tab-list';
@@ -80,27 +85,12 @@ export const SettingsWorkspaceMembers = () => {
instanceIdPrefix={SETTINGS_MEMBERS_HERO_INSTANCE_ID_PREFIX}
tabs={[
{
- id: 'team',
- title: t`Team`,
- Icon: IconUsers,
- vimeoId: '1185227242',
- },
- {
- id: 'invite',
- title: t`Invite`,
- Icon: IconUserPlus,
- vimeoId: '1185227242',
+ id: 'members_walkthrough',
+ title: t`Walkthrough`,
+ Icon: IconSparkle2,
+ vimeoId: '1217964364',
+ hasSound: true,
},
- ...(hasRolesPermission
- ? [
- {
- id: 'roles',
- title: t`Roles`,
- Icon: IconLock,
- vimeoId: '1185227242',
- },
- ]
- : []),
]}
playButtonAriaLabel={t`Watch members demo`}
/>
diff --git a/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts b/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
index 73e14f61a5c..2aea4336bee 100644
--- a/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
+++ b/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
@@ -40,15 +40,6 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
icon: 'IconList',
},
},
- {
- key: FeatureFlagKey.IS_SETTINGS_DISCOVERY_HERO_ENABLED,
- metadata: {
- label: 'Settings Discovery Hero',
- description:
- 'Show the per-page hero illustration + video walkthrough modal on settings pages',
- icon: 'IconSparkles',
- },
- },
...(process.env.CLOUDFLARE_API_KEY
? [
// {
diff --git a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
index a2d5db30c95..d52bbb8c168 100644
--- a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
@@ -251,7 +251,6 @@ describe('WorkspaceEntityManager', () => {
IS_LIST_VIEW_ENABLED: false,
IS_REST_METADATA_API_NEW_FORMAT_DIRECT: false,
IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: false,
- IS_SETTINGS_DISCOVERY_HERO_ENABLED: false,
IS_WORKFLOW_VERSION_IN_CORE_ENABLED: false,
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED: false,
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED: false,
diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-feature-flags.util.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-feature-flags.util.ts
index bc85767a4be..592ef020c7c 100644
--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-feature-flags.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-feature-flags.util.ts
@@ -10,7 +10,6 @@ const DEFAULT_SEEDED_FEATURE_FLAGS: Partial<Record<FeatureFlagKey, boolean>> = {
[FeatureFlagKey.IS_CALENDAR_WEEK_VIEW_ENABLED]: true,
[FeatureFlagKey.IS_EMAIL_GROUP_ENABLED]: true,
[FeatureFlagKey.IS_JUNCTION_RELATIONS_ENABLED]: true,
- [FeatureFlagKey.IS_SETTINGS_DISCOVERY_HERO_ENABLED]: false,
};
// Temporary: lets CI run the suite against the ORM v2 read path while it is behind a
diff --git a/packages/twenty-shared/src/types/FeatureFlagKey.ts b/packages/twenty-shared/src/types/FeatureFlagKey.ts
index f4b091de54e..50157359d29 100644
--- a/packages/twenty-shared/src/types/FeatureFlagKey.ts
+++ b/packages/twenty-shared/src/types/FeatureFlagKey.ts
@@ -8,7 +8,6 @@ export enum FeatureFlagKey {
IS_LIST_VIEW_ENABLED = 'IS_LIST_VIEW_ENABLED',
IS_REST_METADATA_API_NEW_FORMAT_DIRECT = 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT',
IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED = 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED',
- IS_SETTINGS_DISCOVERY_HERO_ENABLED = 'IS_SETTINGS_DISCOVERY_HERO_ENABLED',
IS_WORKFLOW_VERSION_IN_CORE_ENABLED = 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED',
IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED = 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED',
IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED = 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED',