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/09/02 17:46:48 UTC
[superset] branch data-ia-navbar-2 updated (22972cf5eb -> 6f020de448)
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 8c6dbc7fa7 removing bottom margin on CronPicker (#21140)
add 0f056c1798 removing unnecessary margin for 50% fields (#21167)
add 7f6d3ba505 chore: bump clickhouse-sqlalchemy 0.2.2 (#21195)
add 2e22b55b88 chore: Add new e2e tests for Explore (#21184)
add d960043261 Add warnings if feature flags are read before initialization. (#21201)
add 106dc42e3a fix: Typing of labelMap (#21181)
add 6841cdd561 feat: Adds drill to detail context menu to Pivot Table (#21198)
add d6ce8db4a5 Fix formatting in README.md (#21205)
add ca151d0794 feat: Adds drill to detail context menu to Table (#21168)
add ddb81d1d49 fix(explore): Prevent unnecessary series limit subquery (#21154)
add 561f9a286a fix: World Map right-click value (#21209)
add ffd16c9f86 fix(sqllab): missing zero values while copy-to-clipboard (#21153)
add e3bad628a5 Splitting into two separate chromatic jobs to reduce conditional logic causing run issues (#21219)
add f569ae3de8 feat: Virtual dataset duplication (#20309)
add 7a3d569df4 feat: Environment tag (#20295)
add 8a7824762a fix: Update exception for DatasourceNotFound from `DatasourceDao.get_datasource()` (#21217)
add 3314c25c0c Removes if statement causing comment not to run (#21222)
add 45ac644f70 Update chromatic PR action to have access to Job outputs (#21224)
add 3a3d7227c1 fix: add back custom sql filtering with Query as source (#21190)
add 910511d4da fixed guest role permissions (#21208)
add 6a42121266 fix: Fixes error caused by step id placed in wrong location (#21226)
add a63955501b fix(Trino): create `PrestoBaseEngineSpec` base class to share common code between Trino and Presto (#21066)
add 1fd029310d chore: E2E tests for the Drill to detail modal (#21187)
add 5f814d60d3 chore: Keeps context menu in viewport (#21212)
add 32cf2559fb chore: Drill to detail Modal tests (#21148)
add 2ae67147f5 chore: Minor Applitools enhancements (#21239)
add 901581788e fix: improve get_db_engine_spec_for_backend (#21171)
add 1fb7bafb71 fix(database-list): hidden upload file button if no permission (#21216)
add e79a454f36 fix(dev-server run): Check for environment tag not being undefined (#21232)
add 28ece7b40f fix(celery cache warmup): add auth and use warm_up_cache endpoint (#21076)
add 38999cc86b Revert "ok (#21116)" (#21247)
add def4b01cf8 feat(helm): Added env variable SERVER_WORKER_AMOUNT (#21236)
add 4fd1209269 fix(sqllab): update persistent queryEditor keys (#21246)
add b239927f60 chore: missing IconType on Icons (#21218)
add 8a6a1f8ebf feat: filter with created_by for charts and dashboards (#21199)
add de16ab2a53 fix: Add french translation missing (#20061)
add 63b42cf04c fix(sqllab): unable to create new tabs (#21260)
add e3504a83cf fix: SQLAlchemy coercing subquery warning on RLS (#21257)
add 6ac7a8a577 fix: Table content disappears when switching between tabs (#21251)
add 7ef71c0316 fix: dataset name change and permission change (#21161)
add 3d012e1ccd fix: bump min version of elastic search (#21274)
add 3919e83d37 fix: dataset exists error in save Dataset modal (#21244)
add a59745597f fix: Revert "#20095 - fix(database): make to display validation error msg when all … (#21277)
add 0869e573e7 chore(sqllab): Remove max-width on side panel (#21280)
add eb46a9488c chore: updating thrift (#20776)
add 77b03b0dab chore: Renaming Line Chart to Line Chart v2 (#21278)
add 5a399ea4b2 feat: adds TLS certificate validation option for SMTP (#21272)
add e4e570837d chore: update release docs (#21270)
add 1656f554f0 feat(embedded): provides filter bar visibility setting on embedded dashboard (#21069) (#21070)
add 76eae81576 fix(explore): Incorrect conversion from simple bool filter to custom sql (#21293)
add fa24064e28 chore: migrate available_domains to api/v1 (#21173)
add a862962f81 fix: Fix console errors about feature flags when running tests (#21275)
add 2dd2f3d29c fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294)
add a14796716e fix(plugin-chart-echarts): show zero value in tooltip (#21296)
add 35c593155d refactor: introduce react-query on api resource hook (#21240)
add d41f24e50d fix(sqllab): invalid table metadata request (#21304)
add adcae9cfb7 fix(utils): use getaddrinfo for hostname check to support ipv6 (#21042)
add 074c9ec900 fix(utils): use getaddrinfo response to support dual-stack port checks (#21043)
add 309771f76e feat(sqllab): Make LeftBar width resizable (#21300)
add 8fe17a8bc2 fix: flaky test when sync metadata (#21306)
add 63d7d68f50 chore: Bump pandas to 1.4.4 (#21285)
add 5986a04274 feat: Adds a helper text option to the Select component (#21269)
add 6f020de448 fix: DB connection modal connect bug (#21299)
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%)