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 2022/08/29 13:59:30 UTC

[superset] 02/05: Merge branch 'master' of https://github.com/apache/superset

This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch chore/applitools-enhancements-fixes
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 3190c98a27422b3efb60ac885ab7d56f913b819e
Merge: 5d9c4266ab 859b6d2d20
Author: geido <di...@gmail.com>
AuthorDate: Fri Aug 26 16:48:09 2022 +0300

    Merge branch 'master' of https://github.com/apache/superset

 .github/workflows/chromatic.yml                    |   93 ++
 README.md                                          |   63 +-
 docs/docs/databases/clickhouse.mdx                 |    8 +-
 .../docs/databases/installing-database-drivers.mdx |    6 +-
 docs/docs/databases/timescaledb.mdx                |   38 +
 docs/src/resources/data.js                         |    5 +
 setup.py                                           |    2 +-
 superset-frontend/.storybook/preview.jsx           |    9 +-
 .../integration/dataset/dataset_list.test.ts}      |   33 +-
 .../cypress/integration/explore/control.test.ts    |   36 +-
 .../cypress/integration/sqllab/query.test.ts       |   58 +-
 .../cypress/integration/sqllab/tabs.test.ts        |    6 +-
 superset-frontend/package-lock.json                | 1632 ++++++++++----------
 superset-frontend/package.json                     |   12 +-
 .../src/number-format/NumberFormats.ts             |    2 +
 .../superset-ui-core/src/query/types/Query.ts      |   45 +-
 .../src/query/types/QueryResponse.ts               |    1 +
 .../superset-ui-core/src/utils/featureFlags.ts     |   10 +-
 .../legacy-plugin-chart-world-map/src/WorldMap.js  |   35 +-
 .../src/transformProps.js                          |    8 +-
 .../src/BigNumber/BigNumberViz.tsx                 |   16 +-
 .../src/BoxPlot/transformProps.ts                  |   28 +-
 .../src/Funnel/transformProps.ts                   |   26 +-
 .../src/Gauge/EchartsGauge.tsx                     |   48 +-
 .../src/Gauge/transformProps.ts                    |    5 +-
 .../src/Graph/EchartsGraph.tsx                     |    2 +-
 .../plugin-chart-echarts/src/Graph/types.ts        |    4 +-
 .../src/MixedTimeseries/EchartsMixedTimeseries.tsx |    6 +-
 .../src/MixedTimeseries/transformProps.ts          |  127 +-
 .../src/MixedTimeseries/types.ts                   |    3 +-
 .../plugin-chart-echarts/src/Pie/transformProps.ts |   28 +-
 .../src/Radar/transformProps.ts                    |    5 +-
 .../src/Timeseries/EchartsTimeseries.tsx           |    6 +-
 .../src/Timeseries/transformProps.ts               |   17 +-
 .../src/Treemap/EchartsTreemap.tsx                 |    6 +-
 .../src/Treemap/transformProps.ts                  |    3 +-
 .../plugins/plugin-chart-echarts/src/types.ts      |    7 +-
 .../src/utils/eventHandlers.ts                     |   11 +-
 .../plugin-chart-echarts/src/utils/series.ts       |   22 +
 .../plugin-chart-echarts/test/utils/series.test.ts |   13 +
 .../src/PivotTableChart.tsx                        |   46 +
 .../src/plugin/transformProps.ts                   |    3 +-
 .../src/react-pivottable/PivotTable.jsx            |    5 +-
 .../src/react-pivottable/TableRenderers.jsx        |    5 +
 .../plugins/plugin-chart-pivot-table/src/types.ts  |    6 +
 superset-frontend/src/SqlLab/App.jsx               |    9 +
 superset-frontend/src/SqlLab/actions/sqlLab.js     |  102 +-
 .../src/SqlLab/actions/sqlLab.test.js              |  122 +-
 .../AceEditorWrapper/AceEditorWrapper.test.tsx     |  129 ++
 .../SqlLab/components/AceEditorWrapper/index.tsx   |   51 +-
 .../EstimateQueryCostButton.test.tsx               |   93 ++
 .../components/EstimateQueryCostButton/index.tsx   |   32 +-
 .../QueryLimitSelect/QueryLimitSelect.test.tsx     |  137 ++
 .../SqlLab/components/QueryLimitSelect/index.tsx   |  118 ++
 .../RunQueryActionButton.test.jsx                  |   53 -
 .../RunQueryActionButton.test.tsx                  |  151 ++
 .../components/RunQueryActionButton/index.tsx      |   32 +-
 .../SqlLab/components/SaveQuery/SaveQuery.test.jsx |   47 +-
 .../src/SqlLab/components/SaveQuery/index.tsx      |   35 +-
 .../SqlLab/components/SqlEditor/SqlEditor.test.jsx |   53 +-
 .../src/SqlLab/components/SqlEditor/index.jsx      |  165 +-
 .../SqlLab/components/SqlEditorLeftBar/index.tsx   |   19 +-
 .../SqlEditorTabHeader/SqlEditorTabHeader.test.tsx |  220 +++
 .../SqlLab/components/SqlEditorTabHeader/index.tsx |  147 ++
 .../TabbedSqlEditors/TabbedSqlEditors.test.jsx     |   17 +-
 .../SqlLab/components/TabbedSqlEditors/index.jsx   |  142 +-
 .../TemplateParamsEditor.test.tsx                  |   90 +-
 .../components/TemplateParamsEditor/index.tsx      |   22 +-
 superset-frontend/src/SqlLab/fixtures.ts           |   29 +-
 .../src/SqlLab/reducers/getInitialState.js         |   38 +-
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |  376 +++--
 .../src/SqlLab/reducers/sqlLab.test.js             |   67 +-
 superset-frontend/src/SqlLab/types.ts              |   26 +-
 .../src/SqlLab/utils/newQueryTabName.test.ts       |    2 +
 .../src/assets/images/apache-kylin.png             |  Bin 13694 -> 9780 bytes
 superset-frontend/src/assets/images/clickhouse.png |  Bin 7651 -> 9841 bytes
 superset-frontend/src/assets/images/databricks.png |  Bin 20293 -> 11073 bytes
 superset-frontend/src/assets/images/db2.png        |  Bin 9010 -> 7493 bytes
 superset-frontend/src/assets/images/druid.png      |  Bin 12839 -> 11845 bytes
 .../src/assets/images/empty-dataset.svg            |   38 +
 .../src/assets/images/empty-table.svg              |   22 +
 superset-frontend/src/assets/images/exasol.png     |  Bin 8582 -> 8965 bytes
 superset-frontend/src/assets/images/firebird.png   |  Bin 10895 -> 7953 bytes
 superset-frontend/src/assets/images/firebolt.png   |  Bin 27249 -> 9061 bytes
 .../src/assets/images/google-biquery.png           |  Bin 16418 -> 15539 bytes
 superset-frontend/src/assets/images/greenplum.png  |  Bin 17811 -> 18956 bytes
 superset-frontend/src/assets/images/hologres.png   |  Bin 23843 -> 4529 bytes
 superset-frontend/src/assets/images/mariadb.png    |  Bin 16770 -> 9663 bytes
 superset-frontend/src/assets/images/monet-db.png   |  Bin 21830 -> 14327 bytes
 .../src/assets/images/mssql-server.png             |  Bin 21970 -> 10710 bytes
 superset-frontend/src/assets/images/mysql.png      |  Bin 14453 -> 9362 bytes
 superset-frontend/src/assets/images/netezza.png    |  Bin 54596 -> 8460 bytes
 superset-frontend/src/assets/images/oracle.png     |  Bin 8231 -> 8577 bytes
 superset-frontend/src/assets/images/pinot.png      |  Bin 68618 -> 7127 bytes
 superset-frontend/src/assets/images/postgresql.png |  Bin 18364 -> 16942 bytes
 superset-frontend/src/assets/images/presto.png     |  Bin 18505 -> 10865 bytes
 superset-frontend/src/assets/images/redshift.png   |  Bin 9168 -> 10885 bytes
 superset-frontend/src/assets/images/rockset.png    |  Bin 23189 -> 8570 bytes
 superset-frontend/src/assets/images/snowflake.png  |  Bin 21654 -> 15635 bytes
 superset-frontend/src/assets/images/sqlite.png     |  Bin 11330 -> 10972 bytes
 superset-frontend/src/assets/images/sybase.png     |  Bin 11992 -> 18309 bytes
 superset-frontend/src/assets/images/teradata.png   |  Bin 93361 -> 9993 bytes
 superset-frontend/src/assets/images/timescale.png  |  Bin 16120 -> 15319 bytes
 superset-frontend/src/assets/images/trino.png      |  Bin 23773 -> 10322 bytes
 superset-frontend/src/assets/images/vertica.png    |  Bin 6800 -> 11479 bytes
 superset-frontend/src/assets/images/yugabyte.png   |  Bin 6460 -> 12123 bytes
 .../src/components/Chart/ChartContextMenu.tsx      |   22 +-
 .../src/components/Chart/ChartRenderer.jsx         |   26 +-
 .../src/components/Chart/DrillDetailModal.tsx      |  117 ++
 .../src/components/Chart/chartAction.js            |   23 +-
 .../src/components/CronPicker/CronPicker.tsx       |    3 +
 .../src/components/Dropdown/index.tsx              |    2 +-
 .../src/components/EmptyState/index.tsx            |    4 +-
 .../components/ErrorMessage/ErrorAlert.test.tsx    |    6 +
 .../src/components/ErrorMessage/ErrorAlert.tsx     |   19 +-
 .../ErrorMessage/ErrorMessageWithStackTrace.tsx    |    3 +
 .../ListViewCard/ListViewCard.stories.tsx          |   26 +-
 .../src/components/TableSelector/index.tsx         |    4 +-
 .../components/DrillDetailPane/DrillDetailPane.tsx |  257 +++
 .../components/DrillDetailPane/TableControls.tsx   |  138 ++
 .../components/DrillDetailPane/index.ts}           |    5 +-
 .../dashboard/components/DrillDetailPane/utils.ts} |   48 +-
 .../components/SliceHeaderControls/index.tsx       |  128 +-
 .../components/ExploreChartHeader/index.jsx        |    4 +-
 superset-frontend/src/featureFlags.ts              |   10 +-
 .../components/GroupBy/GroupByFilterPlugin.tsx     |    2 +-
 superset-frontend/src/hooks/useTabId.ts            |   15 +
 .../DatabaseConnectionForm/CommonParameters.tsx    |    5 +-
 .../DatabaseModal/DatabaseConnectionForm/index.tsx |    4 +
 .../CRUD/data/database/DatabaseModal/index.tsx     |   53 +-
 .../CRUD/data/database/DatabaseModal/styles.ts     |    1 -
 .../src/views/CRUD/data/database/types.ts          |    5 +
 .../data/dataset/AddDataset/AddDataset.test.tsx}   |   31 +-
 .../AddDataset/DatasetPanel/DatasetPanel.test.tsx  |   41 +
 .../DatasetPanel/index.tsx                         |   34 +-
 .../Footer/Footer.test.tsx}                        |   12 +-
 .../{DatasetPage => AddDataset}/Footer/index.tsx   |    0
 .../Header/Header.test.tsx}                        |   12 +-
 .../{DatasetPage => AddDataset}/Header/index.tsx   |    0
 .../AddDataset/LeftPanel/LeftPanel.test.tsx}       |   22 +-
 .../LeftPanel/index.tsx                            |   12 +-
 .../RightPanel/RightPanel.test.tsx}                |   12 +-
 .../RightPanel/index.tsx                           |    0
 .../dataset/{DatasetPage => AddDataset}/index.tsx  |   20 +-
 .../dataset/{DatasetPage => AddDataset}/types.tsx  |    0
 .../dataset/DatasetLayout/DatasetLayout.test.tsx   |   70 +
 .../CRUD/data/dataset/DatasetLayout/index.tsx      |   72 +
 .../src/views/CRUD/data/dataset/styles.ts          |   95 ++
 superset-frontend/src/views/routes.tsx             |    8 +-
 superset/security/manager.py                       |   37 +
 superset/views/utils.py                            |   26 +-
 tests/integration_tests/security_tests.py          |  201 +++
 152 files changed, 4864 insertions(+), 1905 deletions(-)