You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by aa...@apache.org on 2022/04/29 19:02:47 UTC
[superset] branch refactorReports updated (26dda6239b -> 61552f9b24)
This is an automated email from the ASF dual-hosted git repository.
aafghahi pushed a change to branch refactorReports
in repository https://gitbox.apache.org/repos/asf/superset.git
from 26dda6239b all but styling
add a05ff5e598 fix: alert/report created by filter inconsistency with table display (#19518)
add a2d34ec4b8 fix(import): Add the error alert on failed database import (#19673)
add 34323f9b5f fix(explore): make to show the null value as N/A in view result (#19603)
add 594523e895 feat(explore): Implement data panel redesign (#19751)
add 6f4480a06c feat(explore): Replace overlay with alert banner when chart controls change (#19696)
add 3663a33f14 fix(explore): Double divider if no permissions for adding reports (#19777)
add 4ba62cad95 chore(build): upgrade less-loader (#19703)
add 7e92340c70 fix: Fix migration for removing time_range_endpoints 3 (#19767)
add a6f46013d9 feat: 10/15/30 min grain to Pinot (#19724)
add e061955fd0 fix(dashboard): copy permalink to dashboard chart (#19772)
add 1c5d3b73df fix: dashboard top level tabs edit (#19722)
add 231716cb50 perf: refactor SIP-68 db migrations with INSERT SELECT FROM (#19421)
add dfba9ea596 fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)
add 5134c63ae2 fix: dashboard standalone class not added when parameter set (#16619)
add 22a92ed722 Remove broken link to gallery (#19784)
add f06db796b5 fix: small cleanup for created by me dashboards API (#19755)
add 3c28cd4625 feat: add renameOperator (#19776)
add 4f997cd9ac chore: fix grammar error (#19740)
add e3a54aa3c1 feat(explore): improve UI in the control panel (#19748)
add 9c20299039 fix(migrations): sl_columns is_temporal mapping (#19786)
add fcc8080ff3 fix(plugin-chart-table): Resetting controls when switching query mode (#19792)
add 5e468f7a4c fix(world-map): remove categorical color option (#19781)
add 7f22edfd06 fix: remove & reimplement the tests for AlertReportCronScheduler component (#19288)
add dfbaba97c6 fix(chart & explore): Show labels for `SliderControl` (#19765)
add 4513cc4758 fix: trap SQLAlchemy common exceptions & throw 422 error instead (#19672)
add c763baf09e add missing init files (#19797)
add 1b55778427 fix(sql_lab): Add custom timestamp type for literal casting for presto timestamps (#13082)
add 1dabebb015 chore: Update UPDATING.md (#19480)
add 108a2a4eaf fix: lost renameOperator in mixed timeseries chart (#19802)
add 3db4a1cb80 chore: bump postgres from 10 to 14 (#19790)
add 12bc30e2c7 Fix display of column config in table chart (#19806)
add fa680369ea fix(SIP-68): handle empty table name during migration (#19793)
add ad715429f9 chore: simplify error messaging in database modal (#19165)
add 3ccfa564d7 fix(dashboard): make to filter the correct certified or non-certified… (#19429)
add a1bd5b283c fix(key_value): use longblob on mysql (#19805)
add c5d6beab1d chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-websocket (#19551)
add 461286df11 chore(deps): bump async from 2.6.3 to 2.6.4 in /docs (#19727)
add e98199d43d chore(deps): bump @types/d3-time in /superset-frontend (#17978)
add 0cc2d71d1a chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /superset-frontend (#19020)
add 5a3031d35f chore(deps): bump async from 3.2.0 to 3.2.3 in /superset-websocket (#19680)
add 4dc19345d8 fix: Show full long number in text email report for table chart. (#19575)
add 3f0413b8cb fix: Cypress tests reliability improvements (#19800)
add 800ced5e25 fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448)
add f8f057d7be chore(deps): bump async in /superset-frontend/cypress-base (#19681)
add fbedfa3838 chore(deps): bump moment from 2.29.1 to 2.29.2 in /superset-frontend (#19637)
add 523bd8b79c chore(deps-dev): bump babel-loader in /superset-frontend (#19403)
add 69aeff911b chore(deps): bump react-hot-loader in /superset-frontend (#19830)
add 28742e5474 chore(deps-dev): bump babel-loader in /superset-frontend (#19829)
add ae384111c1 docs: updated links for country map scripts (#19823)
add 2dafff12ef fix(explore): ignore temporary controls in altered pill (#19843)
add e632b82395 feat: Adds plugin-chart-handlebars (#17903)
add 25e572a56e fix: count(distinct column_name) in metrics (#19842)
add c32c505742 chore(docs): Spelling (#19675)
add bebb10e495 chore(frontend-tests): Spelling (#19853)
add 7645eac31f fix: Regression on Data and Alerts & Reports Headers (#19850)
add 5877470aee chore(deps-dev): bump eslint-plugin-jsx-a11y in /superset-frontend (#19847)
add 528a9cd7c7 chore(deps): bump d3-svg-legend in /superset-frontend (#19846)
add dc0f09586f chore(deps): bump react-split from 2.0.9 to 2.0.14 in /superset-frontend (#19845)
add d65b77ec7d fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options (#19778)
add 1d043e53d0 fix(db & connection): make to show/hide the password when only creating db connection (#19694)
add 60e06c1692 feat: Update ShortKey for stop query running in SqlLab editor (#19692)
add e3dbe8d8af fix: Query execution time is displayed as invalid date (#19605)
add 768e4b7a54 fix: Update eslint error message to reflect location of antd components (#19857)
add ad878b07e4 fix: Dashboard report creation error handling (#19859)
add f9d28a1072 chore: add eslint custom plugin to prevent translation variables (#19828)
add 795da71751 chore(deps): bump react-syntax-highlighter in /superset-frontend (#19864)
add f5e9f0eb3b feat: add Advanced Analytics into mixed time series chart (#19851)
add 4a835a4299 fix(dashboard-css): make to load saved css template (#19840)
add 59ee029088 feature(filter): make to hide sort filter when time range (#19871)
add 3e3a4be6b5 Update setup.py (#19874)
add 481ccfe0a6 chore: Update aiohttp>=3.7.4 in requirements (#19872)
add e4fca89217 fix: Cannot re-order metrics by drag and drop (#19876)
add 3d2fec9604 chore: fix explore pills (#19866)
add ed1309e6bd fix: Dates alignment in Table viz (#19668)
add 0e68e42b7c Remove hacky font-sizes (#19616)
add 1d50665da0 Remove font-size hacky usage (#19613)
add d5ea537b0e fix(plugin-chart-handlebars): fix overflow, debounce and control reset (#19879)
add 11562971fb fix(plugin-chart-echarts): [feature parity] annotation line chart color not working (#19758)
add f198f9f007 fix(helm): fix postgresql values (#19835)
add ad1338fb47 test(native filter): refactor and add new test (#19821)
add ea6753d27d fix(allow-db-explore): make to check the allow virtual table explore option by default (#19883)
add 9328053521 chore(deps-dev): bump @storybook/client-api in /superset-frontend (#19878)
add c2999fdc22 fix: Chart download as image issue (#19885)
add 7cfd892bb9 fix: Set fixed maxWidth of the cron schedule modal (#19485)
add 36d45d9b98 fix: chart import error with virtual dataset (#19782)
add 61552f9b24 Merge branch 'master' into refactorReports
No new revisions were added by this update.
Summary of changes:
.github/workflows/superset-e2e.yml | 2 +-
.../workflows/superset-python-integrationtest.yml | 2 +-
.github/workflows/superset-python-presto-hive.yml | 4 +-
CODE_OF_CONDUCT.md | 2 +-
CONTRIBUTING.md | 8 +-
README.md | 2 +-
RELEASING/README.md | 6 +-
RELEASING/changelog.py | 2 +-
RELEASING/release-notes-0-38/README.md | 2 +-
RELEASING/release-notes-1-2/README.md | 2 +-
RELEASING/release-notes-1-4/README.md | 2 +-
UPDATING.md | 54 +-
docker-compose.yml | 4 +-
docs/docs/contributing/contributing-page.mdx | 4 +-
docs/docs/contributing/pull-request-guidelines.mdx | 2 +-
.../creating-your-first-dashboard.mdx | 4 +-
.../creating-charts-dashboards/exploring-data.mdx | 2 +-
docs/docs/databases/drill.mdx | 4 +-
docs/docs/databases/elasticsearch.mdx | 2 +-
docs/docs/installation/alerts-reports.mdx | 2 +-
docs/docs/installation/configuring-superset.mdx | 30 +-
.../installing-superset-using-docker-compose.mdx | 4 +-
docs/docs/installation/sql-templating.mdx | 6 +-
docs/docs/intro.mdx | 2 +-
docs/docs/miscellaneous/chart-params.mdx | 2 +-
docs/docs/miscellaneous/country-map-tools.mdx | 10 +-
docs/src/resources/data.js | 4 +-
.../img/databases/{sqllite.jpg => sqlite.jpg} | Bin
.../img/databases/{sqllite.png => sqlite.png} | Bin
docs/yarn.lock | 6 +-
helm/superset/Chart.yaml | 4 +-
helm/superset/values.schema.json | 100 +-
helm/superset/values.yaml | 67 +-
requirements/base.in | 1 +
requirements/base.txt | 10 +-
requirements/development.txt | 2 +-
setup.py | 2 +-
superset-frontend/.eslintrc.js | 12 +-
.../integration/chart_list/list_view.test.ts | 16 +-
.../integration/dashboard/dashboard.helper.ts | 146 +-
.../integration/dashboard/key_value.test.ts | 4 +-
.../integration/dashboard/nativeFilter.helper.ts | 413 ++
.../integration/dashboard/nativeFilters.test.ts | 905 ++--
.../cypress/integration/explore/control.test.ts | 10 +-
.../explore/visualizations/bubble.test.js | 4 +-
.../cypress/integration/sqllab/query.test.ts | 2 +-
.../cypress-base/cypress/support/directories.ts | 18 +
superset-frontend/cypress-base/package-lock.json | 12 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 4454 ++++++++++++++------
superset-frontend/package.json | 6 +-
.../templates/test/plugin/transformProps.test.erb | 4 +-
.../src/components/MetricOption.tsx | 36 +-
.../src/operators/flattenOperator.ts | 18 +-
.../src/operators/index.ts | 1 +
.../src/operators/renameOperator.ts | 89 +
.../src/operators/rollingWindowOperator.ts | 4 +-
.../src/operators/timeCompareOperator.ts | 4 +-
.../src/operators/timeComparePivotOperator.ts | 4 +-
.../src/operators/utils/index.ts | 2 +-
.../{isValidTimeCompare.ts => isTimeComparison.ts} | 2 +-
.../src/sections/advancedAnalytics.tsx | 32 +-
.../src/sections/chartTitle.tsx | 4 +-
.../ColumnConfigControl/ColumnConfigItem.tsx | 4 +-
.../components/RadioButtonControl.tsx | 5 +-
.../superset-ui-chart-controls/src/types.ts | 5 +-
.../test/utils/operators/flattenOperator.test.ts | 31 -
.../test/utils/operators/renameOperator.test.ts | 146 +
.../packages/superset-ui-core/package.json | 2 +-
.../superset-ui-core/src/number-format/README.md | 2 +-
.../src/query/types/PostProcessing.ts | 13 +
.../NumberFormatterRegistrySingleton.test.ts | 2 +-
.../test/query/api/v1/makeApi.test.ts | 2 +-
.../TimeFormatterRegistrySingleton.test.ts | 2 +-
.../test/translation/Translator.test.ts | 2 +-
.../legacy-plugin-chart-heatmap/package.json | 2 +-
.../src/controlPanel.tsx | 9 +-
.../legacy-plugin-chart-rose/src/controlPanel.tsx | 9 +-
.../legacy-plugin-chart-world-map/src/WorldMap.js | 24 +-
.../src/controlPanel.ts | 4 -
.../src/transformProps.js | 12 +-
.../legacy-preset-chart-deckgl/package.json | 1 +
.../src/layers/Geojson/Geojson.jsx | 38 +-
.../src/layers/Geojson/controlPanel.ts | 8 +-
.../legacy-preset-chart-nvd3/src/NVD3Controls.tsx | 7 +-
.../src/BigNumber/BigNumberTotal/controlPanel.ts | 2 +-
.../BigNumberWithTrendline/controlPanel.tsx | 5 +-
.../src/Funnel/controlPanel.tsx | 2 +-
.../src/Gauge/controlPanel.tsx | 8 +-
.../src/Graph/controlPanel.tsx | 2 +-
.../src/MixedTimeseries/buildQuery.ts | 110 +-
.../src/MixedTimeseries/controlPanel.tsx | 30 +-
.../src/MixedTimeseries/transformProps.ts | 2 +
.../plugin-chart-echarts/src/Pie/controlPanel.tsx | 4 +-
.../src/Radar/controlPanel.tsx | 4 +-
.../src/Timeseries/Area/controlPanel.tsx | 4 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 4 +-
.../Timeseries/Regular/Scatter/controlPanel.tsx | 4 +-
.../src/Timeseries/Regular/controlPanel.tsx | 4 +-
.../src/Timeseries/Step/controlPanel.tsx | 4 +-
.../src/Timeseries/buildQuery.ts | 12 +-
.../src/Timeseries/controlPanel.tsx | 4 +-
.../src/Timeseries/transformProps.ts | 2 +
.../src/Timeseries/transformers.ts | 5 +-
.../plugin-chart-echarts/src/Tree/controlPanel.tsx | 2 +-
.../src/Treemap/controlPanel.tsx | 2 +-
.../plugins/plugin-chart-echarts/src/controls.tsx | 4 +-
.../src/utils/formDataSuffix.ts | 74 +
.../test/BoxPlot/transformProps.test.ts | 4 +-
.../test/Funnel/transformProps.test.ts | 4 +-
.../test/Graph/transformProps.test.ts | 6 +-
.../test/MixedTimeseries/buildQuery.test.ts | 277 ++
.../test/Pie/transformProps.test.ts | 4 +-
.../test/Timeseries/transformProps.test.ts | 2 +-
.../test/Tree/transformProps.test.ts | 6 +-
.../test/Treemap/transformProps.test.ts | 4 +-
.../test/utils/formDataSuffix.test.ts | 57 +
.../plugin-chart-echarts/test/utils/series.test.ts | 2 +-
.../plugins/plugin-chart-handlebars/README.md | 74 +
.../package.json | 53 +-
.../plugin-chart-handlebars/src/Handlebars.tsx | 49 +
.../src/components/CodeEditor/CodeEditor.tsx | 80 +
.../components/ControlHeader/controlHeader.tsx} | 21 +-
.../src/components/Handlebars/HandlebarsViewer.tsx | 75 +
.../plugin-chart-handlebars/src/consts.ts} | 39 +-
.../plugins/plugin-chart-handlebars/src/i18n.ts | 65 +
.../src/images/thumbnail.png | Bin 0 -> 398917 bytes
.../plugin-chart-handlebars/src/index.ts} | 25 +-
.../src/plugin/buildQuery.ts} | 22 +-
.../src/plugin/controlPanel.tsx | 83 +
.../src/plugin/controls/columns.tsx | 87 +
.../src/plugin/controls/groupBy.tsx | 45 +
.../src/plugin/controls/handlebarTemplate.tsx | 75 +
.../src/plugin/controls/includeTime.ts} | 28 +-
.../src/plugin/controls/limits.ts} | 34 +-
.../src/plugin/controls/metrics.tsx | 106 +
.../src/plugin/controls/orderBy.tsx | 49 +
.../src/plugin/controls/pagination.tsx | 57 +
.../src/plugin/controls/queryMode.tsx} | 57 +-
.../src/plugin/controls/shared.ts | 61 +
.../src/plugin/controls/style.tsx | 74 +
.../plugin-chart-handlebars/src/plugin/index.ts | 51 +
.../src/plugin/transformProps.ts} | 23 +-
.../plugins/plugin-chart-handlebars/src/types.ts | 65 +
.../plugin-chart-handlebars/test/index.test.ts} | 30 +-
.../test/plugin/buildQuery.test.ts} | 30 +-
.../test/plugin/transformProps.test.ts} | 39 +-
.../tsconfig.json | 0
.../plugin-chart-handlebars/types/external.d.ts} | 10 +-
.../plugins/plugin-chart-table/src/Styles.tsx | 4 +
.../plugin-chart-table/src/controlPanel.tsx | 10 +
.../plugin-chart-table/test/TableChart.test.tsx | 4 +-
.../test/legacyPlugin/transformProps.test.ts | 4 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 1 +
.../src/SqlLab/components/QueryTable/index.tsx | 2 +
.../components/RunQueryActionButton/index.tsx | 15 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 2 +-
.../src/SqlLab/utils/newQueryTabName.ts | 2 +-
.../src/assets/stylesheets/less/fonts.less | 8 +-
.../src/assets/stylesheets/less/variables.less | 1 +
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 11 +
.../src/components/AlteredSliceTag/index.jsx | 23 +-
.../src/components/CachedLabel/index.tsx | 2 +-
superset-frontend/src/components/Chart/Chart.jsx | 64 +-
.../src/components/Chart/ChartRenderer.jsx | 28 +-
.../src/components/Chart/ChartRenderer.test.jsx | 19 +-
.../Datasource/DatasourceEditor.test.jsx | 10 +-
.../components/FilterableTable/FilterableTable.tsx | 2 +-
.../Form/LabeledErrorBoundInput.test.jsx | 2 +-
.../src/components/Form/LabeledErrorBoundInput.tsx | 28 +-
.../src/components/ImportModal/ErrorAlert.tsx | 63 +
.../src/components/ImportModal/index.tsx | 9 +-
.../ImportModal/styles.ts} | 40 +-
.../src/components/Label/Label.stories.tsx | 3 +-
superset-frontend/src/components/Label/index.tsx | 22 +-
.../src/components/ReportModal/index.tsx | 4 +-
.../src/components/ReportModal/styles.tsx | 1 +
.../src/components/URLShortLinkButton/index.jsx | 8 +-
.../CrossFilterScopingForm.test.tsx | 2 +-
.../DashboardBuilder/DashboardBuilder.tsx | 30 +-
.../DashboardBuilder/DashboardContainer.tsx | 23 +-
.../HeaderActionsDropdown.test.tsx | 28 +
.../Header/HeaderActionsDropdown/index.jsx | 11 +-
.../components/SliceHeaderControls/index.tsx | 8 +-
.../components/filterscope/FilterScope.test.tsx | 4 +-
.../dashboard/components/gridComponents/Tabs.jsx | 38 +-
.../components/menu/ShareMenuItems/index.tsx | 28 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 438 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 6 +-
.../util/getDetailedComponentWidth.test.js | 6 +-
.../src/explore/components/Control.tsx | 7 +-
.../src/explore/components/ControlHeader.tsx | 12 +-
.../src/explore/components/ControlPanelAlert.tsx | 98 -
.../explore/components/ControlPanelsContainer.tsx | 25 +-
.../components/DataTableControl/RowCount.test.tsx | 9 +-
.../explore/components/DataTableControl/index.tsx | 57 +-
.../DataTablesPane/DataTablesPane.test.tsx | 220 +-
.../explore/components/DataTablesPane/index.tsx | 323 +-
.../ExploreAdditionalActionsMenu/index.jsx | 5 +-
.../src/explore/components/ExploreAlert.tsx | 127 +
.../src/explore/components/ExploreChartPanel.jsx | 310 +-
.../explore/components/ExploreChartPanel.test.jsx | 75 +-
.../ExploreViewContainer.test.tsx | 5 +-
.../components/ExploreViewContainer/index.jsx | 69 +-
.../RowCountLabel/RowCountLabel.stories.tsx | 13 +-
.../RowCountLabel/RowCountLabel.test.jsx | 50 -
.../RowCountLabel/RowCountLabel.test.tsx | 65 +
.../src/explore/components/RowCountLabel/index.tsx | 28 +-
.../components/controls/CheckboxControl.jsx | 25 +-
.../DndMetricSelect.test.tsx | 37 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 6 +-
.../controls/MetricControl/AdhocMetric.js | 21 +-
.../controls/MetricControl/AdhocMetric.test.js | 36 +
.../MetricControl/AdhocMetricEditPopover/index.jsx | 5 +-
.../components/controls/OptionControls/index.tsx | 8 +-
.../explore/components/controls/SliderControl.tsx | 41 +-
.../controls/withAsyncVerification.test.tsx | 2 +-
.../src/explore/controlPanels/sections.tsx | 8 +-
.../controlUtils/getFormDataFromControls.ts | 7 +-
superset-frontend/src/explore/main.less | 13 +-
.../utils/getChartRequiredFieldsMissingMessage.ts} | 14 +-
superset-frontend/src/utils/urlUtils.ts | 14 +-
.../src/views/CRUD/alert/AlertList.tsx | 30 +-
.../components/AlertReportCronScheduler.test.tsx | 164 +-
.../alert/components/AlertReportCronScheduler.tsx | 48 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 3 +-
.../src/views/CRUD/chart/ChartList.test.jsx | 4 +-
.../DatabaseConnectionForm/TableCatalog.tsx | 1 -
.../CRUD/data/database/DatabaseModal/index.tsx | 85 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 44 +-
.../views/CRUD/data/dataset/DatasetList.test.jsx | 2 +-
superset-frontend/src/views/CRUD/hooks.ts | 1 +
superset-frontend/src/views/CRUD/utils.test.tsx | 2 +-
superset-frontend/src/views/components/SubMenu.tsx | 15 +-
.../src/visualizations/presets/MainPreset.js | 2 +
.../tools/eslint-plugin-theme-colors/package.json | 6 +-
.../tools/eslint-plugin-translation-vars/index.js | 56 +
.../no-template-vars.test.js | 68 +
.../package.json | 7 +-
superset-frontend/webpack.config.js | 4 +-
superset-websocket/package-lock.json | 24 +-
superset/charts/commands/importers/v1/__init__.py | 4 +-
superset/charts/post_processing.py | 2 +-
superset/charts/schemas.py | 27 +-
superset/columns/models.py | 72 +-
superset/commands/importers/v1/examples.py | 2 +-
superset/connectors/base/models.py | 6 +-
superset/connectors/sqla/models.py | 731 ++--
superset/connectors/sqla/utils.py | 123 +-
superset/constants.py | 1 -
superset/dashboards/api.py | 1 -
superset/dashboards/filters.py | 4 +-
superset/datasets/models.py | 80 +-
superset/db_engine_specs/gsheets.py | 6 +-
superset/db_engine_specs/pinot.py | 8 +
superset/db_engine_specs/presto.py | 16 +-
.../__init__.py | 0
.../commands}/__init__.py | 0
superset/examples/birth_names.py | 17 +-
superset/migrations/shared/utils.py | 115 +-
.../versions/6766938c6065_add_key_value_store.py | 2 +-
...6e99fb176a0_add_import_mixing_to_saved_query.py | 8 +-
superset/migrations/versions/9d8a8d575284_.py | 2 +-
.../a9422eeaae74_new_dataset_models_take_2.py | 902 ++++
...7e4fdbaba_rm_time_range_endpoints_from_qc_3.py} | 34 +-
...b56500de1855_add_uuid_column_to_import_mixin.py | 51 +-
.../versions/b8d3a24d9131_new_dataset_models.py | 616 +--
.../c501b7c653a3_add_missing_uuid_column.py | 6 +-
.../cecc6bf46990_rm_time_range_endpoints_2.py | 41 +-
...ed7ec95_migrate_native_filters_to_new_schema.py | 2 +-
superset/models/core.py | 8 +-
superset/models/helpers.py | 15 +-
superset/models/sql_types/presto_sql_types.py | 38 +-
superset/queries/api.py | 3 +-
superset/queries/schemas.py | 42 +
superset/reports/api.py | 2 +
superset/sql_lab.py | 2 +-
superset/sql_parse.py | 83 +-
superset/tables/models.py | 136 +-
superset/translations/de/LC_MESSAGES/messages.json | 1 +
superset/translations/en/LC_MESSAGES/messages.json | 1 +
superset/translations/es/LC_MESSAGES/messages.json | 1 +
superset/translations/fr/LC_MESSAGES/messages.json | 1 +
superset/translations/it/LC_MESSAGES/messages.json | 1 +
superset/translations/ja/LC_MESSAGES/messages.json | 1 +
superset/translations/ko/LC_MESSAGES/messages.json | 1 +
superset/translations/nl/LC_MESSAGES/messages.json | 1 +
superset/translations/pt/LC_MESSAGES/message.json | 1 +
.../translations/pt_BR/LC_MESSAGES/messages.json | 1 +
superset/translations/ru/LC_MESSAGES/messages.json | 1 +
superset/translations/sk/LC_MESSAGES/messages.json | 1 +
superset/translations/sl/LC_MESSAGES/messages.json | 1 +
superset/translations/zh/LC_MESSAGES/messages.json | 1 +
superset/utils/csv.py | 5 +
superset/utils/pandas_postprocessing/__init__.py | 2 +
superset/utils/pandas_postprocessing/flatten.py | 18 +-
superset/utils/pandas_postprocessing/pivot.py | 2 +-
superset/utils/pandas_postprocessing/rename.py | 58 +
superset/views/base.py | 5 +-
superset/views/base_api.py | 9 +
superset/views/core.py | 5 +-
tests/integration_tests/commands_test.py | 20 +-
.../db_engine_specs/pinot_tests.py | 13 +
.../fixtures/world_bank_dashboard.py | 3 +-
...aba_rm_time_range_endpoints_from_qc_3__test.py} | 9 +-
tests/integration_tests/sqla_models_tests.py | 5 +-
tests/integration_tests/utils_tests.py | 1 -
tests/unit_tests/conftest.py | 34 +-
tests/unit_tests/datasets/conftest.py | 118 +
tests/unit_tests/datasets/test_models.py | 1018 ++---
tests/unit_tests/db_engine_specs/test_gsheets.py | 18 +-
tests/unit_tests/migrations/shared/__init__.py | 16 -
tests/unit_tests/migrations/shared/utils_test.py | 56 -
.../pandas_postprocessing/test_rename.py | 175 +
tests/unit_tests/sql_parse_tests.py | 49 +
.../{migrations/__init__.py => utils/db.py} | 14 +
316 files changed, 11376 insertions(+), 5877 deletions(-)
rename docs/static/img/databases/{sqllite.jpg => sqlite.jpg} (100%)
rename docs/static/img/databases/{sqllite.png => sqlite.png} (100%)
create mode 100644 superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilter.helper.ts
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/src/operators/renameOperator.ts
rename superset-frontend/packages/superset-ui-chart-controls/src/operators/utils/{isValidTimeCompare.ts => isTimeComparison.ts} (94%)
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/utils/operators/renameOperator.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/utils/formDataSuffix.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/MixedTimeseries/buildQuery.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/utils/formDataSuffix.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/README.md
copy superset-frontend/plugins/{legacy-plugin-chart-heatmap => plugin-chart-handlebars}/package.json (56%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/Handlebars.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/components/CodeEditor/CodeEditor.tsx
copy superset-frontend/{packages/superset-ui-chart-controls/src/operators/utils/index.ts => plugins/plugin-chart-handlebars/src/components/ControlHeader/controlHeader.tsx} (66%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/components/Handlebars/HandlebarsViewer.tsx
copy superset-frontend/{src/explore/controlUtils/getFormDataFromControls.ts => plugins/plugin-chart-handlebars/src/consts.ts} (62%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/i18n.ts
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/images/thumbnail.png
copy superset-frontend/{src/explore/controlUtils/getFormDataFromControls.ts => plugins/plugin-chart-handlebars/src/index.ts} (63%)
copy superset-frontend/{src/explore/components/DataTableControl/RowCount.test.tsx => plugins/plugin-chart-handlebars/src/plugin/buildQuery.ts} (64%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controlPanel.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/columns.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/groupBy.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/handlebarTemplate.tsx
copy superset-frontend/{src/explore/components/DataTableControl/RowCount.test.tsx => plugins/plugin-chart-handlebars/src/plugin/controls/includeTime.ts} (62%)
copy superset-frontend/{src/explore/components/controls/SliderControl.tsx => plugins/plugin-chart-handlebars/src/plugin/controls/limits.ts} (61%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/metrics.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/orderBy.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/pagination.tsx
copy superset-frontend/{src/explore/components/RowCountLabel/RowCountLabel.stories.tsx => plugins/plugin-chart-handlebars/src/plugin/controls/queryMode.tsx} (53%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/shared.ts
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/controls/style.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/plugin/index.ts
copy superset-frontend/plugins/{legacy-plugin-chart-world-map/src/transformProps.js => plugin-chart-handlebars/src/plugin/transformProps.ts} (67%)
create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/src/types.ts
copy superset-frontend/{src/explore/components/ExploreChartPanel.test.jsx => plugins/plugin-chart-handlebars/test/index.test.ts} (60%)
copy superset-frontend/{src/explore/components/ExploreChartPanel.test.jsx => plugins/plugin-chart-handlebars/test/plugin/buildQuery.test.ts} (60%)
copy superset-frontend/{packages/generator-superset/generators/plugin-chart/templates/test/plugin/transformProps.test.erb => plugins/plugin-chart-handlebars/test/plugin/transformProps.test.ts} (59%)
copy superset-frontend/plugins/{legacy-plugin-chart-calendar => plugin-chart-handlebars}/tsconfig.json (100%)
copy superset-frontend/{packages/superset-ui-chart-controls/src/operators/utils/index.ts => plugins/plugin-chart-handlebars/types/external.d.ts} (73%)
create mode 100644 superset-frontend/src/components/ImportModal/ErrorAlert.tsx
copy superset-frontend/src/{explore/components/ExploreChartPanel.test.jsx => components/ImportModal/styles.ts} (55%)
delete mode 100644 superset-frontend/src/explore/components/ControlPanelAlert.tsx
create mode 100644 superset-frontend/src/explore/components/ExploreAlert.tsx
delete mode 100644 superset-frontend/src/explore/components/RowCountLabel/RowCountLabel.test.jsx
create mode 100644 superset-frontend/src/explore/components/RowCountLabel/RowCountLabel.test.tsx
copy superset-frontend/{packages/superset-ui-chart-controls/src/operators/utils/index.ts => src/utils/getChartRequiredFieldsMissingMessage.ts} (67%)
create mode 100644 superset-frontend/tools/eslint-plugin-translation-vars/index.js
create mode 100644 superset-frontend/tools/eslint-plugin-translation-vars/no-template-vars.test.js
copy superset-frontend/tools/{eslint-plugin-theme-colors => eslint-plugin-translation-vars}/package.json (64%)
copy superset/{annotation_layers => embedded_dashboard}/__init__.py (100%)
copy superset/{annotation_layers => embedded_dashboard/commands}/__init__.py (100%)
create mode 100644 superset/migrations/versions/a9422eeaae74_new_dataset_models_take_2.py
copy superset/migrations/versions/{cecc6bf46990_rm_time_range_endpoints_2.py => ad07e4fdbaba_rm_time_range_endpoints_from_qc_3.py} (66%)
create mode 100644 superset/utils/pandas_postprocessing/rename.py
rename tests/integration_tests/migrations/{cecc6bf46990_rm_time_range_endpoints_2__tests.py => ad07e4fdbaba_rm_time_range_endpoints_from_qc_3__test.py} (93%)
create mode 100644 tests/unit_tests/datasets/conftest.py
delete mode 100644 tests/unit_tests/migrations/shared/__init__.py
delete mode 100644 tests/unit_tests/migrations/shared/utils_test.py
create mode 100644 tests/unit_tests/pandas_postprocessing/test_rename.py
rename tests/unit_tests/{migrations/__init__.py => utils/db.py} (69%)