Skip to content

Commit

Permalink
perf: Optimize dashboard grid components (#31240)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored Dec 2, 2024
1 parent 24d001e commit 5006f97
Show file tree
Hide file tree
Showing 10 changed files with 1,018 additions and 909 deletions.
380 changes: 198 additions & 182 deletions superset-frontend/src/dashboard/components/gridComponents/Column.jsx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { FC, Suspense } from 'react';
import { DashboardComponentMetadata, JsonObject, t } from '@superset-ui/core';
import backgroundStyleOptions from 'src/dashboard/util/backgroundStyleOptions';
import cx from 'classnames';
import { useSelector } from 'react-redux';
import { shallowEqual, useSelector } from 'react-redux';
import { Draggable } from '../dnd/DragDroppable';
import { COLUMN_TYPE, ROW_TYPE } from '../../util/componentTypes';
import WithPopoverMenu from '../menu/WithPopoverMenu';
Expand Down Expand Up @@ -103,6 +103,7 @@ const DynamicComponent: FC<FilterSummaryType> = ({
nativeFilters,
dataMask,
}),
shallowEqual,
);

return (
Expand Down
Loading

0 comments on commit 5006f97

Please sign in to comment.