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/10/21 17:59:57 UTC

[superset] branch ret-ex updated (a792ae1b96 -> 04bec5cd97)

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

hugh pushed a change to branch ret-ex
in repository https://gitbox.apache.org/repos/asf/superset.git


    from a792ae1b96 fix linting
     add fcb98003a3 fix(sqllab): Fix spacing on Schedule option in SqlEditor dropdown (#21832)
     add 8f4415bc83 fix: Dataset left panel now uses client side search (#21770)
     add 383dc29ad1 fix: Allow comma in Number Format (#21817)
     add f41d0b0cbf fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844)
     add f38115489b fix: drilling on the categorical xaxis on the mixed chart (#21845)
     add df7840c041 chore: Added translate functions (#21816)
     add b77335494a docs: 414 (#21849)
     add 0a4ecca9f2 fix: custom SQL in the XAxis (#21847)
     add 47b1e0ca9d feat: Disables HTML rendering in Toast by default (#21853)
     add 9aa804e070 fix: categorical x-axis can't apply the label of column (#21869)
     add 7c4102c20e feat(select filter): add CRLF separator for Windows (#21867)
     add ec20c0104e fix(dashboard): Prevent XSS attack vector (#21822)
     add cddc361adc feat(explore): Don't discard controls with custom sql when changing datasource (#20934)
     add decb2fb591 feat(datasets): Change in API to create virtual datasets (#21840)
     add 54f6fd6a82 fix: docker links (#21797)
     add 76e57ec651 feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351)
     add 28c7636c59 fix: Change timer font to monospace (#21876)
     add b17ef18aae chore: Color consistency E2E tests (#21622)
     add f4da74ce8d feat: Adds a Content Security Policy (CSP) check for production environments (#21874)
     add 9a063abb3b feat(explore): add config for default time filter (#21879)
     add e418694150 fix: Mistaken use of BootstrapUser type (#21892)
     add f4a4ab41e0 fix: type of AnnotationLayer (#21878)
     add 40f82545ab fix(dashboard): Ensure correct positioning of "Drill to detail by" submenu (#21894)
     add 2fe68a3633 chore: E2E Dashboards Cross-references (#21805)
     add c2834cc14c chore: Remove CROSS_REFERENCES feature flag (#21815)
     add 04b017e006 chore: Updating SIP issue template to boost the link, and (hopefully) reduce duplicate-numbered SIP issues. (#21896)
     add 3da9687328 chore: Improves D2D loading indicator (#21908)
     add 04bec5cd97 Merge branch 'master' of https://github.com/apache/superset into ret-ex

No new revisions were added by this update.

Summary of changes:
 .github/ISSUE_TEMPLATE/sip.md                      |   6 +-
 CONTRIBUTING.md                                    |   2 +-
 RESOURCES/FEATURE_FLAGS.md                         |   1 -
 docker/README.md                                   |   4 +-
 docs/docs/security.mdx                             |  22 +
 .../cypress-base/cypress/fixtures/charts.json      |  20 +-
 .../cypress-base/cypress/fixtures/dashboards.json  |  28 +
 .../cypress/integration/chart_list/filter.test.ts  |   4 +-
 .../cypress/integration/chart_list/list.test.ts    |  67 ++-
 .../cypress/integration/dashboard/actions.test.js  |   2 +-
 .../integration/dashboard/drilltodetail.test.ts    |  42 +-
 .../cypress/integration/dashboard/editmode.test.ts | 570 +++++++++++++++++++--
 .../integration/dashboard/nativeFilters.test.ts    |   6 +-
 .../cypress/integration/dashboard/utils.ts         |   9 +
 .../integration/dashboard_list/list.test.ts        |   2 +-
 .../cypress/integration/explore/chart.test.js      | 106 ++++
 .../cypress/integration/explore/utils.ts           |  24 +
 .../cypress-base/cypress/support/index.d.ts        |   6 +
 .../cypress-base/cypress/support/index.ts          |  29 ++
 .../src/operators/pivotOperator.ts                 |   4 +-
 .../src/operators/prophetOperator.ts               |   4 +-
 .../src/operators/renameOperator.ts                |   4 +-
 .../src/operators/timeComparePivotOperator.ts      |   4 +-
 .../src/sections/advancedAnalytics.tsx             |  16 +-
 .../src/sections/echartsTimeSeriesQuery.tsx        |   6 +-
 .../src/sections/forecastInterval.tsx              |  24 +-
 .../superset-ui-core/src/chart/types/Base.ts       |  13 +
 .../src/components/SafeMarkdown.tsx                |   2 +-
 .../superset-ui-core/src/query/constants.ts        |   1 -
 .../superset-ui-core/src/query/getXAxis.ts         |  16 +-
 .../packages/superset-ui-core/src/query/index.ts   |   8 +-
 .../src/query/types/AnnotationLayer.ts             |   3 +-
 .../superset-ui-core/src/query/types/Column.ts     |   1 +
 .../packages/superset-ui-core/src/types/index.ts   |   2 +
 .../superset-ui-core/src/utils/featureFlags.ts     |   1 -
 .../superset-ui-core/src/utils/isDefined.ts        |   2 +-
 .../src/controlPanel.tsx                           |   8 +-
 .../legacy-plugin-chart-world-map/src/WorldMap.js  |   2 +-
 .../legacy-plugin-chart-world-map/src/index.js     |   3 +-
 .../legacy-preset-chart-nvd3/src/NVD3Controls.tsx  |   8 +-
 .../src/vendor/superset/AnnotationTypes.js         |  10 +-
 .../src/BigNumber/BigNumberTotal/index.ts          |   3 +-
 .../src/BigNumber/BigNumberViz.tsx                 |  14 +-
 .../BigNumber/BigNumberWithTrendline/buildQuery.ts |   6 +-
 .../BigNumberWithTrendline/controlPanel.tsx        |  16 +-
 .../src/BigNumber/BigNumberWithTrendline/index.ts  |   3 +-
 .../BigNumberWithTrendline/transformProps.ts       |   4 +-
 .../plugin-chart-echarts/src/BoxPlot/index.ts      |   2 +-
 .../plugin-chart-echarts/src/Funnel/index.ts       |   2 +-
 .../plugin-chart-echarts/src/Gauge/index.ts        |   2 +-
 .../src/Graph/EchartsGraph.tsx                     |   6 +-
 .../plugin-chart-echarts/src/Graph/index.ts        |   3 +-
 .../plugin-chart-echarts/src/Graph/types.ts        |   4 +-
 .../src/MixedTimeseries/EchartsMixedTimeseries.tsx |  47 +-
 .../src/MixedTimeseries/buildQuery.ts              |   6 +-
 .../src/MixedTimeseries/index.ts                   |   2 +-
 .../src/MixedTimeseries/transformProps.ts          |  30 +-
 .../src/MixedTimeseries/types.ts                   |   5 +
 .../plugin-chart-echarts/src/Pie/controlPanel.tsx  |   1 +
 .../plugins/plugin-chart-echarts/src/Pie/index.ts  |   2 +-
 .../plugin-chart-echarts/src/Radar/index.ts        |   2 +-
 .../src/Timeseries/Area/index.ts                   |   2 +-
 .../src/Timeseries/EchartsTimeseries.tsx           |  41 +-
 .../src/Timeseries/Regular/Bar/index.ts            |   2 +-
 .../src/Timeseries/Regular/Line/index.ts           |   2 +-
 .../src/Timeseries/Regular/Scatter/index.ts        |   2 +-
 .../src/Timeseries/Regular/SmoothLine/index.ts     |   2 +-
 .../src/Timeseries/Step/index.ts                   |   2 +-
 .../src/Timeseries/buildQuery.ts                   |   6 +-
 .../plugin-chart-echarts/src/Timeseries/index.ts   |   2 +-
 .../src/Timeseries/transformProps.ts               |  26 +-
 .../src/Timeseries/transformers.ts                 |   8 +-
 .../plugin-chart-echarts/src/Timeseries/types.ts   |  12 +-
 .../src/Treemap/EchartsTreemap.tsx                 |   9 +-
 .../plugin-chart-echarts/src/Treemap/index.ts      |   2 +-
 .../plugins/plugin-chart-echarts/src/controls.tsx  |  16 +-
 .../plugins/plugin-chart-echarts/src/types.ts      |   6 +-
 .../plugin-chart-echarts/src/utils/annotation.ts   |   3 +-
 .../src/utils/eventHandlers.ts                     |   6 +-
 .../plugin-chart-echarts/src/utils/series.ts       |   7 +-
 .../test/utils/annotation.test.ts                  |  16 +-
 .../plugin-chart-handlebars/src/plugin/index.ts    |   2 +-
 .../src/PivotTableChart.tsx                        |   7 +-
 .../plugin-chart-pivot-table/src/plugin/index.ts   |   2 +-
 .../plugins/plugin-chart-pivot-table/src/types.ts  |   4 +-
 .../plugin-chart-table/src/DataTable/DataTable.tsx |   1 +
 .../plugins/plugin-chart-table/src/TableChart.tsx  |   6 +-
 .../plugins/plugin-chart-table/src/index.ts        |   2 +-
 .../plugins/plugin-chart-table/src/types.ts        |   4 +-
 .../spec/fixtures/mockChartQueries.js              |   6 +-
 .../components/ScheduleQueryButton/index.tsx       |   2 +
 superset-frontend/src/components/Chart/Chart.jsx   |   3 +-
 .../src/components/Chart/ChartContextMenu.tsx      | 124 ++---
 .../src/components/Chart/ChartRenderer.jsx         | 123 +++--
 .../DrillDetail/DrillDetailMenuItems.test.tsx      | 345 +++++++++++++
 .../Chart/DrillDetail/DrillDetailMenuItems.tsx     | 254 +++++++++
 .../{ => DrillDetail}/DrillDetailModal.test.tsx    |  97 ++--
 .../Chart/{ => DrillDetail}/DrillDetailModal.tsx   |  93 ++--
 .../Chart/DrillDetail}/DrillDetailPane.test.tsx    |   4 +-
 .../Chart/DrillDetail}/DrillDetailPane.tsx         |  60 ++-
 .../DrillDetail/DrillDetailTableControls.test.tsx} |   2 +-
 .../DrillDetail/DrillDetailTableControls.tsx}      |   0
 .../Chart/DrillDetail}/index.ts                    |   2 +-
 .../Chart/DrillDetail}/types.ts                    |   0
 .../Chart/DrillDetail}/utils.ts                    |   0
 .../components/Chart/utils.test.ts}                |  45 +-
 .../Chart/utils.ts}                                |  33 +-
 .../src/components/Datasource/DatasourceModal.tsx  |   2 +-
 .../src/components/ListView/CrossLinks.tsx         |   2 +-
 .../src/components/MessageToasts/Toast.tsx         |   2 +-
 .../src/components/MessageToasts/types.ts          |   2 +
 .../src/components/MetadataBar/MetadataBar.tsx     |   2 +-
 .../src/components/Select/constants.ts             |   2 +-
 .../src/components/TableSelector/index.tsx         |   2 +-
 superset-frontend/src/components/Timer/index.tsx   |   1 +
 .../dashboard/components/PropertiesModal/index.tsx |   4 +-
 .../src/dashboard/components/SliceAdder.jsx        |   8 +-
 .../SliceHeaderControls.test.tsx                   |   4 +
 .../components/SliceHeaderControls/index.tsx       |  23 +-
 superset-frontend/src/dashboard/types.ts           |   4 +-
 .../src/explore/actions/hydrateExplore.test.ts     |  46 ++
 .../src/explore/actions/hydrateExplore.ts          |   5 +
 .../explore/components/ControlPanelsContainer.tsx  |  43 +-
 .../components/ExploreChartHeader/index.jsx        |   5 +-
 .../components/ExploreViewContainer/index.jsx      |   1 +
 .../explore/components/PropertiesModal/index.tsx   |   4 +-
 .../AnnotationLayerControl/AnnotationLayer.jsx     |  24 +-
 .../FormattingPopoverContent.tsx                   |   2 +-
 .../controls/DateFilterControl/DateFilterLabel.tsx |  11 +-
 .../DndAdhocFilterOption.tsx                       |   6 +
 .../DndColumnSelectControl/DndColumnSelect.tsx     |  45 +-
 .../DndMetricSelect.test.tsx                       |  19 +-
 .../DndColumnSelectControl/DndMetricSelect.tsx     | 141 ++---
 .../controls/DndColumnSelectControl/Option.tsx     |  10 +-
 .../DndColumnSelectControl/OptionWrapper.tsx       |   2 +
 .../controls/DndColumnSelectControl/types.ts       |   1 +
 .../FilterControl/AdhocFilter/AdhocFilter.test.js  |   1 +
 .../controls/FilterControl/AdhocFilter/index.js    |   1 +
 .../controls/MetricControl/AdhocMetric.js          |   1 +
 .../controls/MetricControl/AdhocMetric.test.js     |   1 +
 .../controls/MetricControl/AdhocMetricOption.jsx   |   3 +
 .../MetricControl/MetricDefinitionValue.jsx        |   3 +
 .../components/controls/OptionControls/index.tsx   |  13 +-
 .../DashboardsSubMenu.tsx                          |   2 +-
 .../useExploreAdditionalActionsMenu/index.jsx      |  20 +-
 ...etControlValuesCompatibleWithDatasource.test.ts |   2 +
 .../getControlValuesCompatibleWithDatasource.ts    |   7 +-
 superset-frontend/src/explore/fixtures.tsx         |   2 -
 .../src/explore/reducers/exploreReducer.js         |  52 +-
 superset-frontend/src/modules/AnnotationTypes.js   |  10 +-
 superset-frontend/src/reduxUtils.ts                |  22 +-
 .../SingleValueType.ts => types/ChartSource.ts}    |   7 +-
 .../src/views/CRUD/chart/ChartList.tsx             |  69 ++-
 .../src/views/CRUD/data/database/DatabaseList.tsx  |  12 +-
 .../data/database/DatabaseModal/ModalHeader.tsx    |   7 +-
 .../AddDataset/LeftPanel/LeftPanel.test.tsx        | 400 ++++++++-------
 .../data/dataset/AddDataset/LeftPanel/index.tsx    |   8 +-
 .../src/views/CRUD/welcome/Welcome.tsx             |   2 +-
 superset/config.py                                 |   9 +-
 superset/datasets/api.py                           |   2 +-
 superset/datasets/commands/create.py               |  10 +-
 superset/datasets/schemas.py                       |   1 +
 superset/examples/tabbed_dashboard.py              |  34 +-
 superset/initialization/__init__.py                |  24 +-
 superset/views/base.py                             |   1 +
 tests/integration_tests/datasets/api_tests.py      |  55 ++
 tests/integration_tests/superset_test_config.py    |   1 -
 167 files changed, 2772 insertions(+), 1078 deletions(-)
 create mode 100644 superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.test.tsx
 create mode 100644 superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx
 rename superset-frontend/src/components/Chart/{ => DrillDetail}/DrillDetailModal.test.tsx (59%)
 rename superset-frontend/src/components/Chart/{ => DrillDetail}/DrillDetailModal.tsx (65%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane => components/Chart/DrillDetail}/DrillDetailPane.test.tsx (97%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane => components/Chart/DrillDetail}/DrillDetailPane.tsx (87%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane/TableControls.test.tsx => components/Chart/DrillDetail/DrillDetailTableControls.test.tsx} (98%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane/TableControls.tsx => components/Chart/DrillDetail/DrillDetailTableControls.tsx} (100%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane => components/Chart/DrillDetail}/index.ts (91%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane => components/Chart/DrillDetail}/types.ts (100%)
 rename superset-frontend/src/{dashboard/components/DrillDetailPane => components/Chart/DrillDetail}/utils.ts (100%)
 copy superset-frontend/{packages/superset-ui-core/src/number-format/factories/createSiAtMostNDigitFormatter.ts => src/components/Chart/utils.test.ts} (53%)
 copy superset-frontend/src/{dashboard/util/getChartIdsFromLayout.js => components/Chart/utils.ts} (57%)
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => types/ChartSource.ts} (91%)