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 2020/12/14 21:02:10 UTC

[incubator-superset] branch hxgh/ch235/new-limit-selector updated (f32a7be -> 3d0a719)

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

hugh pushed a change to branch hxgh/ch235/new-limit-selector
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


    from f32a7be  setting up POC
     add 8884d27  save this work
     add a4b06d2  Change paddings on ListView and SubMenu (#11975)
     add 6fe1f9d  Debounce TextControl if change runs immediately after input (#11985)
     add e62cf0d  fix : adhoc filter dropdown (#11963)
     add 5435064  refactor : Transform FilterScopeModal to Typescript (#11964)
     add c73904b  fixing rounded corners (#11990)
     add 8cc5667  fix(explore): changing metric aggregate doesn't update label (#11946)
     add 38bb6f3  fix : Fix style for header (sqllab) (#11980)
     add 9256b6f  chore: consolidate common code in importers (#11936)
     add 3a62541  refactor: Removes hard coded colors (#11977)
     add 9e07e10  chore: move passwords needed message (#12002)
     add 475f59c  feat: confirm overwrite when importing (#11982)
     add df6efb6  feat: alert/report execution log list view (#11937)
     add 0fdf026  feat: add invisible layer on loading chart (#11994)
     add 4d32907  feat(SIP-39): Async query support for charts (#11499)
     add 12d9d1e  refactor : Transform SaveModal to typescript (#11951)
     add 916f7e9  fix(dataset): fetch metadata on dataset creation may raise broad exceptions (#11973)
     add 2769de3  chore: remove generic type (#12003)
     add 5d8ecc0  fix: add default position to dash export (#12007)
     add 6963087  feat: alerts/reports add/edit modal (#11770)
     add 9277a54  feat: add confirmation dialog for imports (#11983)
     add 45703a1  feat: update IDs when importing dashboards (#11991)
     add 90ed326  fix: Change url & add check for active item in menu (#11915)
     add 022d755  refactor : Change menu name and reorder items (#11993)
     add 3e22668  docs: restored page on roles in security, executed other touchups, and… (#11978)
     add fee9bbe  style: Restoring menu highlights (#12024)
     add 1afe915  refactor: Existing Antd Collapse to enhanced (#12013)
     add 6311a9e  feat: Added setup for running Cypress tests in docker locally (#11207)
     add d5b16bc  fix schema datasource modal (#12018)
     add 3d56f58  fix: Explore "Change Dataset" UX Enhancements (#12006)
     add 00bd916  Merge branch 'master' of https://github.com/apache/incubator-superset into hxgh/ch235/new-limit-selector
     add 3d0a719  working prototype

No new revisions were added by this update.

Summary of changes:
 CONTRIBUTING.md                                    |   29 +
 README.md                                          |   13 +-
 UPDATING.md                                        |    2 +-
 docker-compose.yml                                 |    5 +
 docker/.env                                        |    1 +
 docker/docker-bootstrap.sh                         |    8 +-
 docker/docker-init.sh                              |   23 +-
 docs/{README.txt => README.md}                     |    0
 docs/gatsby-node.js                                |   30 +
 .../pages/docs/frequently-asked-questions-page.mdx |    8 +
 .../docs/installation/building-viz-plugins.mdx     |    8 +
 docs/src/pages/docs/roadmap-page.mdx               |    8 +-
 docs/src/pages/docs/security-page.mdx              |  132 +-
 docs/src/pages/index.tsx                           |    2 +-
 setup.cfg                                          |    2 +-
 superset-frontend/package-lock.json                |  114 +-
 .../datasource/ChangeDatasourceModal_spec.jsx      |   26 +-
 .../explore/components/ColorScheme_spec.jsx        |    3 +-
 .../explore/components/FilterBox_spec.jsx          |    4 +-
 .../explore/components/SelectControl_spec.jsx      |    3 +-
 .../components/withAsyncVerification_spec.tsx      |    3 +-
 .../spec/javascripts/middleware/asyncEvent_spec.ts |  265 ++++
 .../javascripts/utils/getClientErrorObject_spec.ts |    2 +-
 .../views/CRUD/alert/AlertList_spec.jsx            |   37 +-
 .../views/CRUD/alert/AlertReportModal_spec.jsx     |  137 ++
 .../views/CRUD/alert/ExecutionLog_spec.jsx         |  105 ++
 superset-frontend/src/SqlLab/actions/sqlLab.js     |    2 +-
 .../src/SqlLab/components/LimitControl.tsx         |    1 -
 .../src/SqlLab/components/ShareSqlLabQuery.jsx     |    2 +-
 .../src/SqlLab/components/SqlEditor.jsx            |   83 +-
 .../src/SqlLab/components/TableElement.jsx         |   16 +-
 superset-frontend/src/SqlLab/main.less             |   22 +-
 superset-frontend/src/chart/chartAction.js         |   13 +-
 superset-frontend/src/chart/chartReducer.js        |    8 +
 .../src/chart/components/ImportModal/index.tsx     |  186 ---
 .../src/common/components/Collapse.tsx             |   77 ++
 .../src/common/components/Modal/Modal.tsx          |    5 +
 .../Loading.tsx => common/components/Radio.tsx}    |   58 +-
 .../index.tsx => common/components/Select.tsx}     |   52 +-
 .../src/common/components/common.stories.tsx       |   60 +
 superset-frontend/src/common/components/index.tsx  |    8 +-
 superset-frontend/src/components/AsyncSelect.jsx   |    2 +-
 .../src/components/Checkbox/Checkbox.test.tsx      |    4 +-
 .../src/components/Checkbox/index.tsx              |    4 +-
 .../components/ImportModal/ImportModal.test.tsx    |   26 +-
 .../src/components/ImportModal/index.tsx           |  301 +++++
 .../src/components/ListView/CardSortSelect.tsx     |    2 +-
 .../src/components/ListView/Filters/index.tsx      |    1 -
 .../src/components/ListView/ListView.tsx           |   22 +-
 superset-frontend/src/components/Menu/Menu.tsx     |   19 +-
 superset-frontend/src/components/Menu/SubMenu.tsx  |    3 +
 .../src/components/Select/SupersetStyledSelect.tsx |   11 +-
 superset-frontend/src/components/Select/styles.tsx |   64 +-
 .../components/dataViewCommon/TableCollection.tsx  |    1 +
 superset-frontend/src/components/styles.ts         |   46 -
 .../src/dashboard/actions/dashboardState.js        |    2 +-
 .../src/dashboard/actions/datasources.js           |    2 +-
 .../src/dashboard/actions/sliceEntities.js         |    2 +-
 .../components/FiltersBadge/DetailsPanel.tsx       |    7 +-
 .../components/ImportModal/ImportModal.test.tsx    |  106 --
 .../src/dashboard/components/ImportModal/index.tsx |  190 ---
 .../src/dashboard/components/PropertiesModal.jsx   |    2 +-
 .../components/{SaveModal.jsx => SaveModal.tsx}    |   97 +-
 .../dashboard/components/SliceHeaderControls.jsx   |   16 +-
 .../{FilterScopeModal.jsx => FilterScopeModal.tsx} |   30 +-
 .../dashboard/components/gridComponents/Chart.jsx  |   23 +-
 superset-frontend/src/dashboard/index.jsx          |   17 +-
 .../dashboard/stylesheets/components/chart.less    |    1 +
 .../components/ImportModal/ImportModal.test.tsx    |   96 --
 .../src/database/components/ImportModal/index.tsx  |  191 ---
 .../src/datasource/ChangeDatasourceModal.tsx       |  270 ++--
 .../src/datasource/DatasourceEditor.jsx            |    2 +-
 .../src/datasource/DatasourceModal.tsx             |    6 +-
 .../components/ImportModal/ImportModal.test.tsx    |  106 --
 .../datasource/components/ImportModal/index.tsx    |  186 ---
 .../src/explore/components/AdhocFilterOption.jsx   |    3 +-
 .../explore/components/AdhocMetricEditPopover.jsx  |   15 +-
 .../src/explore/components/DataTablesPane.tsx      |   10 +-
 .../src/explore/components/DisplayQueryButton.jsx  |    2 +-
 .../src/explore/components/ExploreChartPanel.jsx   |   19 -
 .../src/explore/components/PropertiesModal.tsx     |    2 +-
 .../explore/components/controls/TextControl.tsx    |   52 +-
 superset-frontend/src/explore/exploreUtils.js      |   16 +
 superset-frontend/src/explore/index.jsx            |   17 +-
 superset-frontend/src/featureFlags.ts              |    1 +
 superset-frontend/src/middleware/asyncEvent.ts     |  197 +++
 superset-frontend/src/setup/setupApp.ts            |    3 +-
 .../CRUD/annotation/types.ts => types/Dataset.ts}  |   34 +-
 superset-frontend/src/utils/common.js              |    2 +-
 .../src/utils/getClientErrorObject.ts              |   59 +-
 superset-frontend/src/views/App.tsx                |   11 +
 .../src/views/CRUD/alert/AlertList.tsx             |  127 +-
 .../src/views/CRUD/alert/AlertReportModal.tsx      | 1315 ++++++++++++++++++++
 .../src/views/CRUD/alert/ExecutionLog.tsx          |  158 +++
 .../CRUD/alert/components/AlertStatusIcon.tsx      |   75 ++
 .../CRUD/alert/components/RecipientIcon.tsx}       |   61 +-
 superset-frontend/src/views/CRUD/alert/types.ts    |   57 +-
 .../src/views/CRUD/annotation/AnnotationList.tsx   |    2 +-
 .../src/views/CRUD/chart/ChartList.tsx             |   34 +-
 .../src/views/CRUD/dashboard/DashboardList.tsx     |   60 +-
 .../src/views/CRUD/data/database/DatabaseList.tsx  |   25 +-
 .../src/views/CRUD/data/database/DatabaseModal.tsx |    6 +-
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |   26 +-
 superset-frontend/src/views/CRUD/hooks.ts          |  128 +-
 superset-frontend/src/views/CRUD/types.ts          |    2 +
 superset-frontend/src/views/CRUD/utils.tsx         |    2 +-
 .../src/views/CRUD/welcome/Welcome.tsx             |   31 +-
 .../stylesheets/less/cosmo/bootswatch.less         |    8 -
 superset/app.py                                    |   27 +-
 .../security => superset/async_events}/__init__.py |    0
 superset/async_events/api.py                       |   99 ++
 superset/charts/api.py                             |  174 ++-
 superset/charts/commands/data.py                   |  101 ++
 superset/charts/commands/exceptions.py             |    8 +
 superset/charts/commands/export.py                 |    2 +-
 superset/charts/commands/importers/v1/__init__.py  |  121 +-
 superset/charts/schemas.py                         |   13 +
 superset/commands/export.py                        |    6 +-
 superset/commands/importers/v1/__init__.py         |  143 +++
 superset/common/query_context.py                   |   91 +-
 superset/common/query_object.py                    |    3 +-
 superset/config.py                                 |   21 +
 superset/connectors/sqla/models.py                 |    5 +-
 superset/dashboards/api.py                         |   19 +-
 superset/dashboards/commands/export.py             |   61 +-
 .../dashboards/commands/importers/v1/__init__.py   |  133 +-
 superset/dashboards/commands/importers/v1/utils.py |   64 +
 superset/databases/api.py                          |   19 +-
 superset/databases/commands/export.py              |    2 +-
 .../databases/commands/importers/v1/__init__.py    |  112 +-
 superset/datasets/api.py                           |   19 +-
 superset/datasets/commands/export.py               |    2 +-
 .../datasets/commands/importers/v1/__init__.py     |  115 +-
 superset/exceptions.py                             |   14 +-
 superset/extensions.py                             |    2 +
 superset/queries/saved_queries/commands/export.py  |    2 +-
 superset/reports/api.py                            |    1 +
 superset/reports/commands/update.py                |    6 +
 superset/reports/logs/api.py                       |    1 +
 superset/security/manager.py                       |    2 +-
 superset/tasks/async_queries.py                    |  110 ++
 superset/utils/async_query_manager.py              |  199 +++
 superset/utils/cache.py                            |   51 +-
 superset/utils/pandas_postprocessing.py            |   12 +-
 superset/views/alerts.py                           |   26 +-
 superset/views/api.py                              |    3 +-
 superset/views/base.py                             |    2 +
 superset/views/base_api.py                         |    1 +
 superset/views/core.py                             |   70 +-
 superset/views/utils.py                            |   30 +-
 superset/viz.py                                    |   85 +-
 superset/viz_sip38.py                              |    7 +-
 tests/{security => async_events}/__init__.py       |    0
 tests/async_events/api_tests.py                    |  120 ++
 tests/cache_tests.py                               |    8 +-
 tests/charts/api_tests.py                          |  255 +++-
 tests/charts/commands_tests.py                     |    2 +-
 tests/core_tests.py                                |  189 +++
 tests/dashboards/api_tests.py                      |  101 +-
 tests/dashboards/commands_tests.py                 |   23 +-
 tests/databases/api_tests.py                       |   84 +-
 tests/databases/commands_tests.py                  |    6 +-
 tests/datasets/api_tests.py                        |   93 +-
 tests/datasets/commands_tests.py                   |    6 +-
 tests/fixtures/importexport.py                     |    5 +-
 tests/query_context_tests.py                       |   25 +-
 tests/superset_test_config.py                      |    4 +-
 tests/{security => tasks}/__init__.py              |    0
 tests/tasks/async_queries_tests.py                 |  132 ++
 tests/viz_tests.py                                 |   11 +
 170 files changed, 6491 insertions(+), 2538 deletions(-)
 rename docs/{README.txt => README.md} (100%)
 create mode 100644 superset-frontend/spec/javascripts/middleware/asyncEvent_spec.ts
 create mode 100644 superset-frontend/spec/javascripts/views/CRUD/alert/AlertReportModal_spec.jsx
 create mode 100644 superset-frontend/spec/javascripts/views/CRUD/alert/ExecutionLog_spec.jsx
 delete mode 100644 superset-frontend/src/chart/components/ImportModal/index.tsx
 create mode 100644 superset-frontend/src/common/components/Collapse.tsx
 copy superset-frontend/src/{components/Loading.tsx => common/components/Radio.tsx} (50%)
 copy superset-frontend/src/{components/Checkbox/index.tsx => common/components/Select.tsx} (56%)
 rename superset-frontend/src/{chart => }/components/ImportModal/ImportModal.test.tsx (78%)
 create mode 100644 superset-frontend/src/components/ImportModal/index.tsx
 delete mode 100644 superset-frontend/src/components/styles.ts
 delete mode 100644 superset-frontend/src/dashboard/components/ImportModal/ImportModal.test.tsx
 delete mode 100644 superset-frontend/src/dashboard/components/ImportModal/index.tsx
 rename superset-frontend/src/dashboard/components/{SaveModal.jsx => SaveModal.tsx} (72%)
 rename superset-frontend/src/dashboard/components/filterscope/{FilterScopeModal.jsx => FilterScopeModal.tsx} (75%)
 delete mode 100644 superset-frontend/src/database/components/ImportModal/ImportModal.test.tsx
 delete mode 100644 superset-frontend/src/database/components/ImportModal/index.tsx
 delete mode 100644 superset-frontend/src/datasource/components/ImportModal/ImportModal.test.tsx
 delete mode 100644 superset-frontend/src/datasource/components/ImportModal/index.tsx
 create mode 100644 superset-frontend/src/middleware/asyncEvent.ts
 copy superset-frontend/src/{views/CRUD/annotation/types.ts => types/Dataset.ts} (70%)
 create mode 100644 superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx
 create mode 100644 superset-frontend/src/views/CRUD/alert/ExecutionLog.tsx
 create mode 100644 superset-frontend/src/views/CRUD/alert/components/AlertStatusIcon.tsx
 copy superset-frontend/src/{components/TooltipWrapper.jsx => views/CRUD/alert/components/RecipientIcon.tsx} (50%)
 copy {tests/security => superset/async_events}/__init__.py (100%)
 create mode 100644 superset/async_events/api.py
 create mode 100644 superset/charts/commands/data.py
 create mode 100644 superset/tasks/async_queries.py
 create mode 100644 superset/utils/async_query_manager.py
 copy tests/{security => async_events}/__init__.py (100%)
 create mode 100644 tests/async_events/api_tests.py
 copy tests/{security => tasks}/__init__.py (100%)
 create mode 100644 tests/tasks/async_queries_tests.py