You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/07/16 06:53:21 UTC

(superset) branch mobile-dashboard-support updated (76c247513e2 -> 9da3908bec5)

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

rusackas pushed a change to branch mobile-dashboard-support
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 76c247513e2 feat(mobile): Add mobile-friendly dashboard consumption mode
     add 9da3908bec5 refactor(mobile): gate consumption mode behind MOBILE_CONSUMPTION_MODE flag, fix chart sizing

No new revisions were added by this update.

Summary of changes:
 docs/static/feature-flags.json                     |   6 +
 .../src/components/PageHeaderWithActions/index.tsx |  18 ++-
 .../superset-ui-core/src/utils/featureFlags.ts     |   1 +
 .../tests/mobile/mobile-dashboard.spec.ts          |   4 +
 .../tests/mobile/mobile-navigation.spec.ts         |   4 +
 superset-frontend/spec/helpers/mobileTestUtils.ts  |  19 +++
 superset-frontend/src/components/Chart/Chart.tsx   |  11 --
 .../src/components/ListView/CardCollection.tsx     |   9 +-
 .../src/components/ListView/ListView.test.tsx      |   8 +-
 .../src/components/ListView/ListView.tsx           |  39 ++----
 .../MobileRouteGuard/MobileRouteGuard.test.tsx     | 143 +++++++--------------
 .../src/components/MobileRouteGuard/index.tsx      |  86 ++++---------
 .../DashboardBuilder/DashboardBuilder.tsx          |  67 +---------
 .../DashboardBuilder/DashboardWrapper.tsx          |  22 +---
 .../src/dashboard/components/Header/index.tsx      |   7 +-
 .../Header/useHeaderActionsDropdownMenu.tsx        |  18 +--
 .../src/dashboard/components/SliceHeader/index.tsx |   7 +-
 .../gridComponents/ChartHolder/ChartHolder.tsx     |  13 ++
 .../components/gridComponents/Row/Row.tsx          |  16 ++-
 .../gridComponents/TabsRenderer/TabsRenderer.tsx   |  25 ++--
 .../nativeFilters/FilterBar/Vertical.tsx           |  76 +++++++----
 .../components/nativeFilters/FilterBar/index.tsx   |   4 +-
 .../components/nativeFilters/FilterBar/types.ts    |   5 +
 .../components/resizable/ResizableContainer.tsx    |   7 -
 .../src/features/dashboards/DashboardCard.tsx      |  12 +-
 superset-frontend/src/features/home/Menu.tsx       |  18 +--
 superset-frontend/src/features/home/RightMenu.tsx  |  16 +--
 superset-frontend/src/features/home/SubMenu.tsx    |  73 +++++++----
 superset-frontend/src/hooks/useIsMobile.ts         |  44 +++++++
 .../src/pages/DashboardList/index.tsx              |  13 +-
 .../src/pages/Home/Home.mobile.test.tsx            |   5 +-
 superset-frontend/src/pages/Home/index.tsx         |   5 +-
 .../src/pages/MobileUnsupported/index.tsx          |  46 ++-----
 superset-frontend/src/views/App.tsx                |  38 +++---
 superset-frontend/src/views/CRUD/utils.tsx         |  16 +--
 superset-frontend/src/views/routes.tsx             |  36 ++++--
 superset/config.py                                 |   5 +
 37 files changed, 458 insertions(+), 484 deletions(-)
 create mode 100644 superset-frontend/src/hooks/useIsMobile.ts