This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
from 644148b37d chore: add SAMPLES_ROW_LIMIT in frontend conf (#20841)
add 0945d4a2f4 feat: Pass dashboard context to explore through local
storage (#20743)
No new revisions were added by this update.
Summary of changes:
superset-frontend/package-lock.json | 1 +
superset-frontend/package.json | 1 +
.../superset-ui-core/src/query/types/Dashboard.ts | 4 +
.../spec/fixtures/mockNativeFilters.ts | 1 +
.../src/components/EditableTitle/index.tsx | 23 +--
superset-frontend/src/constants.ts | 6 +-
superset-frontend/src/dashboard/actions/hydrate.js | 27 +++
.../CrossFilterScopingModal.tsx | 14 +-
.../src/dashboard/components/Dashboard.test.jsx | 3 +-
.../dashboard/components/FiltersBadge/selectors.ts | 14 +-
.../components/SliceHeader/SliceHeader.test.tsx | 61 ++++--
.../src/dashboard/components/SliceHeader/index.tsx | 17 +-
.../SliceHeaderControls.test.tsx | 142 +++++++-------
.../components/SliceHeaderControls/index.tsx | 28 +--
.../components/nativeFilters/FilterBar/index.tsx | 12 +-
.../dashboard/components/nativeFilters/utils.ts | 3 +-
.../src/dashboard/containers/Chart.jsx | 6 +-
.../src/dashboard/containers/Dashboard.ts | 2 +-
.../src/dashboard/containers/DashboardPage.tsx | 98 +++++++++-
superset-frontend/src/dashboard/reducers/types.ts | 1 +
superset-frontend/src/dashboard/types.ts | 4 +
.../dashboard/util/activeAllDashboardFilters.ts | 87 ++-------
.../src/dashboard/util/activeDashboardFilters.js | 4 +-
.../util/charts/getFormDataWithExtraFilters.ts | 22 +--
.../util/getFormDataWithExtraFilters.test.ts | 10 +-
superset-frontend/src/explore/ExplorePage.tsx | 55 +++++-
.../src/explore/components/SaveModal.tsx | 2 +-
.../getFormDataFromDashboardContext.test.ts | 212 +++++++++++++++++++++
.../getFormDataWithDashboardContext.ts | 191 +++++++++++++++++++
.../types/DashboardContextForExplore.ts} | 49 +++--
superset-frontend/src/utils/localStorageHelpers.ts | 3 +
31 files changed, 830 insertions(+), 273 deletions(-)
create mode 100644
superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts
create mode 100644
superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts
copy superset-frontend/{packages/superset-ui-core/test/index.test.ts =>
src/types/DashboardContextForExplore.ts} (58%)