Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: remove old feature flags (#5241)

Shahmir Varqha060a55dc4ef0
diff --git a/frontend/src/components/editor/header/filename-input.tsx b/frontend/src/components/editor/header/filename-input.tsx
index 93eb131922..421e2bc8c8 100644
--- a/frontend/src/components/editor/header/filename-input.tsx
+++ b/frontend/src/components/editor/header/filename-input.tsx
@@ -18,10 +18,10 @@ import { FILE_TYPE_ICONS, guessFileType } from "../file-tree/types";
import { Popover, PopoverContent } from "../../ui/popover";
import { PopoverAnchor } from "@radix-ui/react-popover";
import type { FileInfo } from "@/core/network/types";
-import { getFeatureFlag } from "@/core/config/feature-flag";
import "./filename-input.css";
import { ErrorBoundary } from "../boundary/ErrorBoundary";
+import { getFeatureFlag } from "@/core/config/feature-flag";
interface FilenameInputProps {
resetOnBlur?: boolean;
diff --git a/frontend/src/components/editor/renderers/layout-select.tsx b/frontend/src/components/editor/renderers/layout-select.tsx
index ba7f7b2b52..72c1d0961b 100644
--- a/frontend/src/components/editor/renderers/layout-select.tsx
+++ b/frontend/src/components/editor/renderers/layout-select.tsx
@@ -19,8 +19,8 @@ import {
import { isWasm } from "@/core/wasm/utils";
import { useLayoutActions, useLayoutState } from "@/core/layout/layout";
import { logNever } from "@/utils/assertNever";
-import { getFeatureFlag } from "@/core/config/feature-flag";
import { startCase } from "lodash-es";
+import { getFeatureFlag } from "@/core/config/feature-flag";
export const LayoutSelect: React.FC = () => {
const { selectedLayout } = useLayoutState();
diff --git a/frontend/src/core/config/feature-flag.tsx b/frontend/src/core/config/feature-flag.tsx
index 142ebdf0d7..f34067d64d 100644
--- a/frontend/src/core/config/feature-flag.tsx
+++ b/frontend/src/core/config/feature-flag.tsx
@@ -7,12 +7,10 @@ import { getResolvedMarimoConfig } from "./config";
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ExperimentalFeatures {
- markdown: boolean;
+ markdown: boolean; // Used in playground (community cloud)
inline_ai_tooltip: boolean;
- wasm_layouts: boolean;
- scratchpad: boolean;
+ wasm_layouts: boolean; // Used in playground (community cloud)
rtc_v2: boolean;
- reactive_tests: boolean;
table_charts: boolean;
// Add new feature flags here
}
@@ -21,9 +19,7 @@ const defaultValues: ExperimentalFeatures = {
markdown: true,
inline_ai_tooltip: import.meta.env.DEV,
wasm_layouts: false,
- scratchpad: true,
rtc_v2: false,
- reactive_tests: false,
table_charts: false,
};