You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/08/25 02:08:13 UTC
[superset] 01/01: Merge branch 'master' of https://github.com/apache/superset into data-ia-navbar
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch data-ia-navbar
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 2f81c8be8dfac607f7f9ecc0d9b120930b6d96ca
Merge: 558916b970 da3401a698
Author: hughhhh <hu...@gmail.com>
AuthorDate: Wed Aug 24 19:07:50 2022 -0700
Merge branch 'master' of https://github.com/apache/superset into data-ia-navbar
.github/workflows/chromatic.yml | 93 +
CONTRIBUTING.md | 2 +-
Makefile | 12 +-
README.md | 63 +-
UPDATING.md | 1 +
.../docs/databases/installing-database-drivers.mdx | 4 +-
docs/docs/databases/timescaledb.mdx | 38 +
docs/src/resources/data.js | 5 +
docs/static/resources/openapi.json | 4 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment.yaml | 18 +
helm/superset/values.schema.json | 56 +
helm/superset/values.yaml | 12 +
requirements/base.txt | 8 +-
setup.py | 14 +-
superset-frontend/.eslintrc.js | 1 +
superset-frontend/.storybook/main.js | 4 +-
superset-frontend/.storybook/preview.jsx | 10 +-
.../integration/dashboard/dashboard.helper.ts | 1 +
.../integration/dashboard/edit_properties.test.ts | 129 +-
.../cypress/integration/dashboard/save.test.js | 41 +-
.../cypress/integration/explore/control.test.ts | 31 +
.../explore/visualizations/area.test.js | 14 +
.../explore/visualizations/box_plot.test.js | 11 +
.../explore/visualizations/bubble.test.js | 16 +
.../explore/visualizations/compare.test.js | 14 +
.../explore/visualizations/dist_bar.test.js | 14 +
.../explore/visualizations/dual_line.test.js | 14 +
.../explore/visualizations/gauge.test.js | 11 +
.../explore/visualizations/graph.test.ts | 11 +
.../explore/visualizations/histogram.test.ts | 15 +
.../explore/visualizations/line.test.ts | 7 +-
.../integration/explore/visualizations/pie.test.js | 11 +
.../explore/visualizations/sankey.test.js | 11 +
.../explore/visualizations/sunburst.test.js | 11 +
.../explore/visualizations/treemap.test.js | 12 +
.../explore/visualizations/world_map.test.js | 10 +
.../cypress/integration/sqllab/tabs.test.ts | 6 +-
superset-frontend/package-lock.json | 15372 +++++++++++--------
superset-frontend/package.json | 35 +-
.../src/sections/advancedAnalytics.tsx | 1 -
.../src/chart/models/ChartProps.ts | 9 +
.../src/connection/callApi/callApi.ts | 21 +-
.../src/number-format/NumberFormats.ts | 2 +
.../superset-ui-core/src/query/types/Filter.ts | 6 +
.../superset-ui-core/src/query/types/Query.ts | 42 +-
.../src/query/types/QueryResponse.ts | 1 +
.../src/ui-overrides/ExtensionsRegistry.ts | 7 +
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../test/connection/callApi/callApi.test.ts | 44 +
.../test/query/types/Filter.test.ts | 23 +
.../{Timeseries => AreaTimeseries}/Stories.tsx | 15 +-
.../plugin-chart-echarts/AreaTimeseries/data.ts | 771 +
.../MixedTimeseries/Stories.tsx | 64 +-
.../MixedTimeseries/negativeData.ts} | 32 +-
.../plugin-chart-echarts/Timeseries/Stories.tsx | 35 +-
.../Timeseries/negativeNumData.ts | 111 +
.../legacy-plugin-chart-world-map/src/WorldMap.js | 35 +-
.../src/transformProps.js | 8 +-
.../src/BigNumber/BigNumberTotal/transformProps.ts | 6 +-
.../src/BigNumber/BigNumberViz.tsx | 56 +-
.../BigNumberWithTrendline/transformProps.ts | 20 +-
.../src/BoxPlot/EchartsBoxPlot.tsx | 35 +-
.../src/BoxPlot/transformProps.ts | 15 +-
.../plugin-chart-echarts/src/BoxPlot/types.ts | 19 +-
.../src/Funnel/EchartsFunnel.tsx | 35 +-
.../src/Funnel/transformProps.ts | 16 +-
.../plugin-chart-echarts/src/Funnel/types.ts | 24 +-
.../src/Gauge/EchartsGauge.tsx | 35 +-
.../src/Gauge/controlPanel.tsx | 6 +-
.../src/Gauge/transformProps.ts | 82 +-
.../plugin-chart-echarts/src/Gauge/types.ts | 8 +-
.../src/Graph/EchartsGraph.tsx | 54 +-
.../src/Graph/transformProps.ts | 15 +-
.../plugin-chart-echarts/src/Graph/types.ts | 22 +-
.../src/MixedTimeseries/EchartsMixedTimeseries.tsx | 36 +-
.../src/MixedTimeseries/transformProps.ts | 145 +-
.../src/MixedTimeseries/types.ts | 27 +-
.../plugin-chart-echarts/src/Pie/EchartsPie.tsx | 35 +-
.../plugin-chart-echarts/src/Pie/transformProps.ts | 16 +-
.../plugins/plugin-chart-echarts/src/Pie/types.ts | 23 +-
.../src/Radar/EchartsRadar.tsx | 35 +-
.../src/Radar/transformProps.ts | 18 +-
.../plugin-chart-echarts/src/Radar/types.ts | 16 +-
.../src/Timeseries/EchartsTimeseries.tsx | 44 +-
.../src/Timeseries/transformProps.ts | 24 +-
.../src/Timeseries/transformers.ts | 8 +-
.../plugin-chart-echarts/src/Timeseries/types.ts | 5 +-
.../src/Treemap/EchartsTreemap.tsx | 23 +-
.../src/Treemap/transformProps.ts | 16 +-
.../plugin-chart-echarts/src/Treemap/types.ts | 18 +-
.../plugins/plugin-chart-echarts/src/types.ts | 6 +
.../src/utils/eventHandlers.ts | 77 +
.../plugin-chart-echarts/src/utils/series.ts | 37 +-
.../plugin-chart-echarts/test/utils/series.test.ts | 132 +
.../src/plugin/buildQuery.ts | 10 +-
.../src/plugin/controlPanel.tsx | 3 +-
.../src/plugin/controls/orderBy.tsx | 8 +-
superset-frontend/src/SqlLab/App.jsx | 9 +
superset-frontend/src/SqlLab/actions/sqlLab.js | 113 +-
.../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 +
.../src/SqlLab/components/ResultSet/index.tsx | 9 +-
.../RunQueryActionButton.test.jsx | 53 -
.../RunQueryActionButton.test.tsx | 151 +
.../components/RunQueryActionButton/index.tsx | 32 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 74 +-
.../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 | 123 +
.../src/components/Chart/ChartRenderer.jsx | 105 +-
.../src/components/Chart/DrillDetailModal.tsx | 117 +
.../src/components/Chart/chartAction.js | 23 +-
.../src/components/Datasource/DatasourceEditor.jsx | 4 +-
.../Datasource/DatasourceEditor.test.jsx | 12 +-
.../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 +
.../src/components/FilterableTable/index.tsx | 462 +-
.../ListViewCard/ListViewCard.stories.tsx | 26 +-
.../src/components/ListViewCard/index.tsx | 49 +-
.../src/components/MetadataBar/ContentConfig.tsx | 143 +
.../src/components/MetadataBar/ContentType.ts | 91 +
.../components/MetadataBar/MetadataBar.stories.tsx | 109 +
.../components/MetadataBar/MetadataBar.test.tsx | 257 +
.../components/MetadataBar/Overview.stories.mdx | 137 +
.../src/components/MetadataBar/index.tsx | 190 +
superset-frontend/src/components/Radio/index.tsx | 1 +
.../src/components/Select/AsyncSelect.tsx | 853 +-
superset-frontend/src/components/Select/Select.tsx | 527 +-
.../components/Select/WindowedSelect/windowed.tsx | 22 +-
.../src/components/TableSelector/index.tsx | 3 +-
.../components/AddSliceCard/AddSliceCard.tsx | 2 +-
.../components/BuilderComponentPane/index.tsx | 15 +-
.../DashboardBuilder/DashboardBuilder.tsx | 1 +
.../components/DashboardEmbedControls.tsx | 25 +-
.../components/DrillDetailPane/DrillDetailPane.tsx | 257 +
.../components/DrillDetailPane/TableControls.tsx | 138 +
.../components/DrillDetailPane/index.ts} | 5 +-
.../dashboard/components/DrillDetailPane/utils.ts} | 48 +-
.../dashboard/components/FiltersBadge/selectors.ts | 2 +-
.../src/dashboard/components/Header/index.jsx | 1 +
.../components/SliceHeaderControls/index.tsx | 128 +-
.../DataTablesPane/components/useResultsPane.tsx | 12 +-
.../components/ExploreChartHeader/index.jsx | 4 +-
.../ColorSchemeControl/ColorSchemeLabel.test.tsx | 59 +
.../ColorSchemeControl/ColorSchemeLabel.tsx | 126 +
.../controls/ColorSchemeControl/index.jsx | 36 +-
.../getFormDataFromDashboardContext.test.ts | 76 +
.../getFormDataWithDashboardContext.ts | 57 +-
.../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 | 2 +-
.../src/views/CRUD/data/database/types.ts | 5 +
.../index.tsx => AddDataset/AddDataset.test.tsx} | 25 +-
.../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
.../LeftPanel/LeftPanel.test.tsx} | 14 +-
.../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/CRUD/hooks.ts | 4 +-
.../src/views/CRUD/welcome/Welcome.tsx | 143 +-
.../src/views/components/Menu.test.tsx | 119 +-
superset-frontend/src/views/components/Menu.tsx | 13 +-
superset-frontend/src/views/routes.tsx | 8 +-
superset-frontend/webpack.config.js | 19 +
superset/charts/api.py | 4 +
superset/charts/post_processing.py | 4 +
superset/common/query_context_processor.py | 16 +
superset/config.py | 37 +-
superset/connectors/sqla/models.py | 13 +-
superset/connectors/sqla/views.py | 3 +-
superset/dao/base.py | 7 +-
superset/databases/api.py | 6 +-
superset/db_engine_specs/base.py | 35 +
superset/db_engine_specs/sqlite.py | 2 +-
superset/db_engine_specs/trino.py | 42 +-
superset/examples/bart_lines.py | 6 +-
superset/examples/birth_names.py | 5 +-
superset/examples/country_map.py | 8 +-
superset/examples/energy.py | 6 +-
superset/examples/flights.py | 10 +-
superset/examples/helpers.py | 16 +-
superset/examples/long_lat.py | 6 +-
superset/examples/multiformat_time_series.py | 6 +-
superset/examples/paris.py | 6 +-
superset/examples/random_time_series.py | 6 +-
superset/examples/sf_population_polygons.py | 6 +-
superset/examples/world_bank.py | 6 +-
superset/explore/utils.py | 9 +-
superset/initialization/__init__.py | 2 +-
..._13-00_c747c78868b6_migrating_legacy_treemap.py | 11 +
...-16_a39867932713_query_context_to_mediumtext.py | 5 +-
...665d_fix_table_chart_conditional_formatting_.py | 82 +
superset/models/core.py | 9 +-
superset/models/helpers.py | 15 +-
superset/queries/saved_queries/api.py | 1 +
superset/reports/commands/execute.py | 38 +-
superset/reports/models.py | 5 +
superset/reports/notifications/base.py | 2 +
superset/reports/notifications/email.py | 11 +-
superset/result_set.py | 3 +
superset/security/manager.py | 37 +
superset/templates/superset/basic.html | 1 +
.../templates/superset/models/database/macros.html | 2 +-
superset/utils/core.py | 18 +-
superset/utils/pandas_postprocessing/__init__.py | 6 +
.../utils/pandas_postprocessing/contribution.py | 3 +
superset/utils/pandas_postprocessing/flatten.py | 5 +-
superset/utils/pandas_postprocessing/utils.py | 10 +
superset/views/base.py | 10 +-
superset/views/core.py | 5 +
.../sql_lab/__init__.py} | 20 -
.../sql_lab/schemas.py} | 33 +-
superset/views/{sql_lab.py => sql_lab/views.py} | 8 +-
superset/views/utils.py | 26 +-
superset/viz.py | 4 +-
tests/integration_tests/charts/api_tests.py | 15 +-
tests/integration_tests/conftest.py | 27 +
tests/integration_tests/core_tests.py | 82 +-
tests/integration_tests/databases/api_tests.py | 34 +-
tests/integration_tests/datasets/api_tests.py | 1 +
tests/integration_tests/email_tests.py | 31 +
.../explore/form_data/api_tests.py | 10 +-
.../explore/permalink/api_tests.py | 2 +-
.../queries/saved_queries/api_tests.py | 4 +-
tests/integration_tests/query_context_tests.py | 45 +
.../commands/execute_dashboard_report_tests.py | 45 +
tests/integration_tests/security_tests.py | 201 +
.../unit_tests/charts/dao/__init__.py | 20 -
tests/unit_tests/charts/dao/dao_tests.py | 67 +
tests/unit_tests/charts/test_post_processing.py | 68 +
.../unit_tests/datasets/dao/__init__.py | 20 -
tests/unit_tests/datasets/dao/dao_tests.py | 73 +
tests/unit_tests/db_engine_specs/test_sqlite.py | 4 +-
tests/unit_tests/db_engine_specs/test_trino.py | 38 +
.../unit_tests/models/__init__.py | 20 -
tests/unit_tests/models/core_test.py | 72 +
tests/unit_tests/notifications/email_tests.py | 9 +
.../pandas_postprocessing/test_flatten.py | 19 +
.../unit_tests/pandas_postprocessing/test_utils.py | 26 +-
308 files changed, 18610 insertions(+), 9311 deletions(-)