Skip to content

Commit db18fd8

Browse files
committed
use new connectors
1 parent 9cd0a2c commit db18fd8

File tree

3 files changed

+5
-53
lines changed

3 files changed

+5
-53
lines changed

apps/roam/src/components/settings/AdminPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { countReifiedRelations } from "~/utils/createReifiedBlock";
3030
import { DGSupabaseClient } from "@repo/database/lib/client";
3131
import internalError from "~/utils/internalError";
3232
import SuggestiveModeSettings from "./SuggestiveModeSettings";
33-
import { BlockPropFeatureFlagPanel } from "./components/BlockPropFeatureFlagPanel";
33+
import { FeatureFlagPanel } from "./components/BlockPropSettingPanels";
3434
import { useFeatureFlag } from "./utils/hooks";
3535

3636
const NodeRow = ({ node }: { node: PConceptFull }) => {
@@ -339,7 +339,7 @@ const FeatureFlagsTab = (): React.ReactElement => {
339339

340340
return (
341341
<div className="flex flex-col gap-4 p-4">
342-
<BlockPropFeatureFlagPanel
342+
<FeatureFlagPanel
343343
title="(BETA) Suggestive Mode Enabled"
344344
description="Whether or not to enable the suggestive mode, if this is first time enabling it, you will need to generate and upload all node embeddings to supabase. Go to Suggestive Mode -> Sync Config -> Click on 'Generate & Upload All Node Embeddings'"
345345
featureKey="Suggestive Mode Enabled"
@@ -390,7 +390,7 @@ const FeatureFlagsTab = (): React.ReactElement => {
390390
</p>
391391
</Alert>
392392

393-
<BlockPropFeatureFlagPanel
393+
<FeatureFlagPanel
394394
title="Reified Relation Triples"
395395
description="When ON, relations are read/written as reifiedRelationUid in [[roam/js/discourse-graph/relations]]."
396396
featureKey="Reified Relation Triples"

apps/roam/src/components/settings/GeneralSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import TextPanel from "roamjs-components/components/ConfigPanels/TextPanel";
33
import { getFormattedConfigTree } from "~/utils/discourseConfigRef";
44
import refreshConfigTree from "~/utils/refreshConfigTree";
55
import { DEFAULT_CANVAS_PAGE_FORMAT } from "~/index";
6-
import { BlockPropFeatureFlagPanel } from "./components/BlockPropFeatureFlagPanel";
6+
import { FeatureFlagPanel } from "./components/BlockPropSettingPanels";
77

88
const DiscourseGraphHome = () => {
99
const settings = useMemo(() => {
@@ -30,7 +30,7 @@ const DiscourseGraphHome = () => {
3030
value={settings.canvasPageFormat.value}
3131
defaultValue={DEFAULT_CANVAS_PAGE_FORMAT}
3232
/>
33-
<BlockPropFeatureFlagPanel
33+
<FeatureFlagPanel
3434
title="(BETA) Enable Left Sidebar"
3535
description="Whether or not to enable the left sidebar."
3636
featureKey="Enable Left Sidebar"

apps/roam/src/components/settings/components/BlockPropFeatureFlagPanel.tsx

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)