This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch feat/horizontal-filterbar-states
in repository https://gitbox.apache.org/repos/asf/superset.git
from 03b23d1a98 Update
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx
add 4ad8d7fae0 Change naming to orientation
add ac4fc73df8 Enhance code structure
add 9b6322b640 fix(native-filters): panels are collapsed when switch
native filters (#21976)
add b040211970 feat: Adds more customization properties to
DropdownContainer (#22031)
add 7d1df3b78d feat: Improves SafeMarkdown HTML sanitization (#21895)
add 9832bbd469 build: Mutli-stage build and slim image for websocket
container (#21954)
add c870fbe9e2 feat: Add 3 new extension points for inserting custom icons
(#22027)
add 358a4ecedd fix: deprecate approve and request_access endpoint (#22022)
add e33a08693b fix: datasource save, improve data validation (#22038)
add aa48cae6fb chore: Adds RTL tests to DropdownContainer (#22041)
add 7a52b22237 test: Fix act errors in DndMetricSelect test (#22048)
add cd1b379bdf fix: accept only JSON credentials (#22040)
add ef6b9a97d5 feat(dashboard): confirm overwrite to prevent unintended
changes (#21819)
add cdec09243b test: Fix act errors in DndColumnSelectControl tests
(#22068)
add 4496748cd9 chore: update Druid (#22067)
add 53ed8f2d5a feat(helm): add `metadata namespace` (#22020)
add 9f7bd1e63f fix(presto/trino): Ensure get_table_names only returns real
tables (#21794)
add 736b53418a feat: create table component based on ant design Table
(#21520)
add 95b4c7b7fe chore(bigquery): Add extra logging for BigQuery exceptions
so we can have better insight on exceptions (#22024)
add 58215cd155 Merge branch 'master' of https://github.com/apache/superset
into feat/horizontal-filterbar-states
add 4d899962b3 Merge branch 'feat/horizontal-filterbar-states' of
https://github.com/apache/superset into feat/horizontal-filterbar-states
No new revisions were added by this update.
Summary of changes:
.github/workflows/docker_build_push.sh | 13 +
RESOURCES/FEATURE_FLAGS.md | 1 +
UPDATING.md | 3 +
helm/superset/Chart.yaml | 2 +-
helm/superset/README.md | 2 +-
helm/superset/templates/configmap-superset.yaml | 1 +
helm/superset/templates/deployment-beat.yaml | 1 +
helm/superset/templates/deployment-flower.yaml | 1 +
helm/superset/templates/deployment-worker.yaml | 1 +
helm/superset/templates/deployment-ws.yaml | 1 +
helm/superset/templates/deployment.yaml | 1 +
helm/superset/templates/ingress.yaml | 1 +
helm/superset/templates/init-job.yaml | 1 +
helm/superset/templates/secret-env.yaml | 1 +
.../superset/templates/secret-superset-config.yaml | 1 +
helm/superset/templates/secret-ws.yaml | 1 +
helm/superset/templates/service-account.yaml | 1 +
helm/superset/templates/service.yaml | 3 +
requirements/base.txt | 2 -
requirements/development.txt | 2 +-
requirements/docker.txt | 2 +
requirements/testing.txt | 2 +-
setup.py | 4 +-
superset-frontend/.storybook/main.js | 3 +-
superset-frontend/.storybook/preview.jsx | 10 +-
.../cypress/integration/dashboard/editmode.test.ts | 2 +-
superset-frontend/package-lock.json | 2267 ++++++++++++++++----
superset-frontend/package.json | 3 +-
.../packages/superset-ui-core/package.json | 48 +-
.../src/components/SafeMarkdown.tsx | 54 +-
.../src/ui-overrides/ExtensionsRegistry.ts | 20 +
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../spec/fixtures/mockDashboardInfo.js | 3 +
.../spec/fixtures/mockDashboardState.js | 86 +
.../spec/helpers/{shim.ts => shim.tsx} | 6 +
superset-frontend/src/components/Button/index.tsx | 4 +-
.../src/components/DesignSystem.stories.mdx | 25 +
.../src/components/Dropdown/index.tsx | 26 +-
.../DropdownContainer.stories.tsx | 63 +-
.../DropdownContainer/DropdownContainer.test.tsx | 143 ++
.../DropdownContainer/Overview.stories.mdx | 17 +
.../src/components/DropdownContainer/index.tsx | 350 +--
.../src/components/Loading/Loading.stories.tsx | 4 +-
.../src/components/Loading/Loading.test.tsx | 4 +-
superset-frontend/src/components/Loading/index.tsx | 6 +-
...verview.stories.mdx => MetadataBar.stories.mdx} | 20 +-
.../components/MetadataBar/MetadataBar.stories.tsx | 10 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 28 +-
superset-frontend/src/components/Select/styles.tsx | 3 +
.../src/components/Table/Table.overview.mdx | 260 +++
.../src/components/Table/Table.stories.tsx | 432 ++++
.../src/components/Table/Table.test.tsx | 80 +
.../ActionCell/ActionCell.overview.mdx | 69 +
.../ActionCell/ActionCell.stories.tsx} | 30 +-
.../cell-renderers/ActionCell/ActionCell.test.tsx | 50 +
.../Table/cell-renderers/ActionCell/fixtures.ts | 47 +
.../Table/cell-renderers/ActionCell/index.tsx | 145 ++
.../ButtonCell/ButtonCell.stories.tsx | 62 +
.../cell-renderers/ButtonCell/ButtonCell.test.tsx} | 34 +-
.../Table/cell-renderers/ButtonCell/index.tsx} | 65 +-
.../NumericCell/NumericCell.stories.tsx} | 44 +-
.../NumericCell/NumericCell.test.tsx | 49 +
.../Table/cell-renderers/NumericCell/index.tsx | 418 ++++
.../Table/cell-renderers/fixtures.ts} | 13 +-
superset-frontend/src/components/Table/index.tsx | 326 +++
.../src/components/Table/sorters.test.ts | 100 +
.../components/Table/sorters.ts} | 30 +-
.../Table/utils/InteractiveTableUtils.ts | 233 ++
.../src/components/Table/utils/utils.test.ts | 48 +
.../Table/utils/utils.ts} | 49 +-
superset-frontend/src/components/atomic-design.png | Bin 0 -> 163100 bytes
.../src/dashboard/actions/dashboardInfo.ts | 22 +-
.../src/dashboard/actions/dashboardState.js | 114 +-
.../src/dashboard/actions/dashboardState.test.js | 80 +-
superset-frontend/src/dashboard/actions/hydrate.js | 6 +-
.../DashboardBuilder/DashboardBuilder.tsx | 22 +-
.../src/dashboard/components/Header/index.jsx | 3 +
.../OverwriteConfirm/OverwriteConfirm.test.tsx | 50 +
.../OverwriteConfirmModal.test.tsx | 90 +
.../OverwriteConfirm/OverwriteConfirmModal.tsx | 209 ++
.../components/OverwriteConfirm/index.tsx} | 33 +-
.../components/gridComponents/Markdown.jsx | 8 +
.../components/gridComponents/Markdown.test.jsx | 12 +-
.../FilterBar/ActionButtons/index.tsx | 124 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 4 +-
.../FilterBarOrientationSelect.test.tsx} | 14 +-
.../index.tsx | 38 +-
.../FilterBar/FilterSets/FilterSets.test.tsx | 2 +-
.../nativeFilters/FilterBar/FilterSets/index.tsx | 3 +-
.../nativeFilters/FilterBar/Header/index.tsx | 4 +-
.../nativeFilters/FilterBar/Horizontal.tsx | 7 +-
.../FilterBar/HorizontalFilterBar.test.tsx | 134 +-
.../nativeFilters/FilterBar/Vertical.tsx | 83 +-
.../components/nativeFilters/FilterBar/index.tsx | 32 +-
.../components/nativeFilters/FilterBar/types.ts | 67 +
.../components/nativeFilters/FilterBar/utils.ts | 44 -
.../FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
superset-frontend/src/dashboard/constants.ts | 1 +
.../src/dashboard/reducers/dashboardInfo.js | 6 +-
.../src/dashboard/reducers/dashboardState.js | 7 +
superset-frontend/src/dashboard/types.ts | 15 +-
superset-frontend/src/dashboard/util/constants.ts | 1 +
.../src/dashboard/util/getOverwriteItems.test.ts | 57 +
.../src/dashboard/util/getOverwriteItems.ts | 44 +
.../src/explore/components/SaveModal.tsx | 13 +-
.../DndMetricSelect.test.tsx | 7 +
.../DndColumnSelectControl/Option.test.tsx | 24 +-
.../DndColumnSelectControl/OptionWrapper.test.tsx | 12 +-
superset-frontend/src/logger/LogUtils.ts | 3 +
superset-frontend/src/types/files.d.ts | 1 +
.../src/views/CRUD/alert/AlertList.tsx | 33 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 1 +
.../src/views/components/RightMenu.tsx | 22 +-
superset-frontend/webpack.config.js | 4 +-
superset-websocket/Dockerfile | 25 +-
superset-websocket/package-lock.json | 2 +-
superset/config.py | 25 +
superset/dashboards/schemas.py | 2 +-
superset/databases/api.py | 4 +-
superset/db_engine_specs/base.py | 39 +-
superset/db_engine_specs/bigquery.py | 9 +
superset/db_engine_specs/druid.py | 8 +-
superset/db_engine_specs/presto.py | 82 +-
superset/db_engine_specs/trino.py | 2 +-
.../configs/dashboards/Slack_Dashboard.yaml | 187 +-
superset/models/core.py | 4 +-
superset/utils/urls.py | 19 +-
superset/views/base.py | 2 +
superset/views/core.py | 18 +-
superset/views/datasource/views.py | 17 +-
tests/integration_tests/access_tests.py | 6 +-
tests/integration_tests/datasource_tests.py | 38 +
.../db_engine_specs/hive_tests.py | 4 -
.../db_engine_specs/presto_tests.py | 100 +-
tests/unit_tests/db_engine_specs/test_bigquery.py | 41 +
tests/unit_tests/utils/urls_tests.py | 26 +
136 files changed, 6621 insertions(+), 1335 deletions(-)
rename superset-frontend/spec/helpers/{shim.ts => shim.tsx} (92%)
create mode 100644 superset-frontend/src/components/DesignSystem.stories.mdx
create mode 100644
superset-frontend/src/components/DropdownContainer/DropdownContainer.test.tsx
create mode 100644
superset-frontend/src/components/DropdownContainer/Overview.stories.mdx
rename superset-frontend/src/components/MetadataBar/{Overview.stories.mdx =>
MetadataBar.stories.mdx} (88%)
create mode 100644 superset-frontend/src/components/Table/Table.overview.mdx
create mode 100644 superset-frontend/src/components/Table/Table.stories.tsx
create mode 100644 superset-frontend/src/components/Table/Table.test.tsx
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ActionCell/ActionCell.overview.mdx
copy superset-frontend/{spec/fixtures/mockDashboardState.js =>
src/components/Table/cell-renderers/ActionCell/ActionCell.stories.tsx} (54%)
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ActionCell/ActionCell.test.tsx
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ActionCell/fixtures.ts
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ActionCell/index.tsx
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ButtonCell/ButtonCell.stories.tsx
copy superset-frontend/{spec/fixtures/mockDashboardState.js =>
src/components/Table/cell-renderers/ButtonCell/ButtonCell.test.tsx} (57%)
copy superset-frontend/src/{dashboard/reducers/dashboardInfo.js =>
components/Table/cell-renderers/ButtonCell/index.tsx} (50%)
copy superset-frontend/{spec/fixtures/mockDashboardInfo.js =>
src/components/Table/cell-renderers/NumericCell/NumericCell.stories.tsx} (55%)
create mode 100644
superset-frontend/src/components/Table/cell-renderers/NumericCell/NumericCell.test.tsx
create mode 100644
superset-frontend/src/components/Table/cell-renderers/NumericCell/index.tsx
copy superset-frontend/src/{types/files.d.ts =>
components/Table/cell-renderers/fixtures.ts} (73%)
create mode 100644 superset-frontend/src/components/Table/index.tsx
create mode 100644 superset-frontend/src/components/Table/sorters.test.ts
copy superset-frontend/{spec/fixtures/mockDashboardState.js =>
src/components/Table/sorters.ts} (56%)
create mode 100644
superset-frontend/src/components/Table/utils/InteractiveTableUtils.ts
create mode 100644 superset-frontend/src/components/Table/utils/utils.test.ts
copy superset-frontend/src/{dashboard/reducers/dashboardInfo.js =>
components/Table/utils/utils.ts} (50%)
create mode 100644 superset-frontend/src/components/atomic-design.png
create mode 100644
superset-frontend/src/dashboard/components/OverwriteConfirm/OverwriteConfirm.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/OverwriteConfirm/OverwriteConfirmModal.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/OverwriteConfirm/OverwriteConfirmModal.tsx
copy superset-frontend/{spec/fixtures/mockDashboardState.js =>
src/dashboard/components/OverwriteConfirm/index.tsx} (54%)
rename
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{FilterBarLocationSelect/FilterBarLocationSelect.test.tsx
=> FilterBarOrientationSelect/FilterBarOrientationSelect.test.tsx} (93%)
rename
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{FilterBarLocationSelect
=> FilterBarOrientationSelect}/index.tsx (64%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/types.ts
create mode 100644
superset-frontend/src/dashboard/util/getOverwriteItems.test.ts
create mode 100644 superset-frontend/src/dashboard/util/getOverwriteItems.ts