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/05/11 13:16:07 UTC
[superset] branch dependabot/npm_and_yarn/superset-frontend/react-router-dom-6.3.0 updated (eaa42e6af4 -> 5f2fa88c62)
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 eaa42e6af4 chore(deps): bump react-router-dom in /superset-frontend
add 8b15b68979 fix: Alpha should not be able to edit datasets that they don't own (#19854)
add b975eeee87 chore(deps-dev): bump eslint-plugin-prettier in /superset-frontend (#19894)
add 5f3e73c5a3 chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 in /docs (#19888)
add aff10a7fad feat: simplify memoized_func (#19905)
add 85b0ef8526 feat: deprecate old API on core superset fave_dashboards (#19754)
add 741033e87d fix(column-header-tooltip): make that hide the tooltip when the cloum… (#18988)
add 50dc7af583 Fix issue probably-meant-fstring found at https://codereview.doctor (#19826)
add 6bd025d8d2 chore(deps): bump react-virtualized-auto-sizer in /superset-frontend (#19916)
add 1fa841ee29 Revert "fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)" (#19906)
add 8b6e582211 fix (dataset): DAO update (#19926)
add 7b3d0f040b feat(chart & legend): make to enable show legend by default (#19927)
add 1ebdaac487 fix: memoize primitives (#19930)
add 99f1f9ec61 fix(sqla): replace custom dttm type with literal_column (#19917)
add 90130e4b4f feat: simplify SQLite time grain (#19745)
add e1f53f2a2c Improving logging around failed scheduled reports (#19924)
add 7657e42cff chore: Adds a storybook to FilterableTable (#19897)
add 7f8279b4b3 chore: get embedded user with roles and permissions (#19813)
add 24e4ab6a1f fix: can not correctly set force in store (#19932)
add 8b72354654 fix(sqllab/charts): casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp (#18873)
add 5dd3ea154b fix: OpenAPI docs small fixes (#19936)
add e9032e95ec chore: Adds theme object to chart properties (#19951)
add 4fdf230a56 feat: deprecate /superset/extra_table_metadata migrate to api v1 (#19921)
add fdf48c63f1 fix(hive): Workaround for Python 3.9 s3 transfer issue (#19887)
add 06b7dea34a Fix broken link for DouroECI (#19911)
add 7d3437a98e Modified the markdown component so that the inner column's handle's mouse target is larger (#19839)
add 060b5c0e17 chore: remove druid datasource from the config (#19770)
add 902ac05372 fix(chart & table): make to allow highlight in case of numeric column (#19938)
add 58e65ad5bb feat: switch from `sqlalchemy-trino` to `trino` python client (#19957)
add 7b88ec7e25 refactor(ReportModal): simplify state reducer and improve error handling (#19942)
add 2e2053f72f filename for attached images (#19929)
add 7c3fd06fd6 style approach (#19903)
add 54bfd8375a chore: convert URLShortLinkButton to typescript (#19954)
add 0eb519c70b add cy test for downloading chart as image (#19963)
add 7b5ba39029 fix: Fix auto-reversion of label/title in the Metrics popover (#19889)
add f144de4ee2 Revert "chore(deps): bump d3-svg-legend in /superset-frontend (#19846)" (#19972)
add c3ba86ecc5 feat: Run Applitools on public Storybook (#19852)
add d0b8b1e97d feat: Applitools Cypress workflow (#19956)
add b7cff8335b chore: Removes hard-coded colors from the plugins - iteration 1 (#19923)
add 62e1c34ffb Use pull_request_target (#19996)
add bba40d7856 Typo (#20009)
add 1f0daa9a5a add new enums for datasource types (#20015)
add 35db7fb6c5 fix: Making chart update more truthful (#19877)
add 9376940282 fix: Table chart column config issue (#19841)
add 87a4379d0a feat: deprecate /superset/validate_sql_json migrate to api v1 (#19935)
add 7b7de9592b feat: deprecate /superset/testconn and migrate to api v1 (#20002)
add cc026e9fec fix: URI form is blank when trying to connect from sql lab (#20004)
add cede148d46 fix: native filter truncation rerendering loop on hover (#20021)
add a7e3d6b964 chore: Upgrades Storybook from 6.4.19 to 6.4.22 (#20008)
add 5f2fa88c62 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 (eaa42e6af4)
\
N -- N -- N refs/heads/dependabot/npm_and_yarn/superset-frontend/react-router-dom-6.3.0 (5f2fa88c62)
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 | 24 +-
...rset-e2e.yml => superset-applitool-cypress.yml} | 57 +-
.../workflows/superset-applitools-storybook.yml | 34 +
.github/workflows/superset-e2e.yml | 2 +-
RESOURCES/INTHEWILD.md | 2 +-
UPDATING.md | 1 +
docs/docs/databases/trino.mdx | 88 +-
docs/docs/miscellaneous/chart-params.mdx | 2 +-
docs/yarn.lock | 36 +-
setup.py | 4 +-
.../applitools.config.js | 9 +-
.../cypress-base/applitools.config.js | 10 +-
.../chart_list/chartlist.applitools.test.ts} | 33 +-
.../{load.test.ts => dashboard.applitools.test.ts} | 37 +-
.../dashboardlist.applitools.test.ts} | 33 +-
...lter_box.test.js => explore.applitools.test.ts} | 28 +-
.../download_chart.test.js} | 38 +-
.../integration/sqllab/sqllab.applitools.test.ts} | 15 +-
.../cypress-base/cypress/plugins/index.js | 5 +
.../cypress-base/cypress/support/index.ts | 3 +
superset-frontend/cypress-base/package-lock.json | 3675 +-
superset-frontend/cypress-base/package.json | 2 +
superset-frontend/cypress-base/tsconfig.json | 2 +-
superset-frontend/package-lock.json | 97420 +++++++++----------
superset-frontend/package.json | 21 +-
.../src/shared-controls/index.tsx | 6 +
.../src/chart/components/FallbackComponent.tsx | 18 +-
.../src/chart/components/SuperChart.tsx | 7 +-
.../src/chart/models/ChartProps.ts | 10 +
.../test/chart/components/MockChartPlugins.tsx | 60 +-
.../test/chart/components/SuperChart.test.tsx | 18 +-
.../test/chart/components/SuperChartCore.test.tsx | 62 +-
.../test/chart/models/ChartPlugin.test.tsx | 2 +
.../test/chart/models/ChartProps.test.ts | 11 +-
.../superset-ui-demo/.storybook/themeDecorator.js | 4 +-
.../shared/components/ResizableChartDemo.tsx | 2 +-
.../legacy-plugin-chart-calendar/Stories.tsx | 2 +
.../CountryMapStories.tsx | 10 +-
.../legacy-plugin-chart-map-box/Stories.tsx | 55 +-
.../plugins/legacy-plugin-chart-map-box/data.ts | 7 +-
.../legacy-plugin-chart-world-map/Stories.tsx | 1 +
.../legacy-preset-chart-deckgl/Path/Stories.tsx | 103 +-
.../legacy-preset-chart-deckgl/Path/payload.js | 24 +-
.../plugins/plugin-chart-word-cloud/Stories.tsx | 4 +-
.../preset-chart-xy/Line/stories/timeShift.tsx | 135 +-
.../legacy-plugin-chart-calendar/src/Calendar.js | 4 +-
.../src/ReactCalendar.jsx | 133 +-
.../legacy-plugin-chart-heatmap/package.json | 2 +-
.../src/controlPanel.ts | 2 +-
.../src/controlPanel.ts | 2 +-
.../src/ReactWorldMap.jsx | 15 +-
.../legacy-plugin-chart-world-map/src/WorldMap.js | 9 +-
.../src/components/Tooltip.tsx | 47 +-
.../legacy-preset-chart-nvd3/src/NVD3Controls.tsx | 2 +-
.../plugins/plugin-chart-echarts/src/types.ts | 2 +-
.../test/BigNumber/transformProps.test.ts | 7 +-
.../test/BoxPlot/transformProps.test.ts | 3 +-
.../test/Funnel/transformProps.test.ts | 7 +-
.../test/Gauge/transformProps.test.ts | 6 +-
.../test/Graph/transformProps.test.ts | 4 +-
.../test/Pie/transformProps.test.ts | 2 +
.../test/Timeseries/transformProps.test.ts | 3 +
.../test/Tree/transformProps.test.ts | 6 +-
.../test/Treemap/transformProps.test.ts | 3 +-
.../test/plugin/transformProps.test.ts | 3 +-
.../src/PivotTableChart.tsx | 15 +-
.../test/plugin/transformProps.test.ts | 3 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 34 +-
.../plugins/plugin-chart-table/test/testData.ts | 2 +
.../src/chart/WordCloud.tsx | 2 +-
.../test/legacyPlugin/transformProps.test.ts | 3 +-
.../src/components/BoxPlot/BoxPlot.tsx | 4 +-
.../src/components/BoxPlot/Encoder.ts | 4 +-
.../src/components/ScatterPlot/Encoder.ts | 4 +-
.../src/components/ScatterPlot/ScatterPlot.tsx | 4 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 19 +-
.../src/SqlLab/actions/sqlLab.test.js | 4 +-
.../SqlLab/components/ResultSet/ResultSet.test.jsx | 2 +-
.../src/SqlLab/components/ResultSet/index.tsx | 13 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 2 -
.../src/components/AnchorLink/AnchorLink.test.jsx | 73 -
.../src/components/AnchorLink/index.jsx | 94 -
.../src/components/CopyToClipboard/index.jsx | 3 +-
.../FilterableTable.stories.tsx} | 76 +-
.../FilterableTable/FilterableTable.test.tsx | 2 +-
.../{FilterableTable.tsx => index.tsx} | 134 +-
.../{index.test.tsx => ReportModal.test.tsx} | 0
.../src/components/ReportModal/index.tsx | 282 +-
.../src/components/ReportModal/styles.tsx | 3 +-
.../TooltipParagraph.stories.tsx} | 29 +-
.../TooltipParagraph/TooltipParagraph.test.tsx | 57 +
.../Item.tsx => TooltipParagraph/index.tsx} | 41 +-
.../src/components/URLShortLinkButton/index.jsx | 120 -
.../components/AnchorLink/AnchorLink.stories.tsx | 2 +-
.../components/AnchorLink/AnchorLink.test.tsx | 69 +
.../src/dashboard/components/AnchorLink/index.tsx | 78 +
.../Header/HeaderActionsDropdown/index.jsx | 2 +-
.../src/dashboard/components/Header/index.jsx | 1 +
.../URLShortLinkButton/URLShortLinkButton.test.tsx | 2 +-
.../components/URLShortLinkButton/index.tsx | 97 +
.../components/gridComponents/ChartHolder.jsx | 27 +-
.../dashboard/components/gridComponents/Header.jsx | 16 +-
.../dashboard/components/gridComponents/Tab.jsx | 16 +-
.../nativeFilters/FilterCard/useTruncation.ts | 31 +-
.../src/dashboard/stylesheets/resizable.less | 4 +-
.../src/dashboard/util/findPermission.test.ts | 2 +-
.../src/dashboard/util/findPermission.ts | 3 +-
superset-frontend/src/embedded/index.tsx | 43 +-
.../src/explore/actions/exploreActions.ts | 9 +
.../DataTablesPane/DataTablesPane.test.tsx | 1 +
.../explore/components/DataTablesPane/index.tsx | 3 +
.../DatasourcePanel/DatasourcePanel.test.tsx | 17 +
.../explore/components/DatasourcePanel/index.tsx | 2 +
.../ExploreAdditionalActionsMenu/ExploreReport.tsx | 19 +-
.../src/explore/components/ExploreChartPanel.jsx | 2 +
.../components/ExploreViewContainer/index.jsx | 1 +
.../DatasourceControl/DatasourceControl.test.jsx | 13 +
.../DatasourceControl/DatasourceControl.test.tsx | 11 +
.../controls/DatasourceControl/index.jsx | 25 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 2 +-
.../DndMetricSelect.test.tsx | 80 +
.../DndColumnSelectControl/DndSelectLabel.tsx | 7 +-
.../FilterControl/AdhocFilterControl/index.jsx | 2 +-
.../src/explore/reducers/exploreReducer.js | 36 +-
superset-frontend/src/preamble.ts | 4 +-
.../src/profile/components/Favorites.tsx | 27 +-
superset-frontend/src/reports/actions/reports.js | 24 +-
.../constants.ts => src/reports/types.ts} | 10 +-
superset-frontend/src/types/bootstrapTypes.ts | 15 +-
.../src/utils/getClientErrorObject.ts | 159 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 19 +-
.../views/CRUD/data/dataset/DatasetList.test.jsx | 1 +
.../src/views/CRUD/data/dataset/DatasetList.tsx | 40 +-
.../src/views/CRUD/welcome/Welcome.tsx | 6 +-
superset-frontend/src/views/store.ts | 23 +-
.../src/visualizations/FilterBox/controlPanel.jsx | 59 -
superset/charts/api.py | 6 +-
superset/cli/update.py | 34 -
superset/config.py | 22 +-
superset/connectors/base/models.py | 31 +-
superset/connectors/druid/__init__.py | 16 -
superset/connectors/druid/models.py | 1722 -
superset/connectors/druid/views.py | 445 -
superset/connectors/sqla/models.py | 20 +-
superset/constants.py | 2 +
superset/dashboards/api.py | 2 +
superset/dashboards/commands/importers/v0.py | 19 +-
superset/databases/api.py | 138 +-
superset/databases/commands/exceptions.py | 25 +
superset/databases/commands/validate_sql.py | 121 +
superset/databases/schemas.py | 19 +
superset/datasets/commands/importers/v0.py | 64 +-
superset/datasets/dao.py | 2 +-
superset/db_engine_specs/athena.py | 4 +-
superset/db_engine_specs/base.py | 37 +-
superset/db_engine_specs/bigquery.py | 2 +-
superset/db_engine_specs/gsheets.py | 2 +-
superset/db_engine_specs/hive.py | 2 +
superset/db_engine_specs/presto.py | 12 +-
superset/db_engine_specs/sqlite.py | 56 +-
superset/db_engine_specs/trino.py | 4 +-
superset/embedded/api.py | 2 +
superset/importexport/api.py | 2 -
superset/initialization/__init__.py | 69 +-
superset/models/core.py | 38 +-
superset/models/dashboard.py | 5 -
superset/models/reports.py | 4 +-
superset/models/sql_types/base.py | 65 -
superset/reports/api.py | 4 +
superset/reports/commands/base.py | 6 +-
superset/reports/commands/create.py | 10 +-
superset/reports/commands/exceptions.py | 10 +-
superset/reports/commands/update.py | 8 +-
superset/reports/dao.py | 18 +-
superset/reports/schemas.py | 6 +-
superset/result_set.py | 5 +-
superset/security/api.py | 2 +
superset/security/manager.py | 6 +-
superset/sql_lab.py | 2 -
superset/tasks/scheduler.py | 19 +-
.../templates/superset/models/database/macros.html | 2 +-
superset/utils/cache.py | 32 +-
superset/utils/core.py | 18 +-
superset/utils/dict_import_export.py | 19 -
superset/views/base.py | 6 +-
superset/views/core.py | 116 +-
superset/views/datasource/views.py | 34 +-
superset/views/users/api.py | 32 +
superset/views/utils.py | 8 +
tests/integration_tests/access_tests.py | 87 -
tests/integration_tests/base_tests.py | 31 +-
tests/integration_tests/core_tests.py | 1 -
tests/integration_tests/databases/api_tests.py | 286 +-
tests/integration_tests/datasource_tests.py | 8 +
.../db_engine_specs/presto_tests.py | 6 +-
.../db_engine_specs/trino_tests.py | 4 +-
.../integration_tests/dict_import_export_tests.py | 154 +-
tests/integration_tests/druid_func_tests.py | 1152 -
tests/integration_tests/druid_func_tests_sip38.py | 1157 -
tests/integration_tests/druid_tests.py | 668 -
tests/integration_tests/import_export_tests.py | 105 +-
tests/integration_tests/model_tests.py | 24 +-
tests/integration_tests/reports/api_tests.py | 54 +-
tests/integration_tests/security_tests.py | 112 +-
tests/integration_tests/sql_validator_tests.py | 12 +-
tests/integration_tests/users/api_tests.py | 15 +
tests/integration_tests/utils_tests.py | 5 +
tests/unit_tests/dataframe_test.py | 52 +
tests/unit_tests/db_engine_specs/test_athena.py | 9 +-
tests/unit_tests/db_engine_specs/test_presto.py | 8 +-
tests/unit_tests/db_engine_specs/test_sqlite.py | 65 +-
tests/unit_tests/db_engine_specs/test_trino.py | 8 +-
tests/unit_tests/utils/cache_test.py | 52 +
213 files changed, 51218 insertions(+), 60635 deletions(-)
copy .github/workflows/{superset-e2e.yml => superset-applitool-cypress.yml} (68%)
create mode 100644 .github/workflows/superset-applitools-storybook.yml
copy superset-websocket/jest.config.js => superset-frontend/applitools.config.js (77%)
copy superset-websocket/jest.config.js => superset-frontend/cypress-base/applitools.config.js (74%)
copy superset-frontend/{src/utils/localStorageHelpers.test.ts => cypress-base/cypress/integration/chart_list/chartlist.applitools.test.ts} (60%)
copy superset-frontend/cypress-base/cypress/integration/dashboard/{load.test.ts => dashboard.applitools.test.ts} (58%)
copy superset-frontend/{src/utils/localStorageHelpers.test.ts => cypress-base/cypress/integration/dashboard_list/dashboardlist.applitools.test.ts} (58%)
copy superset-frontend/cypress-base/cypress/integration/explore/{filter_box.test.js => explore.applitools.test.ts} (65%)
copy superset-frontend/cypress-base/cypress/integration/explore/{chart.test.js => visualizations/download_chart.test.js} (60%)
copy superset-frontend/{packages/superset-ui-chart-controls/test/shared-controls/emitFilterControl.test.tsx => cypress-base/cypress/integration/sqllab/sqllab.applitools.test.ts} (75%)
delete mode 100644 superset-frontend/src/components/AnchorLink/AnchorLink.test.jsx
delete mode 100644 superset-frontend/src/components/AnchorLink/index.jsx
copy superset-frontend/src/components/{Timer/Timer.stories.tsx => FilterableTable/FilterableTable.stories.tsx} (51%)
rename superset-frontend/src/components/FilterableTable/{FilterableTable.tsx => index.tsx} (89%)
rename superset-frontend/src/components/ReportModal/{index.test.tsx => ReportModal.test.tsx} (100%)
copy superset-frontend/src/components/{WarningIconWithTooltip/WarningIconWithTooltip.stories.tsx => TooltipParagraph/TooltipParagraph.stories.tsx} (68%)
create mode 100644 superset-frontend/src/components/TooltipParagraph/TooltipParagraph.test.tsx
copy superset-frontend/src/components/{Pagination/Item.tsx => TooltipParagraph/index.tsx} (56%)
delete mode 100644 superset-frontend/src/components/URLShortLinkButton/index.jsx
rename superset-frontend/src/{ => dashboard}/components/AnchorLink/AnchorLink.stories.tsx (96%)
create mode 100644 superset-frontend/src/dashboard/components/AnchorLink/AnchorLink.test.tsx
create mode 100644 superset-frontend/src/dashboard/components/AnchorLink/index.tsx
rename superset-frontend/src/{ => dashboard}/components/URLShortLinkButton/URLShortLinkButton.test.tsx (97%)
create mode 100644 superset-frontend/src/dashboard/components/URLShortLinkButton/index.tsx
copy superset-frontend/{packages/superset-ui-core/src/components/constants.ts => src/reports/types.ts} (77%)
delete mode 100644 superset/connectors/druid/__init__.py
delete mode 100644 superset/connectors/druid/models.py
delete mode 100644 superset/connectors/druid/views.py
create mode 100644 superset/databases/commands/validate_sql.py
delete mode 100644 superset/models/sql_types/base.py
delete mode 100644 tests/integration_tests/druid_func_tests.py
delete mode 100644 tests/integration_tests/druid_func_tests_sip38.py
delete mode 100644 tests/integration_tests/druid_tests.py
create mode 100644 tests/unit_tests/utils/cache_test.py