-
- Downloads
Convert top-level dashboard components to TypeScript (#37703)
* Convert `DashboardApp` to TypeScript * Convert `Dashboard` to TypeScript * Convert `DashboardGrid` to TypeScript * Convert `DashboardHeader` to TypeScript * Bind `setDashboardAttribute` method * Fix adding dashcards * Fix question's "Add to dashboard" flow * Remove `fetchCardData` prop from `DashCard` (not used) * Make `editingTitle` prop optional * Move `fetchPulseFormInput` to `DispatchProps` * Fix TODO types in `DashboardGrid` * Fix error handling * Replace `any` with `unknown` * Fix `any` in `DashboardGrid` * Fix `onMainScroll` type
Showing
- frontend/src/metabase-types/api/collection.ts 2 additions, 1 deletionfrontend/src/metabase-types/api/collection.ts
- frontend/src/metabase-types/api/dashboard.ts 5 additions, 1 deletionfrontend/src/metabase-types/api/dashboard.ts
- frontend/src/metabase-types/api/mocks/dashboard.ts 1 addition, 0 deletionsfrontend/src/metabase-types/api/mocks/dashboard.ts
- frontend/src/metabase-types/store/dashboard.ts 10 additions, 2 deletionsfrontend/src/metabase-types/store/dashboard.ts
- frontend/src/metabase/dashboard/components/AddSeriesModal/AddSeriesModal.tsx 2 additions, 3 deletions...se/dashboard/components/AddSeriesModal/AddSeriesModal.tsx
- frontend/src/metabase/dashboard/components/DashCard/DashCard.tsx 2 additions, 2 deletions...d/src/metabase/dashboard/components/DashCard/DashCard.tsx
- frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsx 181 additions, 86 deletions...src/metabase/dashboard/components/Dashboard/Dashboard.tsx
- frontend/src/metabase/dashboard/components/DashboardGrid.styled.tsx 1 addition, 1 deletion...rc/metabase/dashboard/components/DashboardGrid.styled.tsx
- frontend/src/metabase/dashboard/components/DashboardGrid.tsx 199 additions, 75 deletionsfrontend/src/metabase/dashboard/components/DashboardGrid.tsx
- frontend/src/metabase/dashboard/components/DashboardHeader/DashboardHeader.tsx 132 additions, 96 deletions.../dashboard/components/DashboardHeader/DashboardHeader.tsx
- frontend/src/metabase/dashboard/components/DashboardHeader/DashboardHeaderView.tsx 10 additions, 7 deletions...hboard/components/DashboardHeader/DashboardHeaderView.tsx
- frontend/src/metabase/dashboard/containers/Dashboard.jsx 0 additions, 1 deletionfrontend/src/metabase/dashboard/containers/Dashboard.jsx
- frontend/src/metabase/dashboard/containers/DashboardApp/DashboardApp.tsx 90 additions, 60 deletions...tabase/dashboard/containers/DashboardApp/DashboardApp.tsx
- frontend/src/metabase/dashboard/selectors.ts 3 additions, 3 deletionsfrontend/src/metabase/dashboard/selectors.ts
- frontend/src/metabase/dashboard/utils.ts 15 additions, 8 deletionsfrontend/src/metabase/dashboard/utils.ts
- frontend/src/metabase/public/components/EmbedModal/types.ts 1 addition, 1 deletionfrontend/src/metabase/public/components/EmbedModal/types.ts
Loading
Please register or sign in to comment