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/09/08 15:56:02 UTC

[superset] branch chore/cypress-runtime-enhancements updated (fadbec6a6d -> 34ada5a0da)

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

diegopucci pushed a change to branch chore/cypress-runtime-enhancements
in repository https://gitbox.apache.org/repos/asf/superset.git


    from fadbec6a6d Lint
     add a27c7ae7d0 chore: upgrade yeoman-generator to fix security warnings (#21324)
     add 29c233fc92 chore: bump FAB to 4.1.4 (#21329)
     add d130b4a24f fix: database modal crashed when use SQLAlchemy URI string (#21342)
     add f603295678 chore: refactor ResultSet to functional component (#21186)
     add acd9515353 fix(sqllab): Copy link doesn't apply the unsaved changes (#21311)
     add 9be4870c7f feat: only show active user for chart/dashboard/datasource owner drop… (#20837)
     add 286474c3d8 fix: revert permission refactoring PR (#21313)
     add c382d53478 fix: Add locale for DatePicker component (#20063)
     add 875e9f8a04 fix(dashboard): Fix scrolling on "View as table" modal (#21282)
     add ce3d38d2e7 feat: apply Time Grain to X-Axis column (#21163)
     add 8c2719b11c feat:  add tableselector to dataset creation page (#21075)
     add b302818522 feat: Update nav bar with new data information architecture for SQL Lab + SQL (#21245)
     add 0112a112bf docs: correct location of existing time grain definition (#21309)
     add 3fd0ba7b04 test: Fix act errors in SaveDatasetActionButton test (#21362)
     add ab82b17af3 test: Fix act errors in DatabaseModal test (#21365)
     add fd6569e3ed test: Fix act errors in FaveStar test (#21360)
     add 994a005444 test: Fix act errors in PopoverDropdown test (#21361)
     add 0601b2db99 test: Fix act errors in SqlEditorLeftBar test (#21363)
     add 30d483f77b Merge branch 'master' of https://github.com/apache/superset into chore/cypress-runtime-enhancements
     add 34ada5a0da Refactor nativeFilters tests

No new revisions were added by this update.

Summary of changes:
 UPDATING.md                                        |    2 +
 requirements/base.txt                              |    2 +-
 setup.py                                           |    2 +-
 .../integration/dashboard/nativeFilters.test.ts    | 1171 ++++----
 .../cypress/integration/dashboard/utils.ts         |   80 +-
 superset-frontend/package-lock.json                | 3121 +++++---------------
 .../packages/generator-superset/package.json       |   38 +-
 .../src/sections/echartsTimeSeriesQuery.tsx        |    5 +
 .../src/sections/sections.tsx                      |   15 +-
 .../src/shared-controls/index.tsx                  |   17 +
 .../src/query/buildQueryContext.ts                 |    7 +-
 .../packages/superset-ui-core/src/query/index.ts   |    1 +
 .../src/query/normalizeTimeColumn.ts               |   83 +
 .../superset-ui-core/src/query/types/Column.ts     |    2 +
 .../test/query/buildQueryContext.test.ts           |   47 +
 .../test/query/normalizeTimeColumn.test.ts         |  247 ++
 .../src/MixedTimeseries/controlPanel.tsx           |    4 +-
 .../src/Timeseries/Area/controlPanel.tsx           |    2 +-
 .../src/Timeseries/Regular/Bar/controlPanel.tsx    |    2 +-
 .../src/Timeseries/Regular/Line/controlPanel.tsx   |    2 +-
 .../Timeseries/Regular/Scatter/controlPanel.tsx    |    2 +-
 .../Timeseries/Regular/SmoothLine/controlPanel.tsx |    2 +-
 .../src/Timeseries/Step/controlPanel.tsx           |    2 +-
 .../components/ExploreCtasResultsButton/index.tsx  |   25 +-
 .../components/ExploreResultsButton/index.tsx      |    1 +
 .../src/SqlLab/components/QueryTable/index.tsx     |    1 -
 .../SqlLab/components/ResultSet/ResultSet.test.jsx |  219 --
 .../SqlLab/components/ResultSet/ResultSet.test.tsx |  216 ++
 .../src/SqlLab/components/ResultSet/index.tsx      |  573 ++--
 .../SaveDatasetActionButton.test.tsx               |   10 +-
 .../ShareSqlLabQuery/ShareSqlLabQuery.test.jsx     |   46 +-
 .../SqlLab/components/ShareSqlLabQuery/index.tsx   |   22 +-
 .../src/SqlLab/components/SouthPane/index.tsx      |    3 -
 .../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx     |  110 +-
 .../src/components/Datasource/DatasourceEditor.jsx |   10 +-
 .../components/ErrorMessage/ErrorAlert.test.tsx    |    6 +
 .../src/components/ErrorMessage/ErrorAlert.tsx     |   19 +-
 .../ErrorMessage/ErrorMessageWithStackTrace.tsx    |    3 +
 .../src/components/FaveStar/FaveStar.test.tsx      |   17 +-
 .../src/components/FilterableTable/index.tsx       |    3 +-
 .../PopoverDropdown/PopoverDropdown.test.tsx       |   20 +-
 .../src/components/ProgressBar/index.tsx           |    2 +-
 .../src/components/TableSelector/index.tsx         |    4 +-
 .../dashboard/components/PropertiesModal/index.tsx |    8 +-
 .../FiltersConfigForm/DefaultValue.tsx             |    4 +-
 .../components/ResultsPaneOnDashboard.tsx          |   34 +-
 .../explore/components/PropertiesModal/index.tsx   |    8 +-
 .../components/CustomFrame.test.tsx                |  101 +-
 .../DateFilterControl/components/CustomFrame.tsx   |   12 +
 .../controls/DateFilterControl/utils/constants.ts  |   17 +
 superset-frontend/src/explore/types.ts             |    1 +
 .../data/database/DatabaseModal/index.test.jsx     |   71 +-
 .../CRUD/data/database/DatabaseModal/index.tsx     |   36 +-
 .../data/dataset/AddDataset/AddDataset.test.tsx    |    8 +-
 .../AddDataset/LeftPanel/LeftPanel.test.tsx        |  208 +-
 .../data/dataset/AddDataset/LeftPanel/index.tsx    |  250 +-
 .../views/CRUD/data/dataset/AddDataset/index.tsx   |   31 +-
 .../views/CRUD/data/dataset/AddDataset/types.tsx   |   19 +-
 .../dataset/DatasetLayout/DatasetLayout.test.tsx   |    8 +-
 superset-frontend/src/views/components/Menu.tsx    |    1 +
 superset/config.py                                 |    4 +-
 superset/connectors/sqla/models.py                 |   25 +-
 superset/connectors/sqla/utils.py                  |   28 +-
 superset/initialization/__init__.py                |   46 +-
 superset/security/manager.py                       |   40 -
 superset/superset_typing.py                        |    2 +
 superset/utils/core.py                             |   11 +
 superset/views/base_api.py                         |   22 +
 superset/views/utils.py                            |   26 +-
 tests/integration_tests/base_api_tests.py          |   48 +-
 tests/integration_tests/conftest.py                |   43 +-
 .../queries/saved_queries/api_tests.py             |    3 +-
 tests/integration_tests/query_context_tests.py     |  182 ++
 tests/integration_tests/security_tests.py          |  202 --
 tests/unit_tests/core_tests.py                     |    1 -
 75 files changed, 3503 insertions(+), 4163 deletions(-)
 create mode 100644 superset-frontend/packages/superset-ui-core/src/query/normalizeTimeColumn.ts
 create mode 100644 superset-frontend/packages/superset-ui-core/test/query/normalizeTimeColumn.test.ts
 delete mode 100644 superset-frontend/src/SqlLab/components/ResultSet/ResultSet.test.jsx
 create mode 100644 superset-frontend/src/SqlLab/components/ResultSet/ResultSet.test.tsx