This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch data-ia-navbar-2
in repository https://gitbox.apache.org/repos/asf/superset.git
from 22972cf5eb Update __init__.py
add 74e40c2de1 removing bottom margin on CronPicker (#21140)
add 93557e3a1a removing unnecessary margin for 50% fields (#21167)
add 994e1f6bdc chore: bump clickhouse-sqlalchemy 0.2.2 (#21195)
add 17ad0d80de chore: Add new e2e tests for Explore (#21184)
add 5811262cf2 Add warnings if feature flags are read before
initialization. (#21201)
add 1143e17742 fix: Typing of labelMap (#21181)
add 859b6d2d20 feat: Adds drill to detail context menu to Pivot Table
(#21198)
add 982210ad83 Fix formatting in README.md (#21205)
add 68fa4d2665 feat: Adds drill to detail context menu to Table (#21168)
add 0726840fb7 fix(explore): Prevent unnecessary series limit subquery
(#21154)
add d41f44fcdf fix: World Map right-click value (#21209)
add 4e23d62d4f fix(sqllab): missing zero values while copy-to-clipboard
(#21153)
add f09c4327f8 Splitting into two separate chromatic jobs to reduce
conditional logic causing run issues (#21219)
add 16032ed3e2 feat: Virtual dataset duplication (#20309)
add 25cc7897b1 feat: Environment tag (#20295)
add 653c9f0e7f fix: Update exception for DatasourceNotFound from
`DatasourceDao.get_datasource()` (#21217)
add 092460a1f1 Removes if statement causing comment not to run (#21222)
add e2ab966910 Update chromatic PR action to have access to Job outputs
(#21224)
add c61a507e14 fix: add back custom sql filtering with Query as source
(#21190)
add d408393ba9 fixed guest role permissions (#21208)
add 5f76ac9001 fix: Fixes error caused by step id placed in wrong location
(#21226)
add ccb293a083 fix(Trino): create `PrestoBaseEngineSpec` base class to
share common code between Trino and Presto (#21066)
add f017f98b88 chore: E2E tests for the Drill to detail modal (#21187)
add 77f54585de chore: Keeps context menu in viewport (#21212)
add 1d3a805a61 chore: Drill to detail Modal tests (#21148)
add 710a8ce5c0 chore: Minor Applitools enhancements (#21239)
add 8772e2cdb3 fix: improve get_db_engine_spec_for_backend (#21171)
add 0c43190e04 fix(database-list): hidden upload file button if no
permission (#21216)
add b354f2265a fix(dev-server run): Check for environment tag not being
undefined (#21232)
add 04dd8d414d fix(celery cache warmup): add auth and use warm_up_cache
endpoint (#21076)
add f2d67f75d0 Revert "ok (#21116)" (#21247)
add 05bdaf2376 feat(helm): Added env variable SERVER_WORKER_AMOUNT (#21236)
add ad6b98c2b7 fix(sqllab): update persistent queryEditor keys (#21246)
add 1aa1864d13 chore: missing IconType on Icons (#21218)
add 05354a96bf feat: filter with created_by for charts and dashboards
(#21199)
add 944808a0ce fix: Add french translation missing (#20061)
add 034ee1c3c1 fix(sqllab): unable to create new tabs (#21260)
add 6223042050 fix: SQLAlchemy coercing subquery warning on RLS (#21257)
add 0c87ff783a fix: Table content disappears when switching between tabs
(#21251)
add 3f2e894af3 fix: dataset name change and permission change (#21161)
add 9c4ae2ab7e fix: bump min version of elastic search (#21274)
add a7fe4850ed fix: dataset exists error in save Dataset modal (#21244)
add 4b221378cc fix: Revert "#20095 - fix(database): make to display
validation error msg when all … (#21277)
add 5233a9027f chore(sqllab): Remove max-width on side panel (#21280)
add 6d65f806d8 chore: updating thrift (#20776)
add 994f327157 chore: Renaming Line Chart to Line Chart v2 (#21278)
add 9fd752057e feat: adds TLS certificate validation option for SMTP
(#21272)
add ad34f9d740 chore: update release docs (#21270)
add eb805682e2 feat(embedded): provides filter bar visibility setting on
embedded dashboard (#21069) (#21070)
add 076af6003a fix(explore): Incorrect conversion from simple bool filter
to custom sql (#21293)
add c4b6fc5a6a chore: migrate available_domains to api/v1 (#21173)
add 742dbdd0a5 fix: Fix console errors about feature flags when running
tests (#21275)
add c3a00d43d0 fix(explore): Time column label not formatted when
GENERIC_X_AXES enabled (#21294)
add 1aeb8fd6b7 fix(plugin-chart-echarts): show zero value in tooltip
(#21296)
add 65a11b6f45 refactor: introduce react-query on api resource hook
(#21240)
add 222f1e7ea8 fix(sqllab): invalid table metadata request (#21304)
add 2aa3bb6c00 fix(utils): use getaddrinfo for hostname check to support
ipv6 (#21042)
add 38782bb98a fix(utils): use getaddrinfo response to support dual-stack
port checks (#21043)
add 2d70ef670e feat(sqllab): Make LeftBar width resizable (#21300)
add f71ee2e7bc fix: flaky test when sync metadata (#21306)
add 60db0bb47e chore: Bump pandas to 1.4.4 (#21285)
add fbe980779e feat: Adds a helper text option to the Select component
(#21269)
add 99a4f05069 fix: DB connection modal connect bug (#21299)
add e5fb129583 Merge branch 'master' of https://github.com/apache/superset
into data-ia-navbar-2
No new revisions were added by this update.
Summary of changes:
.github/workflows/chromatic-master.yml | 55 +
.../workflows/{chromatic.yml => chromatic-pr.yml} | 60 +-
README.md | 4 +-
RELEASING/README.md | 12 +-
docker/pythonpath_dev/superset_config.py | 10 +
docs/docs/databases/clickhouse.mdx | 8 +-
.../docs/databases/installing-database-drivers.mdx | 2 +-
docs/docs/databases/trino.mdx | 18 +-
docs/docs/installation/alerts-reports.mdx | 1 +
docs/static/resources/openapi.json | 1277 ++++++++++++++++----
helm/superset/Chart.yaml | 2 +-
helm/superset/values.yaml | 14 +-
requirements/base.txt | 2 +-
requirements/development.txt | 2 +-
setup.py | 10 +-
superset-embedded-sdk/README.md | 7 +-
superset-embedded-sdk/src/const.ts | 4 +
superset-embedded-sdk/src/index.ts | 21 +-
.../cypress-base/applitools.config.js | 3 +-
.../chart_list/chartlist.applitools.test.ts | 4 +-
.../integration/dashboard/dashboard.helper.ts | 13 +-
.../integration/dashboard/drilltodetail.test.ts | 271 +++++
.../integration/dashboard/edit_properties.test.ts | 2 +-
.../dashboardlist.applitools.test.ts | 4 +-
.../dataset_list.test.ts} | 30 +-
.../cypress/integration/explore/control.test.ts | 36 +-
.../cypress/integration/sqllab/query.test.ts | 58 +-
superset-frontend/package-lock.json | 96 ++
superset-frontend/package.json | 1 +
.../superset-ui-core/src/query/types/Query.ts | 4 +-
.../src/query/types/QueryResponse.ts | 2 +-
.../superset-ui-core/src/utils/featureFlags.ts | 10 +-
.../test/utils/featureFlag.test.ts | 48 +-
.../legacy-plugin-chart-world-map/src/WorldMap.js | 7 +-
.../src/BigNumber/BigNumberViz.tsx | 16 +-
.../BigNumberWithTrendline/transformProps.ts | 1 +
.../src/BoxPlot/transformProps.ts | 28 +-
.../src/Funnel/transformProps.ts | 26 +-
.../src/Gauge/transformProps.ts | 5 +-
.../src/Graph/EchartsGraph.tsx | 2 +-
.../plugin-chart-echarts/src/Graph/types.ts | 4 +-
.../src/MixedTimeseries/EchartsMixedTimeseries.tsx | 2 +-
.../src/MixedTimeseries/transformProps.ts | 2 +-
.../src/MixedTimeseries/types.ts | 3 +-
.../plugin-chart-echarts/src/Pie/transformProps.ts | 28 +-
.../src/Radar/transformProps.ts | 5 +-
.../src/Timeseries/EchartsTimeseries.tsx | 2 +-
.../src/Timeseries/Regular/Line/index.ts | 2 +-
.../src/Treemap/EchartsTreemap.tsx | 6 +-
.../src/Treemap/transformProps.ts | 3 +-
.../plugins/plugin-chart-echarts/src/types.ts | 7 +-
.../src/utils/eventHandlers.ts | 6 +-
.../plugin-chart-echarts/src/utils/forecast.ts | 5 +-
.../test/utils/forecast.test.ts | 223 ++--
.../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 +
.../plugin-chart-table/src/DataTable/DataTable.tsx | 18 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 21 +
.../plugin-chart-table/src/transformProps.ts | 7 +-
.../plugins/plugin-chart-table/src/types.ts | 6 +
.../spec/fixtures/mockChartQueries.js | 1 +
superset-frontend/spec/fixtures/mockState.js | 5 +
superset-frontend/spec/helpers/shim.ts | 1 +
superset-frontend/spec/helpers/testing-library.tsx | 7 +
superset-frontend/src/SqlLab/App.jsx | 15 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 10 +-
.../src/SqlLab/actions/sqlLab.test.js | 74 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 5 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 9 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 54 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx | 124 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 14 +-
.../TabbedSqlEditors/TabbedSqlEditors.test.jsx | 9 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 4 +-
.../src/SqlLab/components/TableElement/index.tsx | 1 +
superset-frontend/src/SqlLab/constants.ts | 1 +
superset-frontend/src/SqlLab/main.less | 5 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 20 +-
.../src/SqlLab/reducers/sqlLab.test.js | 22 +
.../src/SqlLab/utils/newQueryTabName.ts | 2 +-
.../SqlLab/utils/reduxStateToLocalStorageHelper.js | 2 +-
.../src/components/Chart/ChartContextMenu.tsx | 37 +-
.../src/components/Chart/DrillDetailModal.test.tsx | 110 ++
.../src/components/CronPicker/CronPicker.tsx | 3 +
.../components/Datasource/DatasourceModal.test.jsx | 9 +-
.../components/ErrorMessage/ErrorAlert.test.tsx | 6 -
.../src/components/ErrorMessage/ErrorAlert.tsx | 19 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 3 -
.../src/components/FilterableTable/index.tsx | 2 +
superset-frontend/src/components/Icons/index.tsx | 2 +-
superset-frontend/src/components/ListView/types.ts | 2 +
.../src/components/ResizableSidebar/index.tsx | 82 ++
.../useStoredSidebarWidth.test.ts} | 41 +-
.../ResizableSidebar/useStoredSidebarWidth.ts} | 28 +-
.../src/components/Select/AsyncSelect.test.tsx | 74 +-
.../src/components/Select/AsyncSelect.tsx | 30 +-
.../src/components/Select/Select.test.tsx | 14 +
superset-frontend/src/components/Select/Select.tsx | 28 +-
.../src/components/TableSelector/index.tsx | 132 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 12 +-
.../DashboardBuilder/DashboardBuilder.tsx | 88 +-
.../DrillDetailPane/DrillDetailPane.test.tsx | 124 ++
.../DrillDetailPane/TableControls.test.tsx | 109 ++
.../components/DrillDetailPane/TableControls.tsx | 3 +-
.../SliceHeaderControls.test.tsx | 20 +
.../src/explore/components/RowCountLabel/index.tsx | 12 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 3 -
.../getControlValuesCompatibleWithDatasource.ts | 2 +
superset-frontend/src/featureFlags.ts | 10 +-
superset-frontend/src/hooks/apiResources/index.ts | 1 +
.../src/hooks/apiResources/tables.test.ts | 221 ++++
superset-frontend/src/hooks/apiResources/tables.ts | 97 ++
superset-frontend/src/utils/common.js | 6 +-
superset-frontend/src/utils/common.test.jsx | 19 +-
superset-frontend/src/utils/localStorageHelpers.ts | 2 +
superset-frontend/src/views/App.tsx | 43 +-
.../views/CRUD/data/database/DatabaseList.test.jsx | 28 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 11 +-
.../data/database/DatabaseModal/index.test.jsx | 3 +
.../CRUD/data/database/DatabaseModal/index.tsx | 44 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 4 +-
.../views/CRUD/data/dataset/DatasetList.test.jsx | 44 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 70 +-
.../CRUD/data/dataset/DuplicateDatasetModal.tsx | 80 ++
.../Item.tsx => views/QueryProvider.tsx} | 43 +-
.../src/views/components/Menu.test.tsx | 13 +
superset-frontend/src/views/components/Menu.tsx | 13 +-
.../src/views/components/RightMenu.tsx | 23 +
superset-frontend/src/views/components/types.ts | 4 +
.../__init__.py | 0
superset/available_domains/api.py | 75 ++
.../available_domains/schemas.py | 11 +-
superset/charts/api.py | 2 +
superset/charts/filters.py | 16 +
superset/cli/examples.py | 3 +
superset/config.py | 22 +-
superset/connectors/sqla/models.py | 11 +-
superset/dao/exceptions.py | 1 +
superset/dashboards/api.py | 3 +-
superset/dashboards/filters.py | 17 +-
superset/databases/api.py | 4 +-
superset/databases/commands/update.py | 34 +
superset/databases/commands/validate.py | 27 +-
superset/databases/schemas.py | 43 +-
superset/datasets/api.py | 82 +-
superset/datasets/commands/create.py | 11 +-
superset/datasets/commands/delete.py | 24 -
superset/datasets/commands/duplicate.py | 133 ++
superset/datasets/commands/exceptions.py | 4 +
superset/datasets/schemas.py | 5 +
superset/db_engine_specs/__init__.py | 48 +-
superset/db_engine_specs/base.py | 62 +-
superset/db_engine_specs/databricks.py | 19 +-
superset/db_engine_specs/hive.py | 5 -
superset/db_engine_specs/presto.py | 308 ++---
superset/db_engine_specs/shillelagh.py | 6 +-
superset/db_engine_specs/trino.py | 75 +-
superset/examples/data_loading.py | 1 +
superset/examples/echarts_dashboard.py | 250 ++++
superset/explore/commands/get.py | 4 +-
superset/initialization/__init__.py | 2 +
superset/models/core.py | 21 +-
superset/models/helpers.py | 35 +-
superset/models/sql_lab.py | 4 +
superset/security/manager.py | 644 +++++++---
superset/tasks/cache.py | 98 +-
superset/templates/superset/basic.html | 1 -
superset/translations/fr/LC_MESSAGES/messages.json | 193 ++-
superset/translations/fr/LC_MESSAGES/messages.po | 356 +++++-
superset/translations/messages.pot | 10 +
superset/utils/core.py | 34 +-
superset/utils/network.py | 25 +-
.../utils/pandas_postprocessing/contribution.py | 3 -
superset/views/base.py | 14 +
superset/views/core.py | 5 +
.../available_domains}/__init__.py | 0
.../client.py => available_domains/api_tests.py} | 16 +-
tests/integration_tests/charts/api_tests.py | 28 +
tests/integration_tests/dashboards/api_tests.py | 36 +
tests/integration_tests/databases/api_tests.py | 2 +-
tests/integration_tests/datasets/api_tests.py | 102 +-
.../db_engine_specs/base_engine_spec_tests.py | 4 +-
.../db_engine_specs/postgres_tests.py | 8 +-
.../db_engine_specs/trino_tests.py | 24 +-
tests/integration_tests/email_tests.py | 29 +-
tests/integration_tests/model_tests.py | 4 +-
tests/integration_tests/security_tests.py | 931 +++++++++++---
tests/integration_tests/sqla_models_tests.py | 7 +-
tests/integration_tests/strategy_tests.py | 141 +--
tests/integration_tests/superset_test_config.py | 3 +
tests/unit_tests/conftest.py | 3 +
.../databases/schema_tests.py | 114 +-
tests/unit_tests/db_engine_specs/test_presto.py | 6 +-
tests/unit_tests/models/core_test.py | 77 +-
197 files changed, 7012 insertions(+), 2024 deletions(-)
create mode 100644 .github/workflows/chromatic-master.yml
rename .github/workflows/{chromatic.yml => chromatic-pr.yml} (55%)
create mode 100644
superset-frontend/cypress-base/cypress/integration/dashboard/drilltodetail.test.ts
copy
superset-frontend/cypress-base/cypress/integration/{explore/filter_box.test.js
=> dataset/dataset_list.test.ts} (54%)
create mode 100644
superset-frontend/src/components/Chart/DrillDetailModal.test.tsx
create mode 100644 superset-frontend/src/components/ResizableSidebar/index.tsx
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.test.ts
=> components/ResizableSidebar/useStoredSidebarWidth.test.ts} (68%)
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.ts
=> components/ResizableSidebar/useStoredSidebarWidth.ts} (62%)
create mode 100644
superset-frontend/src/dashboard/components/DrillDetailPane/DrillDetailPane.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx
create mode 100644 superset-frontend/src/hooks/apiResources/tables.test.ts
create mode 100644 superset-frontend/src/hooks/apiResources/tables.ts
create mode 100644
superset-frontend/src/views/CRUD/data/dataset/DuplicateDatasetModal.tsx
copy superset-frontend/src/{components/Pagination/Item.tsx =>
views/QueryProvider.tsx} (62%)
copy superset/{advanced_data_type => available_domains}/__init__.py (100%)
create mode 100644 superset/available_domains/api.py
copy docs/static/.asf.yaml => superset/available_domains/schemas.py (73%)
create mode 100644 superset/datasets/commands/duplicate.py
create mode 100644 superset/examples/echarts_dashboard.py
copy {superset/advanced_data_type =>
tests/integration_tests/available_domains}/__init__.py (100%)
copy tests/integration_tests/{fixtures/client.py =>
available_domains/api_tests.py} (64%)
rename tests/{integration_tests => unit_tests}/databases/schema_tests.py (57%)