You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2020/10/22 17:37:55 UTC

[incubator-superset] branch feature/filter-p0 updated (ee838be -> c1ec546)

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

suddjian pushed a change to branch feature/filter-p0
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


    from ee838be  address design feedback
     add dde69d8  fix: use dashboard id for stable cache key (#11293)
     add 4f0a06d  fix: button translations missing (#11187)
     add 9856f99  feat: update time_compare description and choices (#11294)
     add afee008  fix CTAS and CVAS buttons invisible (#11300)
     add 8863c93  fix: should update last_modified_time in client-side after save dash (#11305)
     add 94e23bf  feat: export databases as a ZIP bundle (#11229)
     add 31e4a90  Fix overflowing tab's styling in TabbedSqlEditors (#11303)
     add a1f8429  chore: make config ENABLE_REACT_CRUD_VIEWS = True by default (#11259)
     add 735123d  refactor: Refactor QueryTable to use react-table (#11216)
     add 917d02e  fix(chart-api): cached-indicator always shows value is cached (#11326)
     add 55c2892  Fix: bring back type ignore for config import (#11333)
     add 0e97c4f  tests: added fixtures to created dashboards and updated test with proper value (#11290)
     add 4208ca7  refactor: replace AvatarIcon instances with FacePile  (#11279)
     add 901a42b  refactor: Replace usages of Popover from react-bootstrap with Antd (#11163)
     add 9266f0a  refactor: Replace usages of reactable in ChangeDatasourceModal (#11241)
     add 55ae259  chore: Dashboard cypress refactor (#11280)
     add 7369039  tests: Parameterize some tests in alerts_tests.py (#11313)
     add 9f8d0e7  fix: update table_name and schema on dataset editor (#11218)
     add 6f3d4c1  feat: css template add/edit modal (#11296)
     add 3a0fcda  Fix tabs switching in SouthPane (#11343)
     add c360413  style(menu): clean up right menu - leaving only "Settings" (#11227)
     add 796a2a6  fix: error around latest partition in BigQuery (#11274)
     add 43aca6a  docs: add a roadmap page pointing to SIP-53 (#11169)
     add cae54ac  style: using correct + icon on New Query button (#11353)
     add 225c905  fix(listview): hide actions column if no actions are allowed (#11337)
     add 54c2ad4  fix(sqla): allow 'unknown' type queries in explore view (#11365)
     add dfbcbcc  fix: Allow "EXPLAIN" queries when "Allow DML" setting is False (#11348)
     add f14cf9d  fix: saved_query search on schema and database not working (#11286)
     add 6fe7b4a  feat: adding feature flags to escape/hide html in markdown (#11340)
     add 6dd5d5c  style: make <Label/> not uppercase (#11355)
     add f6436b7  fix: 'Save Chart' modal's dashboard dropdown isn't sticky (#11338)
     add 69046f0  style(sqllab): wrap text in monospace db-provided error messages (#11354)
     add c4effe1  Log warning for failure to get table/view names from DB (#11374)
     add 9dfe9ae  Fix overflowing tabs (#11367)
     add a2a614d  feat: CSS Templates List Actions (#11271)
     add dcf1276  chore(prophet): ignore logged warning for missing plotly package (#11334)
     add a366a34  docs: Fix typo in installing from scratch (#11026)
     add 6c5da18  removing outlines on a few key elements (#11372)
     add 85e28dd  perf(api): improve API info performance (#11346)
     add b86f779  feat: add statsd metrics to FAB rest API post, put and delete (#11362)
     add 5a3d23d  docs: add VLMedia to users list (#11386)
     add c1ec546  Merge branch 'master' into feature/filter-p0

No new revisions were added by this update.

Summary of changes:
 .pre-commit-config.yaml                            |   2 +-
 INTHEWILD.md                                       |   1 +
 UPDATING.md                                        |   7 +
 docs/src/pages/docs/roadmap-page.mdx               |  11 +-
 docs/static/images/roadmap.png                     | Bin 0 -> 522043 bytes
 requirements/testing.in                            |   3 +-
 requirements/testing.txt                           |  13 +-
 setup.cfg                                          |   3 +-
 .../integration/dashboard/edit_mode.test.js        |  72 +++--
 .../cypress/integration/dashboard/fav_star.test.js |  14 +-
 .../cypress/integration/dashboard/load.test.js     |   4 +-
 .../cypress/integration/dashboard/markdown.test.ts |  32 +-
 .../cypress/integration/dashboard/save.test.js     |  35 ++-
 .../cypress/integration/dashboard/tabs.test.js     |  89 +++---
 .../integration/explore/AdhocFilters.test.ts       |   1 +
 .../integration/explore/AdhocMetrics.test.ts       |   1 +
 .../cypress/integration/explore/advanced.test.ts   |   2 +-
 .../cypress/integration/explore/control.test.ts    |  10 +-
 superset-frontend/package-lock.json                |  17 --
 superset-frontend/package.json                     |   1 -
 .../spec/javascripts/components/Menu_spec.jsx      |   2 +-
 .../components/URLShortLinkButton_spec.jsx         |   4 +-
 .../dashboard/reducers/dashboardState_spec.js      |  29 +-
 .../components/AdhocFilterEditPopover_spec.jsx     |   4 +-
 .../explore/components/AdhocFilterOption_spec.jsx  |   8 +-
 .../AdhocMetricEditPopoverTitle_spec.jsx           |  18 +-
 .../components/AdhocMetricEditPopover_spec.jsx     |  18 +-
 .../explore/components/AdhocMetricOption_spec.jsx  |  24 +-
 .../explore/components/ColorPickerControl_spec.jsx |   6 +-
 .../explore/components/DateFilterControl_spec.jsx  |  41 ++-
 .../explore/components/EmbedCodeButton_spec.jsx    |   6 +-
 .../components/FilterBoxItemControl_spec.jsx       |   6 +-
 .../components/TimeSeriesColumnControl_spec.jsx    |   6 +-
 .../explore/components/ViewportControl_spec.jsx    |   4 +-
 .../spec/javascripts/sqllab/App_spec.jsx           |   9 -
 .../spec/javascripts/sqllab/LimitControl_spec.jsx  |  63 ++--
 .../spec/javascripts/sqllab/QueryTable_spec.jsx    |  18 +-
 .../javascripts/sqllab/ShareSqlLabQuery_spec.jsx   |   6 +-
 .../CRUD/csstemplates/CssTemplateModal_spec.jsx}   |  73 +++--
 .../CRUD/csstemplates/CssTemplatesList_spec.jsx    |  91 +++++-
 superset-frontend/src/SqlLab/components/App.jsx    |  37 ---
 .../src/SqlLab/components/LimitControl.tsx         | 120 ++++----
 .../src/SqlLab/components/QuerySearch.jsx          |  32 +-
 .../src/SqlLab/components/QueryTable.jsx           | 110 +++----
 .../src/SqlLab/components/ResultSet.tsx            |   5 +
 .../src/SqlLab/components/ShareSqlLabQuery.jsx     |  16 +-
 .../src/SqlLab/components/SouthPane.jsx            |   3 +-
 .../src/SqlLab/components/SqlEditor.jsx            |   2 +-
 .../src/SqlLab/components/SqlEditorLeftBar.jsx     |   4 -
 .../src/SqlLab/components/TabbedSqlEditors.jsx     |   1 -
 .../src/SqlLab/components/TableElement.jsx         |   2 +-
 superset-frontend/src/SqlLab/main.less             |   1 +
 .../components/Popover.tsx}                        |  11 +-
 .../src/common/components/common.stories.tsx       |  32 +-
 superset-frontend/src/components/AvatarIcon.tsx    |  60 ----
 .../FacePile/FacePile.stories.tsx}                 |  49 ++-
 .../src/components/FacePile/FacePile.test.tsx      |  72 +++++
 .../src/components/FacePile/index.tsx              |  72 +++++
 .../src/components/FacePile/utils.tsx              |  49 +++
 superset-frontend/src/components/Hotkeys.jsx       |  15 +-
 superset-frontend/src/components/Menu/Menu.tsx     |  63 +++-
 superset-frontend/src/components/Menu/NewMenu.tsx  |  22 +-
 superset-frontend/src/components/Menu/UserMenu.tsx |  56 ----
 .../src/components/URLShortLinkButton.jsx          |  16 +-
 .../components/dataViewCommon/TableCollection.tsx  |   1 +
 .../dashboard/components/BuilderComponentPane.jsx  |   2 +-
 .../src/dashboard/components/Header.jsx            |   6 +-
 .../dashboard/components/HeaderActionsDropdown.jsx |   3 +
 .../src/dashboard/components/SaveModal.jsx         |   6 +-
 .../src/dashboard/components/SliceAdder.jsx        |   1 +
 .../components/gridComponents/ChartHolder.jsx      |  13 +-
 .../components/gridComponents/Markdown.jsx         |  30 +-
 .../src/dashboard/containers/DashboardHeader.jsx   |   1 +
 .../src/dashboard/reducers/dashboardState.js       |   2 +
 .../src/dashboard/reducers/getInitialState.js      |   2 +-
 .../src/datasource/ChangeDatasourceModal.tsx       |  35 ++-
 .../src/datasource/DatasourceModal.tsx             |   3 +
 .../explore/components/AdhocFilterEditPopover.jsx  | 133 ++++-----
 .../src/explore/components/AdhocFilterOption.jsx   |  35 ++-
 .../explore/components/AdhocMetricEditPopover.jsx  | 231 +++++++--------
 .../components/AdhocMetricEditPopoverTitle.jsx     |  25 +-
 .../src/explore/components/AdhocMetricOption.jsx   |  80 +++--
 .../src/explore/components/EmbedCodeButton.jsx     | 116 ++++----
 .../src/explore/components/PropertiesModal.tsx     |   4 +-
 .../components/controls/AnnotationLayer.jsx        |   7 +-
 .../components/controls/AnnotationLayerControl.jsx |  60 ++--
 .../components/controls/ColorPickerControl.jsx     |  15 +-
 .../components/controls/DateFilterControl.jsx      | 330 +++++++++++----------
 .../components/controls/FilterBoxItemControl.jsx   |  21 +-
 .../controls/TimeSeriesColumnControl.jsx           | 281 +++++++++---------
 .../components/controls/ViewportControl.jsx        |  15 +-
 superset-frontend/src/featureFlags.ts              |   2 +
 superset-frontend/src/types/Owner.ts               |   2 +-
 .../src/views/CRUD/chart/ChartList.tsx             |  18 +-
 .../views/CRUD/csstemplates/CssTemplateModal.tsx   | 257 ++++++++++++++++
 .../views/CRUD/csstemplates/CssTemplatesList.tsx   | 265 ++++++++++++++---
 .../Owner.ts => views/CRUD/csstemplates/types.ts}  |  21 +-
 .../src/views/CRUD/dashboard/DashboardList.tsx     |  32 +-
 .../src/views/CRUD/data/database/DatabaseList.tsx  |   6 +-
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |  28 +-
 .../views/CRUD/data/savedquery/SavedQueryList.tsx  |   8 +-
 superset-frontend/src/views/CRUD/hooks.ts          |   2 +-
 superset-frontend/stylesheets/antd/index.less      |   4 -
 .../stylesheets/less/cosmo/bootswatch.less         |   1 -
 superset-frontend/stylesheets/superset.less        |   8 +
 superset/common/query_context.py                   |   2 +-
 superset/config.py                                 |  11 +-
 superset/connectors/base/models.py                 |   1 +
 superset/connectors/sqla/models.py                 |   7 +-
 superset/css_templates/api.py                      |   3 +
 superset/databases/api.py                          |  66 ++++-
 superset/databases/commands/exceptions.py          |   2 +-
 superset/databases/commands/export.py              |  89 ++++++
 superset/databases/schemas.py                      |   1 +
 superset/db_engine_specs/base.py                   |  12 +
 superset/db_engine_specs/bigquery.py               |  19 ++
 superset/models/core.py                            |   7 +-
 superset/models/helpers.py                         |  35 ++-
 superset/queries/saved_queries/api.py              |   2 +-
 superset/sql_parse.py                              |  11 +-
 superset/utils/dict_import_export.py               |  18 ++
 superset/utils/pandas_postprocessing.py            |   6 +
 superset/views/base_api.py                         |  24 ++
 superset/views/core.py                             |   1 +
 superset/views/css_templates.py                    |   6 +-
 superset/views/utils.py                            |  10 +-
 tests/alerts_tests.py                              | 261 +++++++++-------
 tests/charts/api_tests.py                          |   1 -
 tests/css_templates/api_tests.py                   |  13 +-
 tests/dashboard_tests.py                           |  99 +++++--
 tests/dashboards/api_tests.py                      |  15 +-
 tests/databases/api_tests.py                       |  47 ++-
 tests/databases/commands_tests.py                  | 266 +++++++++++++++++
 tests/datasets/api_tests.py                        | 194 ++++++------
 tests/db_engine_specs/bigquery_tests.py            |  21 ++
 tests/fixtures/datasource.py                       |   1 +
 tests/queries/saved_queries/api_tests.py           |  50 ++++
 tests/sql_parse_tests.py                           |  48 +++
 tests/sqla_models_tests.py                         |  28 +-
 tests/sqllab_tests.py                              |   4 +
 140 files changed, 3332 insertions(+), 1765 deletions(-)
 create mode 100644 docs/static/images/roadmap.png
 copy superset-frontend/spec/javascripts/{datasource/ChangeDatasourceModal_spec.jsx => views/CRUD/csstemplates/CssTemplateModal_spec.jsx} (50%)
 copy superset-frontend/src/{components/RefreshLabel.less => common/components/Popover.tsx} (81%)
 delete mode 100644 superset-frontend/src/components/AvatarIcon.tsx
 copy superset-frontend/src/{dashboard/components/resizable/ResizableHandle.jsx => components/FacePile/FacePile.stories.tsx} (53%)
 create mode 100644 superset-frontend/src/components/FacePile/FacePile.test.tsx
 create mode 100644 superset-frontend/src/components/FacePile/index.tsx
 create mode 100644 superset-frontend/src/components/FacePile/utils.tsx
 delete mode 100644 superset-frontend/src/components/Menu/UserMenu.tsx
 create mode 100644 superset-frontend/src/views/CRUD/csstemplates/CssTemplateModal.tsx
 copy superset-frontend/src/{types/Owner.ts => views/CRUD/csstemplates/types.ts} (79%)
 create mode 100644 superset/databases/commands/export.py
 create mode 100644 tests/databases/commands_tests.py