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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
chore: disable cell range selection for release (#5334)
Myles Scolnickb034f14bba99
diff --git a/frontend/src/components/data-table/range-focus/use-cell-range-selection.ts b/frontend/src/components/data-table/range-focus/use-cell-range-selection.tsindex 4ca5deade2..3f6517ca31 100644--- a/frontend/src/components/data-table/range-focus/use-cell-range-selection.ts+++ b/frontend/src/components/data-table/range-focus/use-cell-range-selection.ts@@ -2,6 +2,7 @@import type { Cell, Table } from "@tanstack/react-table";import useEvent from "react-use-event-hook";+import { Functions } from "@/utils/functions";import { type SelectedCell, useCellSelectionReducerActions } from "./atoms";export interface UseCellRangeSelectionProps<TData> {@@ -93,6 +94,18 @@ export const useCellRangeSelection = <TData>({},);+ if (DISABLED) {+ return {+ handleCellMouseDown: Functions.NOOP,+ handleCellMouseUp: Functions.NOOP,+ handleCellMouseOver: Functions.NOOP,+ handleCellsKeyDown: Functions.NOOP,+ updateSelection: Functions.NOOP,+ clearSelection: Functions.NOOP,+ handleCopy: Functions.NOOP,+ };+ }+return {handleCellMouseDown,handleCellMouseUp,@@ -103,3 +116,5 @@ export const useCellRangeSelection = <TData>({clearSelection: actions.clearSelection,};};++const DISABLED = true;