You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2022/08/08 15:14:51 UTC

[superset] branch chore/color-scheme-tests updated (651eef1477 -> ac036546c0)

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

diegopucci pushed a change to branch chore/color-scheme-tests
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 651eef1477 Update color
     add 99085d583d fix(viz): Header scrolling for Time Table in dashboard (#20874)
     add 234c44626d TableChart: (#20833)
     add 07ce33d142 Reports: (#20753)
     add c77ea1bb6a chore(deps): bump terser from 5.9.0 to 5.14.2 in /docs (#20786)
     add ab415fddd9 chore: adding Bazaar Technologies to Superset Users (#20669)
     add 8b354b4b69 fix: Published Dashboard without charts don't show up for non admin users (#20638)
     add 383313b105 fix(sql lab): Syntax errors should return with 422 status (#20491)
     add 718bc3062e fix: invalid metric should raise an exception (#20882)
     add fe91974163 chore: Remove unecessary code from async and sync select components (#20690)
     add d50784dd80 feat(dashboard): Add thumbnails to dashboard edit draggable chart list (#20528)
     add 3f124d9d67 fix(plugin-chart-pivot-table): Invalid Formats Date Fields (#20909)
     add 50d2e5a15d fix: Address performance regression introduced in #11785 (#20893)
     add 8d0d778d1a chore(mypy): enable warn_unused_ignores (#20884)
     add 90460f1333 Unskip Cypress test. (#20915)
     add e7acb1a79d chore(explore): update Explore icons and icon colors (#20612)
     add e739ff5076 feat: allow more HTML tags in report description (#20908)
     add 5ae0e83b8a fix(sqllab): hide tracking url when fetching (#20905)
     add de84186200 chore(deps): bump tox from 3.24.1 to 3.25.1 in /requirements (#20822)
     add adf1f5cccf chore(deps): bump terser from 4.6.3 to 4.8.1 in /superset-frontend (#20787)
     add 06d05394c2 chore: Add Applitools logo to the docs homepage (#20917)
     add 4d29d16b64 fix: make a new entrypoint for deprecated postgres dialect (#20895)
     add 0d8889dc9c fix: Save dataset + chart when Chart source is Query (#20880)
     add 1a8c28db3d Fixes issue where type query datasource had incorrect time controls when datasource type was 'query' (#20923)
     add 67e3dc7c7b hide modal after overwrite (#20924)
     add bc435e08d0 fix: overwrite update override columns on PUT /dataset (#20862)
     add 90e2d82a38 fix(dashboard): Incorrect scopes of cross filters (#20927)
     add 6ec164e6a9 feat: Use SPA navigation from datasets list to Explore (#20890)
     add 8e0f16fade feat(helm): support different replicaCount (#20883)
     add 3a11856ecb Update Makefile (#20922)
     add 8a04536f9d feat(SqlLab): Change Save Dataset Button to Split Save Query Button IV (#20852)
     add 460b213057 feat: Creating dataset/add route (#20869)
     add 34ad80c642 add cypress codeowners to e2e tests (#20921)
     add bfd2a3d79f fix: database permissions on update and delete (avoid orphaned perms) (#20081)
     add 9291ad5d4c fix: Change dataset name affect data access role set to this dataset (#20574)
     add dd353ca86a feat: Add resize drag handle to Dataset SQL fields (#20670)
     add 6ce027d2f8 fix(import): error with disable_data_preview field (#20932)
     add fe581a3640 fix: adjust timeseries grid right offset to match the rest (#20933)
     add e2206a7151 Annotations: (#20720)
     add 9362e27ce2 fix(chart): Time Series set showMaxLabel as null for time xAxis (#20627)
     add 7beda3bbdb chore: change Sort-by and Sort-Descending controls for Bar Chart v2 (#20868)
     add ac585821d8 fix(sqllab): tracking url and error alert padding (#20937)
     add c06d5eb70c fix(sqllab): Fix tab state (#20947)
     add 7e836e9b04 test: autouse app_context in unit tests (#20911)
     add fb5f8cacaf skip row if created_at_fk is null (#20939)
     add bce32af19b chore: unpin snowflake (#20948)
     add 96a63bcbfe fix: Use SPA Dataset link in Chart and Dashboard (#20941)
     add aa53c10312 Big Number Viz: (#20946)
     add 655646d35b feat(embedded-SDK): enable CSV download (#20416)
     add e4fc5564ce fix: Explore scrolled down when navigating from dashboard (#20962)
     add c33af83823 chore: always get dashboard_id on dashboard API get endpoint (#20894)
     add 7e501cd816 fix: BigQuery get_parameters_from_uri (#20966)
     add eb5369f2a6 fix: No back button in save dataset modal (#20964)
     add 6e5036d87f fix:  add timegrains to data payload (#20938)
     add fa416fa130 fix: remove extra line for link (#20959)
     add 755f654cc6 chore: make dependabot upgrade package.json + add more package.json files (#20920)
     add d42cf4e4c9 fix: Columns not passing properly from SQL Lab to Explore (#20975)
     add e3508232ab fix: series limit solution for source is query (#20977)
     add 226712d831 feat: add 'dashboard.nav.right' extension to registry (#20835)
     add 774756dac9 chore(deps): bump cookie-parser (#20982)
     add eec6e577e6 [requirements] Bumping trino-python-client (#20976)
     add be4fbaf951 fix: for series limit comparison on explore with chart = Query (#20989)
     add 499a28f599 chore(deps): bump debug in /superset-websocket/utils/client-ws-app (#20980)
     add 9350bbafee fix(explore): Replace url search params only if current page is Explore (#20972)
     add f89ba0c7c1 beginning the reducer (#20945)
     add 95fdc08e78 chore(deps): bump express in /superset-websocket/utils/client-ws-app (#20979)
     add 463406ff09 fix: save dataset and repopulate state (#20965)
     add e214e1ace6 chore: update text for dbconn modal (#20773)
     add 802b69f97b feat: supports mulitple filters in samples endpoint (#21008)
     add ac036546c0 Merge branch 'master' of https://github.com/apache/superset into chore/color-scheme-tests

No new revisions were added by this update.

Summary of changes:
 .github/CODEOWNERS                                 |   3 +
 .github/dependabot.yml                             |  21 +
 .pylintrc                                          |   4 +-
 Makefile                                           |   4 +-
 RESOURCES/INTHEWILD.md                             |   1 +
 .../installing-superset-from-scratch.mdx           |   2 +-
 docs/docs/installation/running-on-kubernetes.mdx   |   2 +-
 docs/src/pages/index.tsx                           |  16 +-
 docs/static/img/applitools.png                     | Bin 0 -> 3658 bytes
 docs/yarn.lock                                     |  89 +-
 helm/superset/Chart.yaml                           |   2 +-
 helm/superset/templates/deployment-worker.yaml     |   2 +-
 helm/superset/templates/deployment.yaml            |   2 +-
 helm/superset/values.schema.json                   |  12 +-
 helm/superset/values.yaml                          |   4 +-
 requirements/integration.txt                       |  14 +-
 requirements/testing.txt                           |   2 +-
 setup.cfg                                          |   2 +-
 setup.py                                           |   9 +-
 superset-embedded-sdk/src/index.ts                 |   3 +-
 .../cypress/integration/explore/link.test.ts       |   2 +-
 .../explore/visualizations/line.test.ts            |  11 +-
 superset-frontend/package-lock.json                | 283 ++++---
 .../src/api/types/core.ts}                         |  25 +-
 .../src/ui-overrides/ExtensionsRegistry.ts         |   1 +
 .../PivotTableStories.tsx}                         |  52 +-
 .../plugins/plugin-chart-pivot-table/testData.ts   | 126 +++
 .../BigNumberWithTrendline/transformProps.ts       |   6 +-
 .../src/Timeseries/Regular/Bar/controlPanel.tsx    |  29 +
 .../src/Timeseries/transformProps.ts               |  15 +-
 .../plugin-chart-echarts/src/Timeseries/types.ts   |   7 +
 .../plugins/plugin-chart-echarts/src/constants.ts  |   2 +-
 .../src/react-pivottable/utilities.js              |  12 +-
 .../plugins/plugin-chart-table/src/TableChart.tsx  |  58 +-
 superset-frontend/src/SqlLab/actions/sqlLab.js     |  28 +-
 .../src/SqlLab/actions/sqlLab.test.js              |  16 +-
 .../src/SqlLab/components/ResultSet/index.tsx      |  45 +-
 .../components/RunQueryActionButton/index.tsx      |  12 +-
 .../SaveDatasetActionButton.test.tsx               |  62 ++
 .../components/SaveDatasetActionButton/index.tsx   |  83 ++
 .../SaveDatasetModal/SaveDatasetModal.test.tsx     | 113 ++-
 .../SqlLab/components/SaveDatasetModal/index.tsx   |  20 +-
 .../SqlLab/components/SaveQuery/SaveQuery.test.jsx | 199 +++--
 .../src/SqlLab/components/SaveQuery/index.tsx      |  75 +-
 .../ShareSqlLabQuery/ShareSqlLabQuery.test.jsx     |   2 +-
 .../SqlLab/components/ShareSqlLabQuery/index.tsx   |   4 +-
 .../src/SqlLab/components/SqlEditor/index.jsx      |  16 +-
 .../TabbedSqlEditors/TabbedSqlEditors.test.jsx     |   6 +-
 .../SqlLab/components/TabbedSqlEditors/index.jsx   |   6 +-
 superset-frontend/src/SqlLab/fixtures.ts           |  42 +-
 .../src/SqlLab/reducers/getInitialState.js         |   6 +-
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |   6 +-
 .../src/SqlLab/reducers/sqlLab.test.js             |   4 +-
 superset-frontend/src/SqlLab/types.ts              |   6 +-
 .../src/SqlLab/utils/newQueryTabName.test.ts       |   4 +-
 .../src/SqlLab/utils/newQueryTabName.ts            |   4 +-
 superset-frontend/src/components/Chart/Chart.jsx   |   1 -
 .../src/components/DatabaseSelector/index.tsx      |   1 -
 .../src/components/Datasource/CollectionTable.tsx  |  18 +-
 .../src/components/Datasource/DatasourceEditor.jsx |  18 +-
 .../src/components/DropdownButton/index.tsx        |   3 +-
 .../components/GenericLink/GenericLink.test.tsx    |  59 ++
 .../GenericLink.tsx}                               |  58 +-
 .../src/components/ListView/Filters/Select.tsx     |  42 +-
 .../src/components/Select/AsyncSelect.test.tsx     | 150 ++--
 .../src/components/Select/AsyncSelect.tsx          |  73 +-
 .../src/components/Select/Select.stories.tsx       |  28 +-
 .../src/components/Select/Select.test.tsx          |  27 +-
 superset-frontend/src/components/Select/Select.tsx | 280 +-----
 .../src/components/TableSelector/index.tsx         |   1 -
 superset-frontend/src/dashboard/actions/hydrate.js |  31 +-
 .../src/dashboard/actions/sliceEntities.js         |   2 +
 .../src/dashboard/components/AddSliceCard.jsx      | 148 ----
 .../components/AddSliceCard/AddSliceCard.test.tsx  |  62 ++
 .../components/AddSliceCard/AddSliceCard.tsx       | 288 +++++++
 .../dashboard/components/AddSliceCard}/index.ts    |   4 +-
 .../dashboard/components/Header/Header.test.tsx    |  16 +
 .../src/dashboard/components/Header/index.jsx      |  13 +-
 .../src/dashboard/components/SliceAdder.jsx        |   3 +-
 .../src/explore/actions/datasourcesActions.test.ts |  54 ++
 .../src/explore/actions/datasourcesActions.ts      |  46 +-
 .../src/explore/actions/exploreActions.ts          |   5 +
 .../src/explore/actions/hydrateExplore.test.ts     |  72 +-
 .../src/explore/actions/hydrateExplore.ts          |   5 +-
 .../src/explore/actions/saveModalActions.js        |  16 +-
 .../src/explore/actions/saveModalActions.test.js   |  30 +-
 .../src/explore/components/ControlHeader.tsx       |  54 +-
 .../explore/components/ControlPanelsContainer.tsx  |  96 ++-
 .../src/explore/components/ExploreChartPanel.jsx   |   2 +-
 .../ExploreViewContainer.test.tsx                  |  35 +-
 .../components/ExploreViewContainer/index.jsx      |  25 +-
 .../src/explore/components/SaveModal.test.jsx      |  34 +-
 .../src/explore/components/SaveModal.tsx           | 307 ++++---
 .../controls/AnnotationLayerControl/index.jsx      |   9 +-
 .../controls/ControlPopover/ControlPopover.tsx     |   2 +-
 .../MetricControl/AdhocMetricEditPopover/index.jsx |   4 +-
 .../components/controls/TextAreaControl.jsx        |  25 +-
 .../explore/controlUtils/getSectionsToRender.ts    |  10 +-
 .../src/explore/reducers/exploreReducer.js         |   8 +
 .../src/filters/components/GroupBy/types.ts        |   3 +-
 .../src/filters/components/TimeColumn/types.ts     |   3 +-
 .../src/filters/components/TimeGrain/types.ts      |   3 +-
 superset-frontend/src/reports/actions/reports.js   |   5 +-
 superset-frontend/src/utils/datasourceUtils.js     |   4 +-
 superset-frontend/src/utils/localStorageHelpers.ts |   2 +
 superset-frontend/src/utils/urlUtils.test.ts       |  54 ++
 superset-frontend/src/utils/urlUtils.ts            |  33 +-
 superset-frontend/src/views/App.tsx                |   2 +
 .../src/views/CRUD/chart/ChartList.tsx             |   3 +-
 .../data/database/DatabaseModal/ModalHeader.tsx    |  17 +-
 .../CRUD/data/database/DatabaseModal/index.tsx     |  20 +-
 .../CRUD/data/database/DatabaseModal/styles.ts     |   4 +
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |   7 +-
 .../dataset/DatasetPage/DatasetPanel/index.tsx}    |   7 +-
 .../data/dataset/DatasetPage/Footer/index.tsx}     |   7 +-
 .../data/dataset/DatasetPage/Header/index.tsx}     |   7 +-
 .../data/dataset/DatasetPage/LeftPanel/index.tsx}  |   7 +-
 .../data/dataset/DatasetPage/RightPanel/index.tsx} |   7 +-
 .../views/CRUD/data/dataset/DatasetPage/index.tsx  |  82 ++
 .../CRUD/data/dataset/DatasetPage/types.tsx}       |  41 +-
 .../types.ts => views/ScrollToTop.tsx}             |  13 +-
 superset-frontend/src/views/routes.tsx             |  16 +
 .../src/visualizations/TimeTable/TimeTable.jsx     |   3 +-
 .../utils/client-ws-app/package-lock.json          | 939 ++++++++++++++-------
 .../utils/client-ws-app/package.json               |   6 +-
 superset/common/chart_data.py                      |   1 +
 superset/common/query_actions.py                   |  22 +
 superset/common/query_context_processor.py         |  20 +-
 superset/connectors/sqla/models.py                 |  11 +-
 superset/dashboards/api.py                         |  24 +-
 superset/dashboards/filters.py                     |   2 +-
 superset/databases/commands/create.py              |   1 -
 superset/databases/commands/update.py              |  22 +-
 superset/databases/schemas.py                      |   1 +
 superset/datasets/commands/update.py               |   3 +-
 superset/datasets/dao.py                           |  50 +-
 superset/datasets/schemas.py                       |   6 +-
 superset/db_engine_specs/bigquery.py               |   4 +-
 superset/exceptions.py                             |   8 +
 superset/initialization/__init__.py                |   3 +-
 ...5-48_409c7b420ab0_add_created_by_fk_as_owner.py |  11 +-
 superset/models/core.py                            |   3 +-
 superset/models/helpers.py                         | 143 +++-
 superset/models/sql_lab.py                         |  22 +-
 superset/reports/notifications/email.py            |  38 +-
 superset/security/manager.py                       | 245 +++++-
 superset/sql_parse.py                              |   2 +-
 superset/sqllab/command.py                         |  25 +-
 superset/utils/core.py                             |  12 +-
 superset/views/core.py                             |  38 +-
 superset/views/datasource/schemas.py               |  13 +-
 superset/views/datasource/utils.py                 |  35 +-
 superset/views/datasource/views.py                 |  30 +-
 superset/views/sql_lab.py                          |   4 +-
 tests/integration_tests/conftest.py                |  11 +-
 tests/integration_tests/datasets/api_tests.py      |  50 ++
 tests/integration_tests/datasource_tests.py        | 132 ++-
 .../fixtures/deck_geojson_form_data.json           |   2 +-
 .../fixtures/deck_path_form_data.json              |   2 +-
 tests/integration_tests/security_tests.py          | 186 ++++
 tests/integration_tests/viz_tests.py               |  16 +-
 tests/unit_tests/advanced_data_type/types_tests.py |  55 +-
 .../charts/commands/importers/v1/import_test.py    |   4 +-
 tests/unit_tests/columns/test_models.py            |   2 +-
 tests/unit_tests/commands/export_test.py           |   2 +-
 tests/unit_tests/config_test.py                    |   2 +-
 tests/unit_tests/conftest.py                       |   2 +-
 tests/unit_tests/core_tests.py                     |  12 +
 tests/unit_tests/dao/queries_test.py               |   2 +-
 .../commands/importers/v1/import_test.py           |   6 +-
 .../dashboards/commands/importers/v1/utils_test.py |   2 +-
 .../databases/commands/importers/v1/import_test.py |   6 +-
 tests/unit_tests/databases/utils_test.py           |   4 +-
 tests/unit_tests/dataframe_test.py                 |   4 +-
 tests/unit_tests/datasets/commands/export_test.py  |   2 +-
 .../datasets/commands/importers/v1/import_test.py  |   8 +-
 tests/unit_tests/datasets/test_models.py           |  18 +-
 tests/unit_tests/datasource/dao_tests.py           |  22 +-
 tests/unit_tests/db_engine_specs/test_athena.py    |   8 +-
 tests/unit_tests/db_engine_specs/test_base.py      |  11 +-
 tests/unit_tests/db_engine_specs/test_bigquery.py  |  21 +-
 tests/unit_tests/db_engine_specs/test_drill.py     |   9 +-
 tests/unit_tests/db_engine_specs/test_gsheets.py   |   4 -
 tests/unit_tests/db_engine_specs/test_kusto.py     |  15 +-
 tests/unit_tests/db_engine_specs/test_mssql.py     |  25 +-
 tests/unit_tests/db_engine_specs/test_presto.py    |   2 -
 tests/unit_tests/db_engine_specs/test_snowflake.py |   9 +-
 tests/unit_tests/db_engine_specs/test_sqlite.py    |  17 +-
 tests/unit_tests/db_engine_specs/test_teradata.py  |   2 -
 tests/unit_tests/explore/utils_test.py             |  41 +-
 tests/unit_tests/jinja_context_test.py             |   2 +-
 tests/unit_tests/notifications/email_tests.py      |  46 +
 tests/unit_tests/result_set_test.py                |   2 +-
 tests/unit_tests/sql_lab_test.py                   |   2 -
 tests/unit_tests/sql_parse_tests.py                |   2 +-
 tests/unit_tests/tables/test_models.py             |   2 +-
 tests/unit_tests/tasks/test_cron_util.py           |  11 +-
 tests/unit_tests/test_jinja_context.py             |  39 +-
 tests/unit_tests/utils/cache_test.py               |   2 +-
 199 files changed, 4688 insertions(+), 1977 deletions(-)
 create mode 100644 docs/static/img/applitools.png
 copy superset-frontend/packages/{superset-ui-demo/storybook/stories/plugins/legacy-preset-chart-nvd3/Pie/data.ts => superset-ui-core/src/api/types/core.ts} (77%)
 copy superset-frontend/packages/superset-ui-demo/storybook/stories/plugins/{legacy-plugin-chart-chord/Stories.tsx => plugin-chart-pivot-table/PivotTableStories.tsx} (52%)
 create mode 100644 superset-frontend/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-pivot-table/testData.ts
 create mode 100644 superset-frontend/src/SqlLab/components/SaveDatasetActionButton/SaveDatasetActionButton.test.tsx
 create mode 100644 superset-frontend/src/SqlLab/components/SaveDatasetActionButton/index.tsx
 create mode 100644 superset-frontend/src/components/GenericLink/GenericLink.test.tsx
 copy superset-frontend/src/components/{Radio/Radio.stories.tsx => GenericLink/GenericLink.tsx} (57%)
 delete mode 100644 superset-frontend/src/dashboard/components/AddSliceCard.jsx
 create mode 100644 superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.test.tsx
 create mode 100644 superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.tsx
 copy superset-frontend/{packages/superset-ui-core/src/dynamic-plugins => src/dashboard/components/AddSliceCard}/index.ts (91%)
 create mode 100644 superset-frontend/src/utils/urlUtils.test.ts
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => views/CRUD/data/dataset/DatasetPage/DatasetPanel/index.tsx} (88%)
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => views/CRUD/data/dataset/DatasetPage/Footer/index.tsx} (90%)
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => views/CRUD/data/dataset/DatasetPage/Header/index.tsx} (90%)
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => views/CRUD/data/dataset/DatasetPage/LeftPanel/index.tsx} (89%)
 copy superset-frontend/src/{filters/components/Range/SingleValueType.ts => views/CRUD/data/dataset/DatasetPage/RightPanel/index.tsx} (89%)
 create mode 100644 superset-frontend/src/views/CRUD/data/dataset/DatasetPage/index.tsx
 copy superset-frontend/src/{types/Dataset.ts => views/CRUD/data/dataset/DatasetPage/types.tsx} (58%)
 copy superset-frontend/src/{dashboard/components/CrossFilterScopingModal/types.ts => views/ScrollToTop.tsx} (77%)
 create mode 100644 tests/unit_tests/notifications/email_tests.py