allow reordering dashboard tabs (#30833)
* allow reordering dashboard tabs * remove comment * remove unused prop * remove react import * Update frontend/src/metabase/core/components/TabRow/TabRow.styled.tsx Co-authored-by:Ryan Laurie <30528226+iethree@users.noreply.github.com> * rename utils.ts to test-utils.ts --------- Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com>
Showing
- frontend/src/metabase/core/components/Sortable/Sortable.styled.tsx 9 additions, 0 deletions...src/metabase/core/components/Sortable/Sortable.styled.tsx
- frontend/src/metabase/core/components/Sortable/Sortable.tsx 32 additions, 0 deletionsfrontend/src/metabase/core/components/Sortable/Sortable.tsx
- frontend/src/metabase/core/components/Sortable/index.ts 2 additions, 0 deletionsfrontend/src/metabase/core/components/Sortable/index.ts
- frontend/src/metabase/core/components/TabRow/TabRow.stories.tsx 52 additions, 21 deletions...nd/src/metabase/core/components/TabRow/TabRow.stories.tsx
- frontend/src/metabase/core/components/TabRow/TabRow.styled.tsx 5 additions, 0 deletions...end/src/metabase/core/components/TabRow/TabRow.styled.tsx
- frontend/src/metabase/core/components/TabRow/TabRow.tsx 45 additions, 5 deletionsfrontend/src/metabase/core/components/TabRow/TabRow.tsx
- frontend/src/metabase/dashboard/actions/tabs.ts 43 additions, 11 deletionsfrontend/src/metabase/dashboard/actions/tabs.ts
- frontend/src/metabase/dashboard/actions/tabs.unit.spec.ts 18 additions, 0 deletionsfrontend/src/metabase/dashboard/actions/tabs.unit.spec.ts
- frontend/src/metabase/dashboard/components/DashboardTabs/DashboardTabs.tsx 31 additions, 17 deletions...base/dashboard/components/DashboardTabs/DashboardTabs.tsx
- frontend/src/metabase/dashboard/components/DashboardTabs/DashboardTabs.unit.spec.tsx 2 additions, 70 deletions...oard/components/DashboardTabs/DashboardTabs.unit.spec.tsx
- frontend/src/metabase/dashboard/components/DashboardTabs/test-utils.ts 72 additions, 0 deletions...metabase/dashboard/components/DashboardTabs/test-utils.ts
- frontend/src/metabase/dashboard/components/DashboardTabs/useDashboardTabs.ts 19 additions, 7 deletions...se/dashboard/components/DashboardTabs/useDashboardTabs.ts
- package.json 3 additions, 0 deletionspackage.json
- yarn.lock 39 additions, 0 deletionsyarn.lock
Loading
Please register or sign in to comment