This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch
dependabot/npm_and_yarn/superset-frontend/react-router-dom-6.3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 067b262ca1 chore(deps): bump react-router-dom in /superset-frontend
add 7e3e13321b fix: Most common flaky Cypress tests (#21941)
add 06da7bf65c feat(helm): Support for flower and websocket containers
(#21806)
add fb8231b50c fix(sqllab): wiped out unsaved changes by delayed actions
(#21877)
add 9d25453425 fix(explore): Chart save modal displays error instead of
failing silently (#21920)
add 102909e004 fix: small bump to shillelagh (#21953)
add 3c7a081281 fix(explore): Small changes in metadata bar copy and
tooltip placement (#21952)
add 7f563cf92d chore: Remove several React app console warnings and errors
v2 (#21725)
add d3f930a557 fix: add form data for empty state control to save dataset
(#21944)
add d1807db041 fix: Adds logging for SPA route navigation with React
router (#21960)
add 33fc57854d fix: error_parsing (#21946)
add efefb66c2d chore: bump pyathena and related packages (#21958)
add ae9a30b37c build(helm): Helm-docs + fix Helm chart release (#21963)
add 3ea8f20f71 fix: bump expected npm version in superset-websocket
(#21973)
add bf001931c8 perf(native-filters): improve native filter modal form
performance (#21821)
add 66f166be0f perf(native-filters): reduce the re-rendering of native
filter modal (#21781)
add c9470cac91 fix: dashboard api cache decorator (#21964)
add a02a778cc3 feat(reports): execute as other than selenium user (#21931)
add 7f78778792 refactor: return initial exception and check if it's user
error (#21836)
add 3bb9187797 fix: invalid float number format by json-bigint (#21968)
add 5c27aafc0b feat: Selectable dropdown triggered by icon component
(#21955)
add dc7399540b chore: bubble up more db error messages (#21982)
add 72598a5b2a fix: rename datasource->dataset in error message (#21959)
add 25be9ab4bc fix: bump gecko and mozilla in Dockerfile (#21995)
add a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and
move the Time Section away (#21767)
add 3a023392e6 fix: invalid float number format by json-bigint (#21996)
add 4a330a3630 chore: Refactor ownership (#21938)
add 4e33235020 chore: Verify edit permission for Horizontal filter bar
(#21990)
add 429f246f7a refactor: clean up codes (#22002)
add ba65f66897 fix: Change downloadAsImage to use Superset theme (#22011)
add 4cbd70db34 fix: Revert shared controls typing change. (#22014)
add 97e3e790a3 feat: Adds the DropdownContainer component (#21974)
add d52d72ce64 refactor: Feature flags getter (#22015)
add 68e8b00cde feat(dashboard): Support changing filter bar location
(#22004)
add 6bbf4f8718 fix: JSON serializers (#22029)
add 5e1eecb3e7 chore(dataset): enable reload for schema and table (#22032)
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 a03fd2f995 chore(deps): bump react-router-dom in /superset-frontend
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (067b262ca1)
\
N -- N -- N
refs/heads/dependabot/npm_and_yarn/superset-frontend/react-router-dom-6.3.0
(a03fd2f995)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/docker_build_push.sh | 13 +
.github/workflows/superset-helm-lint.yml | 1 +
.github/workflows/superset-helm-release.yml | 7 +-
.github/workflows/superset-python-misc.yml | 19 +-
.markdownlint.json | 4 +
.pre-commit-config.yaml | 9 +-
Dockerfile | 4 +-
RESOURCES/FEATURE_FLAGS.md | 1 +
UPDATING.md | 2 +
docs/docs/installation/alerts-reports.mdx | 28 +-
helm/superset/Chart.lock | 9 +
helm/superset/Chart.yaml | 25 +-
helm/superset/README.md | 249 +++
helm/superset/README.md.gotmpl | 40 +
helm/superset/templates/deployment-beat.yaml | 42 +-
...deployment-beat.yaml => deployment-flower.yaml} | 104 +-
helm/superset/templates/deployment-worker.yaml | 50 +-
helm/superset/templates/deployment-ws.yaml | 138 ++
helm/superset/templates/deployment.yaml | 66 +-
helm/superset/templates/ingress.yaml | 15 +-
helm/superset/templates/init-job.yaml | 12 +-
.../superset/templates/secret-ws.yaml | 27 +-
helm/superset/templates/service.yaml | 58 +
helm/superset/values.schema.json | 700 ------
helm/superset/values.yaml | 433 +++-
lintconf.yaml | 8 +-
requirements/base.txt | 15 +-
requirements/development.txt | 4 +-
requirements/testing.txt | 2 +
setup.py | 9 +-
.../cypress/integration/chart_list/list.test.ts | 3 +-
.../cypress/integration/dashboard/editmode.test.ts | 18 +-
.../integration/dashboard/nativeFilters.test.ts | 14 +-
.../integration/explore/advanced_analytics.test.ts | 9 +-
.../cypress/integration/explore/chart.test.js | 4 +-
.../cypress/integration/explore/control.test.ts | 16 +-
.../cypress/integration/explore/utils.ts | 17 +-
.../cypress/integration/sqllab/tabs.test.ts | 4 +-
superset-frontend/package-lock.json | 2323 ++++++++++++++++----
superset-frontend/package.json | 5 +-
.../{test => src}/fixtures.ts | 2 +-
.../superset-ui-chart-controls/src/index.ts | 1 +
.../src/sections/sections.tsx | 28 +-
.../src/shared-controls/dndControls.tsx | 4 +-
.../src/shared-controls/mixins.tsx | 56 +
.../superset-ui-chart-controls/src/types.ts | 11 +-
.../src/utils/getTemporalColumns.ts | 19 +-
.../superset-ui-chart-controls/src/utils/index.ts | 2 +-
.../test/utils/getTemporalColumns.test.ts | 13 +-
.../packages/superset-ui-core/package.json | 48 +-
.../src/components/SafeMarkdown.tsx | 54 +-
.../src/connection/callApi/parseResponse.ts | 7 +-
.../src/query/buildQueryContext.ts | 20 +-
.../superset-ui-core/src/query/types/Operator.ts | 1 +
.../superset-ui-core/src/query/types/Query.ts | 1 +
.../src/ui-overrides/ExtensionsRegistry.ts | 20 +
.../superset-ui-core/src/utils/featureFlags.ts | 10 +-
.../test/connection/callApi/parseResponse.test.ts | 21 +-
.../test/query/buildQueryContext.test.ts | 59 +-
.../superset-ui-core/test/query/getAxis.test.ts | 55 +-
.../test/utils/featureFlag.test.ts | 47 +-
.../src/controlPanel.ts | 5 +-
.../src/plugin/controlPanel.tsx | 2 +-
.../spec/fixtures/mockDashboardState.js | 86 +
.../spec/helpers/{shim.ts => shim.tsx} | 6 +
.../SqlLab/components/SaveDatasetModal/index.tsx | 9 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 49 +-
.../src/SqlLab/reducers/sqlLab.test.js | 26 +-
.../src/addSlice/AddSliceContainer.tsx | 11 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 4 +-
.../src/components/DatabaseSelector/index.tsx | 17 +-
.../DropdownContainer.stories.tsx | 108 +
.../DropdownContainer/DropdownContainer.test.tsx | 143 ++
.../DropdownContainer/Overview.stories.mdx | 17 +
.../src/components/DropdownContainer/index.tsx | 294 +++
.../DropdownSelectableIcon.stories.tsx} | 55 +-
.../DropdownSelectableIcon.test.tsx | 99 +
.../components/DropdownSelectableIcon/index.tsx | 108 +
.../src/components/ListView/Filters/index.tsx | 7 +-
superset-frontend/src/components/ListView/types.ts | 1 +
.../src/components/ListViewCard/index.tsx | 20 +-
superset-frontend/src/components/Menu/index.tsx | 3 +
.../src/components/MetadataBar/MetadataBar.tsx | 17 +-
superset-frontend/src/components/Modal/Modal.tsx | 1 +
.../ReportModal/HeaderReportDropdown/index.tsx | 28 +-
.../src/components/Select/AsyncSelect.tsx | 9 +-
superset-frontend/src/components/Select/Select.tsx | 9 +-
superset-frontend/src/components/Select/styles.tsx | 43 +-
superset-frontend/src/components/Select/types.ts | 4 +
.../src/components/TableSelector/index.tsx | 17 +-
.../src/dashboard/actions/dashboardInfo.ts | 68 +-
.../src/dashboard/actions/dashboardState.js | 116 +-
.../src/dashboard/actions/dashboardState.test.js | 80 +-
superset-frontend/src/dashboard/actions/hydrate.js | 3 +
.../src/dashboard/components/Dashboard.jsx | 2 +-
.../src/dashboard/components/DashboardGrid.jsx | 4 +-
.../Header/HeaderActionsDropdown/index.jsx | 22 +-
.../src/dashboard/components/Header/index.jsx | 14 +-
.../OverwriteConfirm/OverwriteConfirm.test.tsx | 50 +
.../OverwriteConfirmModal.test.tsx | 90 +
.../OverwriteConfirm/OverwriteConfirmModal.tsx | 209 ++
.../components/OverwriteConfirm/index.tsx} | 33 +-
.../dashboard/components/PublishedStatus/index.jsx | 6 +-
.../src/dashboard/components/SliceHeader/index.tsx | 1 -
.../src/dashboard/components/dnd/DragDroppable.jsx | 4 +-
.../dashboard/components/gridComponents/Chart.jsx | 6 +-
.../components/gridComponents/Markdown.jsx | 8 +
.../components/gridComponents/Markdown.test.jsx | 12 +-
.../dashboard/components/gridComponents/Tabs.jsx | 6 +-
.../FilterBar/ActionButtons/index.tsx | 6 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 8 +-
.../FilterBarLocationSelect.test.tsx | 175 ++
.../FilterBar/FilterBarLocationSelect/index.tsx | 80 +
.../FilterBar/FilterConfigurationLink/index.tsx | 28 +-
.../nativeFilters/FilterBar/Header/index.tsx | 23 +-
.../FiltersConfigModal/FilterConfigPane.test.tsx | 8 -
.../FiltersConfigModal/FilterConfigurePane.tsx | 56 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 11 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 8 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 3 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 235 +-
.../FiltersConfigModal/NativeFiltersModal.test.tsx | 2 +-
superset-frontend/src/dashboard/constants.ts | 1 +
.../src/dashboard/reducers/dashboardInfo.js | 10 +-
.../src/dashboard/reducers/dashboardState.js | 7 +
superset-frontend/src/dashboard/types.ts | 17 +
superset-frontend/src/dashboard/util/constants.ts | 1 +
.../src/dashboard/util/getOverwriteItems.test.ts | 57 +
.../src/dashboard/util/getOverwriteItems.ts | 44 +
.../src/dashboard/util/permissionUtils.test.ts | 2 +-
.../src/dashboard/util/permissionUtils.ts | 2 +-
.../src/dashboard/util/propShapes.jsx | 14 +-
superset-frontend/src/explore/ExplorePage.tsx | 24 +-
.../src/explore/actions/exploreActions.ts | 6 +
.../src/explore/actions/hydrateExplore.test.ts | 6 +
.../src/explore/actions/hydrateExplore.ts | 11 +-
.../src/explore/actions/saveModalActions.js | 6 +
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 42 +-
.../components/ExploreChartHeader/index.jsx | 46 +-
.../components/ExploreViewContainer/index.jsx | 49 +-
.../src/explore/components/SaveModal.tsx | 186 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 95 +-
.../DateFilterControl/components/CommonFrame.tsx | 8 +-
.../components/controls/DateFilterControl/index.ts | 6 +-
.../{components => tests}/AdvancedFrame.test.tsx | 2 +-
.../{components => tests}/CustomFrame.test.tsx | 2 +-
.../tests/DateFilterLabel.test.tsx | 86 +
.../{utils => tests}/utils.test.ts | 0
.../components/controls/DateFilterControl/types.ts | 4 +-
.../controls/DateFilterControl/utils/constants.ts | 13 +-
.../DateFilterControl/utils/dateFilterUtils.ts | 11 +-
.../DndAdhocFilterOption.tsx | 7 +-
.../DndFilterSelect.test.tsx | 70 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 19 +-
.../DndMetricSelect.test.tsx | 7 +
.../DndColumnSelectControl/Option.test.tsx | 24 +-
.../DndColumnSelectControl/OptionWrapper.test.tsx | 12 +-
.../controls/FilterControl/AdhocFilter/index.js | 4 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 36 +-
.../index.tsx | 86 +-
.../FilterControl/AdhocFilterOption/index.tsx | 7 +-
.../utils}/index.ts | 8 +-
.../utils/useDatePickerInAdhocFilter.tsx | 52 +
.../utils/useDatePickerInAdhocfilter.test.ts | 64 +
.../utils/useGetTimeRangeLabel.test.ts | 103 +
.../FilterControl/utils/useGetTimeRangeLabel.tsx | 75 +
.../controls/MetricControl/savedMetricType.js | 4 +-
.../explore/components/controls/SelectControl.jsx | 2 +-
superset-frontend/src/explore/constants.ts | 10 +-
.../src/explore/controlUtils/controlUtils.test.tsx | 1 +
.../src/explore/reducers/exploreReducer.js | 6 +
.../src/explore/reducers/saveModalReducer.js | 3 +
superset-frontend/src/explore/types.ts | 4 +
.../filters/components/Time/TimeFilterPlugin.tsx | 2 -
superset-frontend/src/logger/LogUtils.ts | 4 +
.../src/middleware/loggerMiddleware.js | 4 +-
superset-frontend/src/types/Dashboard.ts | 2 -
.../src/utils/DebouncedMessageQueue.js | 4 +-
superset-frontend/src/utils/common.js | 13 -
superset-frontend/src/utils/downloadAsImage.ts | 10 +-
.../src/utils/getClientErrorObject.ts | 12 +
superset-frontend/src/views/App.tsx | 11 +-
.../src/views/CRUD/alert/AlertList.tsx | 37 +-
.../CRUD/annotationlayers/AnnotationLayersList.tsx | 2 +
.../src/views/CRUD/chart/ChartList.tsx | 8 +
.../views/CRUD/csstemplates/CssTemplatesList.tsx | 2 +
.../src/views/CRUD/dashboard/DashboardList.tsx | 6 +
.../src/views/CRUD/data/database/DatabaseList.tsx | 3 +
.../DatabaseConnectionForm/EncryptedField.tsx | 1 +
.../src/views/CRUD/data/dataset/DatasetList.tsx | 6 +
.../src/views/CRUD/data/query/QueryList.tsx | 5 +
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 3 +
.../src/views/components/RightMenu.tsx | 22 +-
.../src/visualizations/presets/MainPreset.js | 2 +-
superset-frontend/webpack.config.js | 2 +-
superset-websocket/Dockerfile | 25 +-
superset-websocket/package-lock.json | 2 +-
superset-websocket/package.json | 2 +-
superset/common/query_context_processor.py | 41 +-
superset/common/query_object.py | 8 +-
superset/common/query_object_factory.py | 26 +-
superset/common/utils/time_range_utils.py | 77 +
superset/config.py | 44 +
superset/connectors/sqla/models.py | 26 +-
superset/constants.py | 2 +
superset/dashboards/api.py | 12 +-
superset/dashboards/schemas.py | 1 +
superset/databases/api.py | 9 +-
superset/datasets/api.py | 4 +-
superset/datasets/commands/duplicate.py | 6 +-
superset/db_engine_specs/base.py | 16 +-
superset/db_engine_specs/bigquery.py | 4 +-
superset/db_engine_specs/druid.py | 16 +-
superset/db_engine_specs/exceptions.py | 2 +-
superset/db_engine_specs/sqlite.py | 6 +-
superset/db_engine_specs/trino.py | 12 +-
.../configs/dashboards/Slack_Dashboard.yaml | 187 +-
superset/explore/commands/get.py | 12 +-
superset/models/core.py | 26 +-
superset/models/helpers.py | 3 +-
superset/reports/commands/exceptions.py | 4 +-
superset/reports/commands/execute.py | 53 +-
superset/reports/types.py | 10 +
superset/reports/utils.py | 71 +
superset/sqllab/command.py | 34 +-
superset/utils/core.py | 93 +-
superset/utils/date_parser.py | 2 +-
superset/utils/machine_auth.py | 8 +-
superset/utils/screenshots.py | 16 +-
superset/utils/urls.py | 19 +-
superset/utils/webdriver.py | 12 +-
superset/views/base.py | 2 +
superset/views/core.py | 79 +-
superset/views/datasource/views.py | 17 +-
superset/viz.py | 2 +-
tests/integration_tests/access_tests.py | 6 +-
tests/integration_tests/datasource_tests.py | 38 +
tests/integration_tests/query_context_tests.py | 82 +
.../commands/execute_dashboard_report_tests.py | 2 +-
tests/integration_tests/reports/commands_tests.py | 92 +-
tests/integration_tests/reports/scheduler_tests.py | 33 +-
tests/integration_tests/reports/utils.py | 67 +-
tests/integration_tests/sqla_models_tests.py | 59 +-
tests/integration_tests/utils_tests.py | 43 +-
tests/unit_tests/common/test_time_range_utils.py | 94 +
tests/unit_tests/conftest.py | 27 +
tests/unit_tests/notifications/email_tests.py | 1 -
.../unit_tests/reports}/__init__.py | 0
tests/unit_tests/reports/test_utils.py | 178 ++
tests/unit_tests/utils/urls_tests.py | 26 +
250 files changed, 8202 insertions(+), 2621 deletions(-)
create mode 100644 .markdownlint.json
create mode 100644 helm/superset/Chart.lock
create mode 100644 helm/superset/README.md
create mode 100644 helm/superset/README.md.gotmpl
copy helm/superset/templates/{deployment-beat.yaml => deployment-flower.yaml}
(51%)
create mode 100644 helm/superset/templates/deployment-ws.yaml
copy superset-websocket/Dockerfile => helm/superset/templates/secret-ws.yaml
(63%)
delete mode 100644 helm/superset/values.schema.json
rename superset-frontend/packages/superset-ui-chart-controls/{test =>
src}/fixtures.ts (98%)
rename superset-frontend/spec/helpers/{shim.ts => shim.tsx} (92%)
create mode 100644
superset-frontend/src/components/DropdownContainer/DropdownContainer.stories.tsx
create mode 100644
superset-frontend/src/components/DropdownContainer/DropdownContainer.test.tsx
create mode 100644
superset-frontend/src/components/DropdownContainer/Overview.stories.mdx
create mode 100644 superset-frontend/src/components/DropdownContainer/index.tsx
copy superset-frontend/{spec/fixtures/mockDashboardState.js =>
src/components/DropdownSelectableIcon/DropdownSelectableIcon.stories.tsx} (50%)
create mode 100644
superset-frontend/src/components/DropdownSelectableIcon/DropdownSelectableIcon.test.tsx
create mode 100644
superset-frontend/src/components/DropdownSelectableIcon/index.tsx
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%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarLocationSelect/FilterBarLocationSelect.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarLocationSelect/index.tsx
create mode 100644
superset-frontend/src/dashboard/util/getOverwriteItems.test.ts
create mode 100644 superset-frontend/src/dashboard/util/getOverwriteItems.ts
rename
superset-frontend/src/explore/components/controls/DateFilterControl/{components
=> tests}/AdvancedFrame.test.tsx (97%)
rename
superset-frontend/src/explore/components/controls/DateFilterControl/{components
=> tests}/CustomFrame.test.tsx (99%)
create mode 100644
superset-frontend/src/explore/components/controls/DateFilterControl/tests/DateFilterLabel.test.tsx
rename
superset-frontend/src/explore/components/controls/DateFilterControl/{utils =>
tests}/utils.test.ts (100%)
copy superset-frontend/src/explore/components/controls/{DateFilterControl =>
FilterControl/utils}/index.ts (85%)
create mode 100644
superset-frontend/src/explore/components/controls/FilterControl/utils/useDatePickerInAdhocFilter.tsx
create mode 100644
superset-frontend/src/explore/components/controls/FilterControl/utils/useDatePickerInAdhocfilter.test.ts
create mode 100644
superset-frontend/src/explore/components/controls/FilterControl/utils/useGetTimeRangeLabel.test.ts
create mode 100644
superset-frontend/src/explore/components/controls/FilterControl/utils/useGetTimeRangeLabel.tsx
create mode 100644 superset/common/utils/time_range_utils.py
create mode 100644 superset/reports/utils.py
create mode 100644 tests/unit_tests/common/test_time_range_utils.py
copy {superset/advanced_data_type => tests/unit_tests/reports}/__init__.py
(100%)
create mode 100644 tests/unit_tests/reports/test_utils.py