This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch ref-get-sqla-engine-2
in repository https://gitbox.apache.org/repos/asf/superset.git
from e089a8d2e7 last one
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 7ce583678e Merge branch 'master' into ref-get-sqla-engine-2
No new revisions were added by this update.
Summary of changes:
RESOURCES/FEATURE_FLAGS.md | 1 +
UPDATING.md | 1 +
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 +-
superset-frontend/package-lock.json | 122 +++++-
superset-frontend/package.json | 2 +
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../spec/fixtures/mockDashboardState.js | 86 ++++
superset-frontend/src/components/Button/index.tsx | 4 +-
.../src/components/DesignSystem.stories.mdx | 25 ++
.../src/components/Dropdown/index.tsx | 26 +-
.../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 +-
.../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} | 39 +-
.../cell-renderers/ActionCell/ActionCell.test.tsx | 50 +++
.../Table/cell-renderers/ActionCell/fixtures.ts} | 50 ++-
.../Table/cell-renderers/ActionCell/index.tsx | 145 +++++++
.../ButtonCell/ButtonCell.stories.tsx | 62 +++
.../cell-renderers/ButtonCell/ButtonCell.test.tsx} | 32 +-
.../cell-renderers/ButtonCell}/index.tsx | 52 ++-
.../NumericCell/NumericCell.stories.tsx} | 42 +-
.../NumericCell/NumericCell.test.tsx} | 40 +-
.../Table/cell-renderers/NumericCell/index.tsx | 418 ++++++++++++++++++++
.../components/Table/cell-renderers/fixtures.ts | 13 +-
superset-frontend/src/components/Table/index.tsx | 326 ++++++++++++++++
.../src/components/Table/sorters.test.ts | 100 +++++
.../limits.ts => src/components/Table/sorters.ts} | 35 +-
.../Table/utils/InteractiveTableUtils.ts | 233 +++++++++++
.../src/components/Table/utils/utils.test.ts | 48 +++
.../components/Table/utils/utils.ts} | 39 +-
superset-frontend/src/components/atomic-design.png | Bin 0 -> 163100 bytes
.../src/dashboard/actions/dashboardState.js | 114 ++++--
.../src/dashboard/actions/dashboardState.test.js | 80 +++-
.../src/dashboard/components/Header/index.jsx | 3 +
.../OverwriteConfirm/OverwriteConfirm.test.tsx} | 42 +-
.../OverwriteConfirmModal.test.tsx | 90 +++++
.../OverwriteConfirm/OverwriteConfirmModal.tsx | 209 ++++++++++
.../components/OverwriteConfirm/index.tsx} | 38 +-
superset-frontend/src/dashboard/constants.ts | 1 +
.../src/dashboard/reducers/dashboardState.js | 7 +
superset-frontend/src/dashboard/types.ts | 11 +
superset-frontend/src/dashboard/util/constants.ts | 1 +
...oardEmpty.test.ts => getOverwriteItems.test.ts} | 51 ++-
.../src/dashboard/util/getOverwriteItems.ts | 44 +++
.../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 +
superset-frontend/webpack.config.js | 2 +-
superset/databases/api.py | 4 +-
superset/db_engine_specs/base.py | 28 +-
superset/db_engine_specs/druid.py | 6 -
superset/db_engine_specs/presto.py | 81 ++--
.../db_engine_specs/hive_tests.py | 4 -
.../db_engine_specs/presto_tests.py | 101 ++---
82 files changed, 3468 insertions(+), 410 deletions(-)
create mode 100644 superset-frontend/src/components/DesignSystem.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/src/{explore/components/controls/SliderControl.stories.tsx =>
components/Table/cell-renderers/ActionCell/ActionCell.stories.tsx} (56%)
create mode 100644
superset-frontend/src/components/Table/cell-renderers/ActionCell/ActionCell.test.tsx
copy superset-frontend/{plugins/legacy-preset-chart-nvd3/src/BoxPlot/index.js
=> src/components/Table/cell-renderers/ActionCell/fixtures.ts} (50%)
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/src/{explore/components/DataTableControl/FilterInput.test.tsx
=> components/Table/cell-renderers/ButtonCell/ButtonCell.test.tsx} (66%)
copy superset-frontend/src/components/{WarningIconWithTooltip =>
Table/cell-renderers/ButtonCell}/index.tsx (53%)
copy superset-frontend/src/components/{EditableTitle/EditableTitle.stories.tsx
=> Table/cell-renderers/NumericCell/NumericCell.stories.tsx} (57%)
copy
superset-frontend/src/{explore/components/DatasourcePanel/DatasourcePanelDragOption/DatasourcePanelDragOption.test.tsx
=> components/Table/cell-renderers/NumericCell/NumericCell.test.tsx} (57%)
create mode 100644
superset-frontend/src/components/Table/cell-renderers/NumericCell/index.tsx
copy docs/babel.config.js =>
superset-frontend/src/components/Table/cell-renderers/fixtures.ts (74%)
create mode 100644 superset-frontend/src/components/Table/index.tsx
create mode 100644 superset-frontend/src/components/Table/sorters.test.ts
copy
superset-frontend/{plugins/plugin-chart-handlebars/src/plugin/controls/limits.ts
=> src/components/Table/sorters.ts} (59%)
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/{plugins/legacy-preset-chart-deckgl/src/utilities/sharedDndControls.jsx
=> src/components/Table/utils/utils.ts} (51%)
create mode 100644 superset-frontend/src/components/atomic-design.png
copy superset-frontend/src/{SqlLab/components/App/App.test.jsx =>
dashboard/components/OverwriteConfirm/OverwriteConfirm.test.tsx} (51%)
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/src/{components/Pagination/Next.test.tsx =>
dashboard/components/OverwriteConfirm/index.tsx} (60%)
copy superset-frontend/src/dashboard/util/{isDashboardEmpty.test.ts =>
getOverwriteItems.test.ts} (50%)
create mode 100644 superset-frontend/src/dashboard/util/getOverwriteItems.ts