You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ms...@apache.org on 2025/09/17 16:40:49 UTC

(superset) branch js-to-ts updated (3e491be312 -> e9a2fa6c63)

This is an automated email from the ASF dual-hosted git repository.

msyavuz pushed a change to branch js-to-ts
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 3e491be312 refactor: migrate 5 dashboard utility files to TypeScript (#35147)
     add e9a2fa6c63 feat: migrate 5 JS files to TypeScript with proper typing

No new revisions were added by this update.

Summary of changes:
 .../spec/fixtures/mockDashboardLayout.js           |  20 +-
 .../MessageToasts/{reducers.js => reducers.ts}     |  20 +-
 .../components/AddSliceCard/AddSliceCard.tsx       |   4 +-
 .../src/dashboard/components/SliceAdder.tsx        |   3 +-
 .../components/dnd/dragDroppableConfig.js          |  85 ---------
 .../components/dnd/dragDroppableConfig.ts          | 188 ++++++++++++++++++
 .../components/gridComponents/DynamicComponent.tsx |   3 +-
 .../gridComponents/new/DraggableNewComponent.tsx   |   3 +-
 ...yDashboardLayout.js => emptyDashboardLayout.ts} |  39 +++-
 .../src/dashboard/util/activeDashboardFilters.js   | 126 ------------
 .../src/dashboard/util/activeDashboardFilters.ts   | 211 +++++++++++++++++++++
 ...ldWrapChildInRow.js => shouldWrapChildInRow.ts} |  23 ++-
 12 files changed, 498 insertions(+), 227 deletions(-)
 rename superset-frontend/src/components/MessageToasts/{reducers.js => reducers.ts} (77%)
 delete mode 100644 superset-frontend/src/dashboard/components/dnd/dragDroppableConfig.js
 create mode 100644 superset-frontend/src/dashboard/components/dnd/dragDroppableConfig.ts
 rename superset-frontend/src/dashboard/fixtures/{emptyDashboardLayout.js => emptyDashboardLayout.ts} (67%)
 delete mode 100644 superset-frontend/src/dashboard/util/activeDashboardFilters.js
 create mode 100644 superset-frontend/src/dashboard/util/activeDashboardFilters.ts
 rename superset-frontend/src/dashboard/util/{shouldWrapChildInRow.js => shouldWrapChildInRow.ts} (65%)