You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2023/03/27 16:17:00 UTC
[superset] branch chore/e2e-cross-filters updated (c31bf46bd1 -> 373dc77e1d)
This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch chore/e2e-cross-filters
in repository https://gitbox.apache.org/repos/asf/superset.git
from c31bf46bd1 Add wait time
add ec6318b379 fix: permission checks on import (#23200)
add da3791ad3d fix: Table sorting reset (#23318)
add 0c454c6442 feat(plugin-chart-echarts): add series sorting (#23392)
add 870bf6d0b9 fix: revert back to use security manager authz for dashboard when get by uuid (#23330)
add ad72cd3171 chore(dashboard): Disable 'Set filter mapping' when appropriate (#23261)
add a17028c7de build(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /docs (#23369)
add fe4f9d6232 build(deps-dev): bump @typescript-eslint/parser from 5.54.1 to 5.55.0 in /superset-websocket (#23379)
add 635ac8e8a8 build(deps-dev): bump webpack from 5.67.0 to 5.76.0 in /superset-embedded-sdk (#23367)
add e13fa27074 build(deps-dev): bump webpack from 5.64.0 to 5.76.0 in /docs (#23368)
add e3a7d2014d fix(webdriver): default WEBDRIVER_OPTION_ARGS and update Firefox deps (#23388)
add 2fe695d3cf fix: Select all issue with "Dynamically search all filter values" in FilterBar (#23400)
add d4657f6198 fix(docker): multi-architecture image build (#23409)
add 42e8d1b498 chore: improve schema security (#23385)
add 2feb599a0e chore(docs): three typos (#23403)
add 7b1ba673f2 build(deps): bump ws from 8.12.1 to 8.13.0 in /superset-websocket (#23343)
add 067c2e35b2 build(deps-dev): bump webpack from 5.52.1 to 5.76.0 in /superset-frontend (#23366)
add d950eb85d7 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.53.0 to 5.55.0 in /superset-websocket (#23359)
add 022213972b fix(dashboard): `show_native_filters` leftover (#23389)
add 8fa77adf9a chore: Hugh/migrate estimate query cost to v1 (#23226)
add f4035e096f chore: update releasing process for testing (#23331)
add 2c6f581fa6 feat(postgresql): dynamic schema (#23401)
add a5c31b2426 feat(chart): Added SriLanka country map (#23338)
add b0d83e8c50 feat(echarts): Implement stream graph for Echarts Timeseries (#23410)
add 3277ea83ea feat(sqllab): log error_detail on fetch failed (#23377)
add ffc0a81e85 chore(native-filters): Fetch only the required dataset fields (#23303)
add b021f6e05d feat: add new cache_query_by_user key (#23415)
add b511d2c624 docs(security): note the need to set TALISMAN_ENABLED = True (#23431)
add 7160dcb054 build(deps-dev): bump eslint from 8.35.0 to 8.36.0 in /superset-websocket (#23342)
add aec91850e5 build(deps): bump pre-commit from 3.1.0 to 3.2.0 in /requirements (#23422)
add 65a3a4d908 fix: database dropdown keys (#23433)
add 2fa8f989ae chore: Update typing for `Table` component (#23398)
add 7ef06b0a60 chore: Add DRILL_BY feature flag (#23430)
add 226b60bc4f fix: safe check when computing chart thumbnail (#23432)
add d01cf4300c fix: schedule query option showing up (#23386)
add 45f045def2 fix: prevent ForeignKeyViolation error on delete (#23414)
add 8ecf0b1c20 feat(echarts): Add x axis sort by to all series charts (#23450)
add 9626a0d884 build(deps-dev): bump prettier from 2.8.4 to 2.8.6 in /superset-websocket (#23451)
add fb270cbbd5 build(deps-dev): bump @types/node from 18.15.3 to 18.15.5 in /superset-websocket (#23438)
add 8588f81855 feat(DB engine spec): `get_catalog_names` (#23447)
add 499754a52e fix: Allow setting ingress hosts directly through yaml (#23446)
add fae3ad0462 docs(contributing): added note for creating SECRET_KEY (#23417)
add b1526c14e0 fix(sqllab): dedupe active_tab in tabHistory (#23265)
add ca4dd26648 chore(sqllab): Remove schemaOptions from redux store (#23257)
add 832e8fb0ac fix(Pivot Table v2): resolved full width issue (#23393)
add 88684caba8 build(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0 in /superset-websocket (#23437)
add 212b7330d6 docs(contributing): How create or change SECRET_KEY (#23420)
add b0773145d6 feat: Allows reload on default filter value error (#23459)
add 07a632891c fix(chart): non existent time grain no longer breaks the application (#23441)
add a15e833128 fix(chart): add missing toleration for init-job (#23452)
add 8f846b7ad0 fix: broken helm chart ingress (#23471)
add d1947f7354 fix(sqllab): throw errors of commented out query (#23378)
add be2eb3157c perf(postprocessing): improve pivot postprocessing operation (#23465)
add 8c374f391d chore: Dataset specific MetadataBar (#23429)
add 4530542ac4 fix: Chart crashing if timeseries_limit_metric is an empty array (#23480)
add 0fa421271e feat(helm): add nodeselector and tolerations to init job (#23416)
add 7e575f827e Merge branch 'master' of https://github.com/apache/superset into chore/e2e-cross-filters
add 373dc77e1d update tests
No new revisions were added by this update.
Summary of changes:
Dockerfile | 14 +-
RELEASING/Dockerfile.from_local_tarball | 3 +-
RELEASING/from_tarball_entrypoint.sh | 1 +
UPDATING.md | 1 +
docs/docs/contributing/local-backend.mdx | 2 +
docs/docs/installation/configuring-superset.mdx | 8 +-
docs/docs/security.mdx | 18 +-
docs/package.json | 2 +-
docs/yarn.lock | 4423 ++++-----
helm/superset/Chart.yaml | 2 +-
helm/superset/README.md | 6 +-
helm/superset/templates/ingress.yaml | 3 +
helm/superset/templates/init-job.yaml | 26 +
helm/superset/values.yaml | 7 +
requirements/integration.txt | 2 +-
superset-embedded-sdk/package-lock.json | 96 +-
superset-frontend/.storybook/main.js | 5 +-
.../integration/dashboard/crossfilters.test.ts | 70 +-
superset-frontend/package-lock.json | 302 +-
superset-frontend/package.json | 3 +-
.../src/operators/utils/extractExtraMetrics.ts | 8 +-
.../operators/utils/extractExtraMetrics.test.ts | 10 +
.../packages/superset-ui-core/package.json | 1 +
.../superset-ui-core/src/hooks}/index.ts | 5 +
.../src/hooks/useChangeEffect/index.ts | 0
.../hooks/useChangeEffect/useChangeEffect.test.ts | 0
.../src/hooks/useChangeEffect/useChangeEffect.ts | 0
.../src/hooks/useComponentDidMount/index.ts | 0
.../useComponentDidMount.test.ts | 0
.../useComponentDidMount/useComponentDidMount.ts | 0
.../src/hooks/useComponentDidUpdate/index.ts | 0
.../useComponentDidUpdate.test.ts | 0
.../useComponentDidUpdate/useComponentDidUpdate.ts | 0
.../useElementOnScreen}/index.ts | 2 +-
.../useElementOnScreen/useElementOnScreen.test.ts | 111 +
.../useElementOnScreen/useElementOnScreen.ts} | 0
.../src/hooks/usePrevious/index.ts | 0
.../src/hooks/usePrevious/usePrevious.test.ts | 0
.../src/hooks/usePrevious/usePrevious.ts | 0
.../src/hooks/useTruncation/index.ts | 0
.../useTruncation/useCSSTextTruncation.test.tsx | 62 +
.../hooks/useTruncation/useCSSTextTruncation.ts | 0
.../useChildElementTruncation.test.ts | 102 +
.../useTruncation/useChildElementTruncation.ts | 0
.../packages/superset-ui-core/src/index.ts | 1 +
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../src/countries.ts | 2 +
.../src/countries/srilanka.geojson | 9838 ++++++++++++++++++++
.../src/Timeseries/Area/controlPanel.tsx | 10 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 12 +-
.../src/Timeseries/Regular/Line/controlPanel.tsx | 4 +-
.../Timeseries/Regular/Scatter/controlPanel.tsx | 4 +-
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 4 +-
.../src/Timeseries/Step/controlPanel.tsx | 4 +-
.../src/Timeseries/constants.ts | 4 +
.../src/Timeseries/transformProps.ts | 42 +-
.../src/Timeseries/transformers.ts | 94 +-
.../src/components/ExtraControls.tsx | 4 +-
.../plugins/plugin-chart-echarts/src/constants.ts | 25 +-
.../plugins/plugin-chart-echarts/src/controls.tsx | 54 +-
.../plugins/plugin-chart-echarts/src/types.ts | 17 +-
.../plugin-chart-echarts/src/utils/series.ts | 114 +-
.../test/Timeseries/transformProps.test.ts | 106 +
.../plugin-chart-echarts/test/utils/series.test.ts | 52 +-
.../src/PivotTableChart.tsx | 2 +-
.../src/react-pivottable/Styles.js | 1 +
.../plugins/plugin-chart-table/package.json | 1 +
.../plugin-chart-table/src/DataTable/DataTable.tsx | 6 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 58 +-
.../src/SqlLab/actions/sqlLab.test.js | 53 +-
.../SqlLab/components/AceEditorWrapper/index.tsx | 35 +-
.../src/SqlLab/components/ResultSet/index.tsx | 2 +-
.../components/RunQueryActionButton/index.tsx | 5 +-
.../src/SqlLab/components/SaveQuery/index.tsx | 1 -
.../src/SqlLab/components/SqlEditor/index.jsx | 2 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 11 -
superset-frontend/src/SqlLab/fixtures.ts | 7 -
.../hooks/useQueryEditor/useQueryEditor.test.ts | 9 +-
.../src/SqlLab/reducers/getInitialState.js | 10 +-
.../src/SqlLab/reducers/getInitialState.test.ts | 19 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 14 +-
superset-frontend/src/SqlLab/types.ts | 1 -
.../src/SqlLab/utils/emptyQueryResults.test.js | 4 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 107 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 1 -
.../src/components/DatabaseSelector/index.tsx | 4 -
.../src/components/DropdownContainer/index.tsx | 3 +-
.../src/components/FaveStar/index.tsx | 3 +-
.../src/components/FlashProvider/index.tsx | 2 +-
.../src/components/ListView/CrossLinks.tsx | 3 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 2 +-
.../src/components/Select/CustomTag.tsx | 3 +-
.../src/components/Table/Table.stories.tsx | 6 +-
.../src/components/Table/VirtualTable.tsx | 23 +-
superset-frontend/src/components/Table/index.tsx | 126 +-
.../src/components/TableSelector/index.tsx | 4 -
.../src/components/TruncatedList/index.tsx | 3 +-
.../DashboardBuilder/DashboardBuilder.tsx | 2 +-
.../DashboardBuilder/DashboardContainer.tsx | 2 +-
.../dashboard/components/FiltersBadge/index.tsx | 8 +-
.../HeaderActionsDropdown.test.tsx | 70 +-
.../Header/HeaderActionsDropdown/index.jsx | 22 +-
.../FilterBar/CrossFilters/CrossFilterTag.tsx | 9 +-
.../FilterBar/CrossFilters/CrossFilterTitle.tsx | 9 +-
.../FilterBar/FilterControls/FilterControl.tsx | 3 +-
.../FilterBar/FilterControls/FilterDivider.tsx | 8 +-
.../components/nativeFilters/FilterBar/index.tsx | 2 +-
.../nativeFilters/FilterCard/DependenciesRow.tsx | 3 +-
.../nativeFilters/FilterCard/NameRow.tsx | 3 +-
.../nativeFilters/FilterCard/ScopeRow.tsx | 3 +-
.../FiltersConfigForm/ColumnSelect.test.tsx | 6 +-
.../FiltersConfigForm/ColumnSelect.tsx | 12 +-
.../FiltersConfigForm/FilterScope/FilterScope.tsx | 8 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 90 +-
.../nativeFilters/FiltersConfigModal/state.ts | 3 +-
.../src/explore/components/Control.tsx | 8 +-
.../explore/components/ControlPanelsContainer.tsx | 2 +-
.../components/ExploreViewContainer/index.jsx | 14 +-
.../ConditionalFormattingControl.tsx | 9 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 2 +-
.../controls/MetricControl/MetricsControl.jsx | 3 +-
.../metadataBar/DatasetMetadataBar.stories.tsx} | 86 +-
.../metadataBar/useDatasetMetadataBar.test.tsx | 93 +
.../datasets/metadataBar/useDatasetMetadataBar.tsx | 107 +
.../components/Select/SelectFilterPlugin.tsx | 92 +-
superset-frontend/src/logger/LogUtils.ts | 3 +
.../CRUD/data/database/DatabaseModal/index.tsx | 4 +-
.../AddDataset/EditDataset/UsageTab/index.tsx | 2 +
superset-websocket/package-lock.json | 579 +-
superset-websocket/package.json | 14 +-
superset/charts/commands/delete.py | 7 +-
superset/charts/commands/importers/v1/utils.py | 9 +-
superset/commands/importers/v1/examples.py | 21 +-
superset/common/query_object.py | 30 +-
superset/config.py | 8 +-
superset/dashboards/commands/importers/v1/utils.py | 15 +-
superset/dashboards/dao.py | 36 +-
superset/dashboards/filters.py | 13 +-
superset/dashboards/permalink/commands/create.py | 4 +-
superset/dashboards/schemas.py | 19 +-
superset/databases/commands/importers/v1/utils.py | 13 +-
superset/datasets/commands/delete.py | 7 +-
superset/datasets/commands/importers/v1/utils.py | 9 +-
superset/db_engine_specs/base.py | 127 +-
superset/db_engine_specs/clickhouse.py | 2 +-
superset/db_engine_specs/drill.py | 29 +-
superset/db_engine_specs/hive.py | 29 +-
superset/db_engine_specs/mysql.py | 31 +-
superset/db_engine_specs/postgres.py | 92 +
superset/db_engine_specs/presto.py | 43 +-
superset/db_engine_specs/snowflake.py | 40 +-
superset/examples/utils.py | 4 +-
..._13-24_b5ea9d343307_bar_chart_stack_options.py} | 53 +-
superset/models/core.py | 67 +-
superset/models/dashboard.py | 23 +-
superset/reports/commands/execute.py | 8 +-
superset/security/manager.py | 16 +-
superset/sqllab/api.py | 56 +-
superset/sqllab/commands/estimate.py | 106 +
superset/sqllab/schemas.py | 9 +
superset/tasks/thumbnails.py | 3 +
superset/utils/pandas_postprocessing/pivot.py | 7 +-
superset/views/core.py | 1 +
tests/integration_tests/charts/commands_tests.py | 11 +-
tests/integration_tests/dashboards/api_tests.py | 37 +
.../integration_tests/dashboards/commands_tests.py | 12 +-
.../dashboards/permalink/api_tests.py | 3 +-
.../integration_tests/databases/commands_tests.py | 136 +-
tests/integration_tests/datasets/commands_tests.py | 17 +-
.../db_engine_specs/base_engine_spec_tests.py | 3 +-
.../db_engine_specs/postgres_tests.py | 18 +
.../queries/saved_queries/commands_tests.py | 10 +-
tests/integration_tests/sql_lab/api_tests.py | 67 +
tests/integration_tests/sql_lab/commands_tests.py | 81 +-
.../charts/commands/importers/v1/import_test.py | 45 +-
.../commands/importers/v1/assets_test.py | 16 +-
.../commands/importers/v1/import_test.py | 46 +-
.../databases/commands/importers/v1/import_test.py | 44 +-
.../datasets/commands/importers/v1/import_test.py | 38 +-
tests/unit_tests/db_engine_specs/test_drill.py | 16 +
tests/unit_tests/db_engine_specs/test_hive.py | 15 +
tests/unit_tests/db_engine_specs/test_mysql.py | 14 +
tests/unit_tests/db_engine_specs/test_postgres.py | 66 +
tests/unit_tests/db_engine_specs/test_presto.py | 24 +
tests/unit_tests/db_engine_specs/test_snowflake.py | 32 +
tests/unit_tests/explore/utils_test.py | 4 +-
.../unit_tests/queries}/__init__.py | 0
tests/unit_tests/queries/query_object_test.py | 345 +
tests/unit_tests/security/manager_test.py | 3 +-
189 files changed, 15681 insertions(+), 3858 deletions(-)
copy superset-frontend/{src/hooks/useComponentDidUpdate => packages/superset-ui-core/src/hooks}/index.ts (82%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useChangeEffect/index.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useChangeEffect/useChangeEffect.test.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useChangeEffect/useChangeEffect.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidMount/index.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidMount/useComponentDidMount.test.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidMount/useComponentDidMount.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidUpdate/index.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidUpdate/useComponentDidUpdate.test.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useComponentDidUpdate/useComponentDidUpdate.ts (100%)
copy superset-frontend/packages/superset-ui-core/src/{dynamic-plugins => hooks/useElementOnScreen}/index.ts (95%)
create mode 100644 superset-frontend/packages/superset-ui-core/src/hooks/useElementOnScreen/useElementOnScreen.test.ts
rename superset-frontend/{src/hooks/useElementOnScreen/index.ts => packages/superset-ui-core/src/hooks/useElementOnScreen/useElementOnScreen.ts} (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/usePrevious/index.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/usePrevious/usePrevious.test.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/usePrevious/usePrevious.ts (100%)
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useTruncation/index.ts (100%)
create mode 100644 superset-frontend/packages/superset-ui-core/src/hooks/useTruncation/useCSSTextTruncation.test.tsx
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useTruncation/useCSSTextTruncation.ts (100%)
create mode 100644 superset-frontend/packages/superset-ui-core/src/hooks/useTruncation/useChildElementTruncation.test.ts
rename superset-frontend/{ => packages/superset-ui-core}/src/hooks/useTruncation/useChildElementTruncation.ts (100%)
create mode 100644 superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/srilanka.geojson
copy superset-frontend/src/{components/MetadataBar/MetadataBar.stories.tsx => features/datasets/metadataBar/DatasetMetadataBar.stories.tsx} (57%)
create mode 100644 superset-frontend/src/features/datasets/metadataBar/useDatasetMetadataBar.test.tsx
create mode 100644 superset-frontend/src/features/datasets/metadataBar/useDatasetMetadataBar.tsx
copy superset/migrations/versions/{2021-02-10_12-32_41ce8799acc3_rename_pie_label_type.py => 2023-03-17_13-24_b5ea9d343307_bar_chart_stack_options.py} (64%)
create mode 100644 superset/sqllab/commands/estimate.py
copy {superset/advanced_data_type => tests/unit_tests/queries}/__init__.py (100%)
create mode 100644 tests/unit_tests/queries/query_object_test.py