You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gi...@apache.org on 2022/07/27 18:45:16 UTC

[superset] branch dependabot/npm_and_yarn/superset-frontend/terser-4.8.1 updated (cc61f26f10 -> b7f4ddc929)

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/terser-4.8.1
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard cc61f26f10 chore(deps): bump terser from 4.6.3 to 4.8.1 in /superset-frontend
     add 5ed85f59a1 Fix missing metadata. (#20684)
     add 9c7bcfcead fix: core coverage and add a coverage step in workflow (#20784)
     add 81bd4968d0 fix: set allow `filter_select` for Query objects in Explore (#20754)
     add 2a4c7cfb2a chore: add user agent to Databricks requests (#20660)
     add d925b0c883 fix(heatmap): add detail descriptions for heatmap 'normalize across' (#20566)
     add d90b973235 fix(plugin-chart-echarts): layout broken when resizing (#20783)
     add 2c5201fa4b fix: Databricks views showing up as tables (#20674)
     add 1debacaaca feat(dashboard): Make FilterBar width resizable (#20778)
     add 5a04a28518 refactor: Blossom metric fields for dataset API column selection (#20732)
     add 84b852c457 fix: properly set `owners` to Sqlatable.owners_data inside payload (#20794)
     add 3311128c5e fix: Reverts #20749 and #20645 (#20796)
     add 922b4b8d1d fix: unexpected commit causes pytest failure (#20780)
     add af1bddffad fix(explore): Adhoc columns don't display correctly (#20802)
     add 34278c2d56 fix: Redirects old Explore URLs to the new one (#20812)
     add 279ab954b1 fix: chart empty state & result panel when multiple queries are executed display incorrectly (#20816)
     add fe9eb58ede chore: bumps the handlebars plugin package version to match the family. (#20813)
     add 51869f32ac Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819)
     add 39545352d2 chore: update Pillow to 9.1.1 (#20775)
     add f011abae2b feat: the samples endpoint supports filters and pagination (#20683)
     add 6e0ddcf848 fix: [explore][mixed time series chart] when user change size of view query window, query B part will disappear (#20750)
     add 7495cdbfe0 feat: Create Chart onClick Functionality (#20809)
     add 2c010974e8 fix: Timeseries visualization with Chart Source = Query (#20795)
     add 2263a76f4d remove eleement reference (#20830)
     add 4ffa3c22d1 feat: Add Türkiye Map to Country Map (#20801)
     add 3fb5c79d77 fix: invalid dataset schema (#20826)
     add 557cf4b739 fix(dashboard): add toast if JSON metadata is invalid (#20823)
     add 9bf7ed58cd fix(plugin-chart-echarts): bar chart overflow (#20805)
     add 644148b37d chore: add SAMPLES_ROW_LIMIT in frontend conf (#20841)
     add 0945d4a2f4 feat: Pass dashboard context to explore through local storage (#20743)
     add 7a1aa79c52 fix: Ensure consistent rollback logic (#20811)
     add 8bfc9b76a6 fix: Use cache_manager.cache rather than cache_manager.data_cache for caching table metadata (#20726)
     add e3c6380258 chore: Change Button background color from primary.dark1 to primary.base (#20846)
     add c4564a91dc chore: add databricks logo (#20849)
     add 672266ca58 fix: add complex type to pydruid (#20834)
     add 3f943ffadb fix: adding extraConfig to worker deployment #20828 (#20829)
     add 3de641c3ae change buttons to be only save and overwrite (#20851)
     add 6b0c3032b2 chore: Update color scheme when deleted or changed (#20589)
     add 5d107b86ab fix: explore warnings cleanup (#20864)
     add 5c2c2e8040 feat(explore): UX changes in fast viz switcher (#20848)
     add 55a89dfac9 feat: a simple LRUCache in frontend (#20842)
     add 46deb79f50 fix: Fix chart title truncating when Chrome is zoomed out (#20847)
     add ce1974176f docs: fix alt image issue (#20856)
     add 76f573a4ea chore: Ignore Applitools by default when running Cypress tests (#20789)
     add cb9ae38361 fix: switch form_data between different datasource (#20867)
     add a69f016bca chore: Feature flag for embedding charts (#20804)
     add e1094e2198 fix: Add migration to add created_by_fk as explicit owner for charts and datasets (#20617)
     add 6e6d4e3169 test: suppress unnecessary fab and sqla logs (#20870)
     add 2f3e11db66 feat: blankstate metrics columns (#20755)
     add 1b577d15c1 chore: updated resources with newer blogs and events (#20858)
     add 4d192e6e4d feat(report): capture dashboard reports in specific states (#20552)
     add d327437462 refactor: Improve performance regression introduced in #20473 (#20810)
     add cd578d2865 add having_druid back into the schema (#20879)
     add 35184b2994 fix: create property for schema_perm for `Query` (#20871)
     add 77db0651d8 feat(sql lab): display presto and trino tracking url (#20799)
     add 99085d583d fix(viz): Header scrolling for Time Table in dashboard (#20874)
     add 234c44626d TableChart: (#20833)
     add 07ce33d142 Reports: (#20753)
     add c77ea1bb6a chore(deps): bump terser from 5.9.0 to 5.14.2 in /docs (#20786)
     add ab415fddd9 chore: adding Bazaar Technologies to Superset Users (#20669)
     add b7f4ddc929 chore(deps): bump terser from 4.6.3 to 4.8.1 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   (cc61f26f10)
            \
             N -- N -- N   refs/heads/dependabot/npm_and_yarn/superset-frontend/terser-4.8.1 (b7f4ddc929)

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/bashlib.sh                       |  11 +-
 .github/workflows/superset-frontend.yml            |   5 +
 README.md                                          |  20 +-
 RELEASING/README.md                                |   1 +
 RESOURCES/INTHEWILD.md                             |   1 +
 UPDATING.md                                        |   1 +
 docs/README.md                                     |   2 +-
 docs/docs/contributing/testing-locally.mdx         |  14 ++
 docs/docs/databases/databricks.mdx                 |   5 +-
 docs/src/resources/data.js                         |   5 +
 docs/static/img/databases/databricks.png           | Bin 0 -> 20293 bytes
 docs/yarn.lock                                     | 195 +++++---------
 helm/superset/Chart.yaml                           |   2 +-
 helm/superset/templates/deployment-worker.yaml     |  16 +-
 requirements/development.txt                       |   2 +-
 setup.py                                           |   2 +-
 superset-frontend/cypress-base/cypress.json        |   2 +-
 .../cypress/integration/explore/control.test.ts    |   2 +-
 superset-frontend/package-lock.json                |   3 +-
 superset-frontend/package.json                     |   1 +
 .../src/components/labelUtils.tsx                  |   6 +-
 .../superset-ui-chart-controls/src/types.ts        |   5 +-
 .../src/chart/components/SuperChart.tsx            |  12 +-
 .../src/chart/models/ChartMetadata.ts              |   5 +
 .../src/color/ColorSchemeRegistry.ts               |  13 +-
 .../superset-ui-core/src/query/types/Column.ts     |   2 +-
 .../superset-ui-core/src/query/types/Dashboard.ts  |   4 +
 .../superset-ui-core/src/query/types/Datasource.ts |   3 -
 .../superset-ui-core/src/utils/featureFlags.ts     |   1 +
 .../packages/superset-ui-core/src/utils/index.ts   |   1 +
 .../superset-ui-core/src/utils/lruCache.ts         |  74 ++++++
 .../test/color/ColorSchemeRegistry.test.ts         |  16 ++
 .../test/query/DatasourceKey.test.ts               |  12 +-
 .../test/query/types/Datasource.test.ts}           |  30 ++-
 .../superset-ui-core/test/utils/lruCache.test.ts   |  60 +++++
 .../src/countries.ts                               |   2 +
 .../src/countries/turkey.geojson                   |  87 +++++++
 .../src/{controlPanel.ts => controlPanel.tsx}      |  22 +-
 .../src/MixedTimeseries/index.ts                   |   1 +
 .../src/Timeseries/transformProps.ts               |   3 +-
 .../plugin-chart-echarts/src/components/Echart.tsx |  22 +-
 .../plugin-chart-echarts/src/utils/series.ts       |   3 -
 .../plugins/plugin-chart-handlebars/package.json   |   2 +-
 .../plugins/plugin-chart-handlebars/src/consts.ts  |   5 +-
 .../plugins/plugin-chart-handlebars/src/i18n.ts    |  65 -----
 .../src/plugin/controlPanel.tsx                    |   5 +-
 .../plugins/plugin-chart-table/src/TableChart.tsx  |  58 ++++-
 .../plugin-chart-table/src/controlPanel.tsx        |   4 -
 .../spec/fixtures/mockNativeFilters.ts             |   1 +
 superset-frontend/spec/helpers/reducerIndex.ts     |   2 +-
 superset-frontend/spec/helpers/setup.ts            |   2 +
 superset-frontend/spec/helpers/testing-library.tsx |  24 +-
 .../src/SqlLab/components/ResultSet/index.tsx      |  69 +++--
 superset-frontend/src/assets/images/databricks.png | Bin 0 -> 20293 bytes
 superset-frontend/src/components/Button/index.tsx  |  56 ++---
 .../src/components/Chart/chartAction.js            |   5 +-
 .../src/components/Chart/chartReducer.ts           |   4 +-
 .../src/components/DynamicEditableTitle/index.tsx  |   2 +-
 .../src/components/EditableTitle/index.tsx         |  23 +-
 .../src/components/PageHeaderWithActions/index.tsx |   2 +-
 superset-frontend/src/constants.ts                 |   6 +-
 .../src/dashboard/actions/dashboardState.js        |   3 +-
 .../datasources.ts}                                |  40 ++-
 superset-frontend/src/dashboard/actions/hydrate.js |  27 ++
 .../src/dashboard/actions/sliceEntities.js         |   5 +-
 .../CrossFilterScopingModal.tsx                    |  14 +-
 .../src/dashboard/components/Dashboard.test.jsx    |   3 +-
 .../DashboardBuilder/DashboardBuilder.test.jsx     | 196 ---------------
 .../DashboardBuilder/DashboardBuilder.test.tsx     | 280 +++++++++++++++++++++
 .../DashboardBuilder/DashboardBuilder.tsx          |  80 ++++--
 .../DashboardBuilder/DashboardContainer.tsx        |  96 ++++++-
 .../useStoredFilterBarWidth.test.ts                |  85 +++++++
 .../DashboardBuilder/useStoredFilterBarWidth.ts    |  51 ++++
 .../dashboard/components/FiltersBadge/selectors.ts |  14 +-
 .../src/dashboard/components/Header/index.jsx      |   1 +
 .../PropertiesModal/PropertiesModal.test.tsx       |   4 +-
 .../dashboard/components/PropertiesModal/index.tsx |  29 ++-
 .../components/SliceHeader/SliceHeader.test.tsx    |  61 +++--
 .../src/dashboard/components/SliceHeader/index.tsx |  17 +-
 .../SliceHeaderControls.test.tsx                   | 142 ++++++-----
 .../components/SliceHeaderControls/index.tsx       |  28 ++-
 .../FilterBar/ActionButtons/ActionButtons.test.tsx |  26 ++
 .../FilterBar/ActionButtons/index.tsx              |  10 +-
 .../components/nativeFilters/FilterBar/index.tsx   |  13 +-
 .../FiltersConfigModal/FiltersConfigForm/utils.ts  |   4 +-
 .../dashboard/components/nativeFilters/utils.ts    |   3 +-
 superset-frontend/src/dashboard/constants.ts       |   5 +-
 .../src/dashboard/containers/Chart.jsx             |   6 +-
 .../src/dashboard/containers/Dashboard.ts          |   4 +-
 .../src/dashboard/containers/DashboardPage.tsx     | 100 +++++++-
 .../reducers/datasources.ts}                       |  20 +-
 superset-frontend/src/dashboard/reducers/types.ts  |   1 +
 superset-frontend/src/dashboard/types.ts           |  15 +-
 .../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/actions/datasourcesActions.test.ts |  85 +++++++
 .../actions/datasourcesActions.ts}                 |  51 ++--
 .../src/explore/actions/exploreActions.ts          |  21 --
 .../src/explore/actions/hydrateExplore.test.ts     |   3 +
 .../src/explore/actions/hydrateExplore.ts          |  48 +++-
 .../explore/components/ControlPanelsContainer.tsx  |   9 +-
 .../DataTablesPane/components/useResultsPane.tsx   |  40 +--
 .../test/ResultsPaneOnDashboard.test.tsx           |  15 +-
 .../DataTablesPane/test/SamplesPane.test.tsx       |  12 +-
 .../src/explore/components/DataTablesPane/utils.ts |  24 --
 .../ExploreChartHeader/ExploreChartHeader.test.tsx |   5 +
 .../src/explore/components/ExploreChartPanel.jsx   |   2 +-
 .../components/ExploreViewContainer/index.jsx      |   6 +-
 .../src/explore/components/SaveModal.tsx           |   2 +-
 .../controls/DatasourceControl/index.jsx           |   4 +-
 .../DndColumnSelectControl/ColumnSelectPopover.tsx |  83 +++++-
 .../ColumnSelectPopoverTrigger.tsx                 |  42 +++-
 .../DndColumnSelect.test.tsx                       |  26 +-
 .../MetricControl/AdhocMetricEditPopover/index.jsx |  24 +-
 .../MetricControl/AdhocMetricPopoverTrigger.tsx    |  55 ++--
 .../explore/components/controls/SelectControl.jsx  |   2 -
 .../src/explore/components/controls/ViewQuery.tsx  |   4 +-
 .../explore/components/controls/ViewQueryModal.tsx |  13 +-
 .../controls/VizTypeControl/FastVizSwitcher.tsx    |  34 +--
 .../VizTypeControl/VizTypeControl.test.tsx         |   6 +-
 .../controls/VizTypeControl/VizTypeGallery.tsx     |   2 +-
 .../useExploreAdditionalActionsMenu/index.jsx      |  37 +--
 .../src/explore/controlPanels/sections.tsx         |   2 -
 .../getFormDataFromDashboardContext.test.ts        | 212 ++++++++++++++++
 .../getFormDataWithDashboardContext.ts             | 191 ++++++++++++++
 .../controlUtils/standardizedFormData.test.ts      | 261 +++++++++++--------
 .../explore/controlUtils/standardizedFormData.ts   |  38 ++-
 superset-frontend/src/explore/controls.jsx         |   1 -
 .../reducers/datasourcesReducer.ts}                |  29 +--
 .../src/explore/reducers/exploreReducer.js         |  13 -
 .../src/hooks/apiResources/dashboards.ts           |   5 +-
 superset-frontend/src/reports/actions/reports.js   |   5 +-
 .../types/DashboardContextForExplore.ts}           |  49 ++--
 superset-frontend/src/utils/localStorageHelpers.ts |   5 +
 superset-frontend/src/views/components/Menu.tsx    |   2 +-
 superset-frontend/src/views/menu.tsx               |   2 +-
 superset-frontend/src/views/store.ts               |  33 ++-
 .../src/visualizations/TimeTable/TimeTable.jsx     |   3 +-
 superset/annotation_layers/annotations/dao.py      |   3 +-
 superset/annotation_layers/dao.py                  |   3 +-
 superset/charts/dao.py                             |   3 +-
 superset/charts/schemas.py                         |   6 +
 superset/config.py                                 |  10 +-
 superset/connectors/sqla/models.py                 |   1 +
 superset/constants.py                              |   2 +
 superset/dashboards/api.py                         |   4 +-
 superset/dashboards/dao.py                         |   5 +-
 superset/dashboards/permalink/commands/create.py   |   6 +-
 superset/dashboards/schemas.py                     |   3 +-
 superset/datasets/api.py                           |  84 ++-----
 superset/datasets/commands/samples.py              |  80 ------
 superset/datasets/dao.py                           |  62 ++---
 superset/db_engine_specs/databricks.py             |  33 ++-
 superset/db_engine_specs/druid.py                  |  19 +-
 superset/db_engine_specs/hive.py                   |  11 +-
 superset/db_engine_specs/presto.py                 |  23 +-
 superset/db_engine_specs/trino.py                  |  24 +-
 superset/explore/api.py                            |  84 +------
 superset/explore/commands/samples.py               |  93 -------
 ...-39_cbe71abde154_fix_report_schedule_and_log.py |   2 +-
 ...5-48_409c7b420ab0_add_created_by_fk_as_owner.py | 134 ++++++++++
 ...1a56_rename_report_schedule_extra_to_extra_.py} |  32 ++-
 superset/models/core.py                            |  10 +-
 superset/models/dashboard.py                       |   6 +-
 superset/models/helpers.py                         |  97 ++++++-
 superset/models/sql_lab.py                         |  35 ++-
 superset/queries/saved_queries/dao.py              |   3 +-
 superset/reports/api.py                            |   5 +-
 superset/reports/commands/alert.py                 |   2 +-
 superset/reports/commands/base.py                  |  10 +-
 superset/reports/commands/bulk_delete.py           |   2 +-
 superset/reports/commands/create.py                |  33 ++-
 superset/reports/commands/delete.py                |   2 +-
 superset/reports/commands/exceptions.py            |  15 +-
 superset/reports/commands/execute.py               | 106 ++++----
 superset/reports/commands/log_prune.py             |   2 +-
 superset/reports/commands/update.py                |   2 +-
 superset/reports/dao.py                            |  12 +-
 superset/reports/filters.py                        |   2 +-
 superset/reports/logs/api.py                       |   2 +-
 superset/{models/reports.py => reports/models.py}  |  21 +-
 superset/reports/notifications/__init__.py         |   2 +-
 superset/reports/notifications/base.py             |   2 +-
 superset/reports/notifications/email.py            |   2 +-
 superset/reports/notifications/slack.py            |   2 +-
 superset/reports/schemas.py                        |   3 +-
 .../commands/entry.py => reports/types.py}         |   9 +-
 superset/security/manager.py                       |  14 +-
 superset/sql_lab.py                                |   9 +-
 superset/sqllab/exceptions.py                      |   2 +-
 superset/utils/core.py                             |   2 +-
 superset/utils/database.py                         |  10 +-
 superset/utils/dates.py                            |   1 +
 superset/utils/webdriver.py                        |   1 -
 superset/views/base.py                             |   3 +-
 superset/views/core.py                             |   8 +-
 superset/views/datasource/schemas.py               |  32 ++-
 superset/views/datasource/utils.py                 | 115 +++++++++
 superset/views/datasource/views.py                 |  24 ++
 tests/common/query_context_generator.py            |   2 +-
 tests/integration_tests/charts/api_tests.py        |   2 +-
 tests/integration_tests/conftest.py                | 153 ++++++++++-
 tests/integration_tests/dashboards/api_tests.py    |   4 +-
 tests/integration_tests/databases/api_tests.py     |   2 +-
 tests/integration_tests/datasets/api_tests.py      | 101 --------
 tests/integration_tests/datasource_tests.py        | 196 ++++++++++++++-
 .../integration_tests/fixtures/tabbed_dashboard.py | 102 ++++++--
 tests/integration_tests/reports/api_tests.py       |  85 +------
 .../commands/create_dashboard_report_tests.py      |  91 +++++++
 .../commands/execute_dashboard_report_tests.py     |  68 +++++
 tests/integration_tests/reports/commands_tests.py  | 157 ++----------
 tests/integration_tests/reports/scheduler_tests.py |   3 +-
 tests/integration_tests/reports/utils.py           | 115 ++++++++-
 .../integration_tests/sql_lab}/__init__.py         |   0
 tests/integration_tests/sql_lab/conftest.py        |  71 ++++++
 .../sql_lab/test_execute_sql_statements.py         |  56 +++++
 tests/integration_tests/sqllab_tests.py            |  28 +--
 tests/integration_tests/superset_test_config.py    |   7 +
 tests/integration_tests/test_app.py                |   5 +-
 222 files changed, 4490 insertions(+), 2169 deletions(-)
 create mode 100644 docs/static/img/databases/databricks.png
 create mode 100644 superset-frontend/packages/superset-ui-core/src/utils/lruCache.ts
 copy superset-frontend/{src/views/CRUD/dashboard/types.ts => packages/superset-ui-core/test/query/types/Datasource.test.ts} (61%)
 create mode 100644 superset-frontend/packages/superset-ui-core/test/utils/lruCache.test.ts
 create mode 100644 superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/turkey.geojson
 rename superset-frontend/plugins/legacy-plugin-chart-heatmap/src/{controlPanel.ts => controlPanel.tsx} (92%)
 delete mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/i18n.ts
 create mode 100644 superset-frontend/src/assets/images/databricks.png
 rename superset-frontend/src/dashboard/{util/fetchDatasourceMetadata.ts => actions/datasources.ts} (57%)
 delete mode 100644 superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.jsx
 create mode 100644 superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx
 create mode 100644 superset-frontend/src/dashboard/components/DashboardBuilder/useStoredFilterBarWidth.test.ts
 create mode 100644 superset-frontend/src/dashboard/components/DashboardBuilder/useStoredFilterBarWidth.ts
 copy superset-frontend/src/{datasource/reducer.ts => dashboard/reducers/datasources.ts} (66%)
 create mode 100644 superset-frontend/src/explore/actions/datasourcesActions.test.ts
 rename superset-frontend/src/{datasource/actions.ts => explore/actions/datasourcesActions.ts} (52%)
 delete mode 100644 superset-frontend/src/explore/components/DataTablesPane/utils.ts
 create mode 100644 superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts
 create mode 100644 superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts
 rename superset-frontend/src/{datasource/reducer.ts => explore/reducers/datasourcesReducer.ts} (68%)
 copy superset-frontend/{packages/superset-ui-core/test/index.test.ts => src/types/DashboardContextForExplore.ts} (58%)
 delete mode 100644 superset/datasets/commands/samples.py
 delete mode 100644 superset/explore/commands/samples.py
 create mode 100644 superset/migrations/versions/2022-07-05_15-48_409c7b420ab0_add_created_by_fk_as_owner.py
 copy superset/migrations/versions/{2020-12-03_10-11_5daced1f0e76_reports_add_working_timeout_column.py => 2022-07-11_11-26_ffa79af61a56_rename_report_schedule_extra_to_extra_.py} (60%)
 rename superset/{models/reports.py => reports/models.py} (92%)
 copy superset/{temporary_cache/commands/entry.py => reports/types.py} (81%)
 create mode 100644 superset/views/datasource/utils.py
 create mode 100644 tests/integration_tests/reports/commands/create_dashboard_report_tests.py
 create mode 100644 tests/integration_tests/reports/commands/execute_dashboard_report_tests.py
 copy {superset/advanced_data_type => tests/integration_tests/sql_lab}/__init__.py (100%)
 create mode 100644 tests/integration_tests/sql_lab/conftest.py
 create mode 100644 tests/integration_tests/sql_lab/test_execute_sql_statements.py