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 2021/06/29 21:23:32 UTC

[superset] branch pexdax/db-connection-ui updated (47644d5 -> 1ce8104)

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

hugh pushed a change to branch pexdax/db-connection-ui
in repository https://gitbox.apache.org/repos/asf/superset.git.


    from 47644d5  fix: Showing errors for SQLA forms (#15462)
     add 745b577  docs: Fix naming: Flask-Cache -> Flask-Caching (#15233)
     add 2cf9946  chore: Add height/width TrashIcon SVG(18px/18px)-Edit Dataset modal (#14956)
     add a102715  add ascend engine spec (#14682)
     add 822eb2e  feat(sql): add jinja support to metrics and expressions (#15247)
     add f24264c  feat(native-filters): add support for import/export dashboard (#15253)
     add cee4032  initail commit (#15261)
     add a7f89b8  chore(docs): update releasing docs (#15040)
     add 14598d4  chore: add dry false config to CleanWebpackPlugin (#14691)
     add b1689aa  chore move calling configure_feature_flags more earlier (#15223)
     add 2792ddc  refactor: move SupersetAppInitializer to specific initialization package (#15278)
     add b28d7ea  fix(native-filters): default value checkbox in config modal (#15257)
     add cd0e03a  chore: encapsulate flask app into superset app (#15281)
     add 1948678  fix(helm): Use import_datasources.yaml, if it exists (#14704)
     add 048609d  feat(native-filters): Show/Highlight errored/focused status (#15276)
     add cef3dc0  fix(native-filters): improve time range filter performance (#15295)
     add 4d48f04  adding new feature flag (#15238)
     add ab153e6  feat: Synchronously return cached charts (#15157)
     add 5b2eb8d  Revert "fix: SQL Lab show "Refetch Results" button while fetching new query results (#15109)" (#15301)
     add fc1a62b  chore: Improves the Select component UI/UX - iteration 2 (#15235)
     add 58cc78d  fix: return query if it already exists (#15207)
     add c211f7d  refactor: icon to icons in DatasourceEditor (#15240)
     add f31d573  feat(editable-title): move and scroll to the end (#15270)
     add 6324490  fix(dashboard): Close FiltersBadge popover on window resize (#15305)
     add b89ee0c  fix(native-filters): Assume that temporal columns exist if column_types is undefined (#15324)
     add 216e2b8  fix: datasource payload is incorrect (#15184)
     add 4b00c15  feat: implement specific errors for SQL Lab (#15206)
     add ea382e4  fix: Capitalize time grainularity weekdays (#15319)
     add f35ce39  refactor: migrate icon to icons in tablecollection (#15309)
     add 7a1223c  Revert "build(webpack): use [contenthash] instead of [chunkhash] (#14942)" (#15285)
     add b295c6a  fix(api): handle undefined column type_generic (#15315)
     add a330b66  docs: correct incorrect hyperlink (#15245)
     add e1ceb7f  refactor: Icon to icons for certifiedIcon (#15306)
     add 352656a  Fix issue #15335 (#15339)
     add f0b6419  feat(native-filters): Set default scope by filters' and charts' datasets  (#15302)
     add b3cdff4  fix(native-filters): show default text on filter scoping tree (#15351)
     add fae4531  fix: missing orderby in query on the nvd3 timeseries chart (#15343)
     add b3616d2  fix: follow up pr-15343 (#15355)
     add 241ee32  feat: custom error SQL Lab timeout (#15342)
     add 680b447  style(sqllab): update table count styling (#15200)
     add a477505  refactor: icon to icons for basicerror componenet (#15336)
     add a3f4e4a  refactor: icon to icons in erroralert component (#15341)
     add 53aa351  chore: bump @svgr/webpack to 5.5.0 (#15349)
     add accee50  chore: Add Druid SQL timegrains for parity with Druid NoSQL (#15320)
     add 819118b  fix: Enlarged select filter value (#15373)
     add 9330c6e  initial commit (#15380)
     add 95b9e2e  refactor: icon to icons for favestar component (#15371)
     add a7e1037  chore: Improves the Select component UI/UX - iteration 3 (#15363)
     add 1e8fb8b  chore: Migrates ControlHeader icons (#15265)
     add bdb9b0a  chore: Rewrites dashboard IconButton component (#14174)
     add f3f0184  initial commit (#15392)
     add 22d23fc  Add possibility to specify Service Account name for the Deployment in the Helm chart (#15340)
     add 09c44d0  feat(native-filters): Hide non-numeric columns in numeric range filter (#15385)
     add 73e2c09  fix(regression): removed flask_app property can break derived class (#15407)
     add a3d91ae  Fix bootstrapScript in values.yaml of the helm chart (#15297)
     add b9b903f  feat: Adding a show all button to the column/metrics list in the explore view (Allow more than 50 columns to be shown) (#15153)
     add a4ce952  docs: release documentation for 1.2 (#14572)
     add e62cb2f  chore: Add Slovenian (sl_SI) translation (#14908)
     add 2ebc0a0  chore: upgrade Flask-Caching>=1.10.0
     add f53b2c6  docs: Update SIP template (#14278)
     add 8205ea5  chore: add DASHBOARD_FILTERS_EXPERIMENTAL ff to BE default value (#15417)
     add ddcf461  fix(native-filters): show human readable time grain label in indicator (#15411)
     add d8a1acf  chore(refactor): load configuration and merge recursively  (#15405)
     add 486b8d9  refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)
     add 93447d1  Update Header.jsx (#13467)
     add 1c4cb28  fix: double click slq lab table cell (#15400)
     add ac18c90  fix: Cascading filter popover widens automatically (#15390)
     add 18f3089  Update CONTRIBUTING.md (#14880)
     add 0b7e524  fix: Select item when allowNewOptions is true and the Enter is pressed (#15429)
     add f52b671  fix: downgrade selenium log level on timeout (#15328)
     add e713912  chore: Uses mixed case for native filters headers (#15433)
     add 21d1fb5  feat: more error messages (#15409)
     add ed6d10e  Remove pydash merge (#15435)
     add a0179ac  refactor: icon to icons for inderteminatecheckbox icon (#15397)
     add 076f774  refactor: icon to icons for lastupdated component (#15401)
     add faae27b  Open in _self (#14778)
     add 1797805  Fix wrong filename mentioned in INSTALL.md (#14630)
     add fe77558  add missing logging import (#14994)
     add b8f4e7d  fix: add dashboard markdown id (#15418)
     add fa6b25d  fix(explore): switch to correct scheme registry for custom sequential color schemes (#15314)
     add 2af9287  chore(docs): Manage access to Dashboards (#15413)
     add f33a0e1  fix: import superset_config (#15444)
     add f109da4  perf(dashboard): Improve perf of highlighting charts in scope of active filter (#15424)
     add 727847d  fix: remove unnecessary app context on celery (#15422)
     add dd40733  fix(native-filters): filter type check when using experimental flag (#15446)
     add ab7f31f  Revert "refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)" (#15448)
     add 4630abb  feat(native-filters): add support for preselect filters (#15427)
     add 4a394cd  fix(dashboard): native filters highlight with multiple tabs jumps to first tab (#15455)
     add 44504f5  Merge branch 'master' of https://github.com/apache/superset into pexdax/db-connection-ui
     add 1ce8104  Merge branch 'pexdax/db-connection-ui' of https://github.com/apache/superset into pexdax/db-connection-ui

No new revisions were added by this update.

Summary of changes:
 .github/ISSUE_TEMPLATE/sip.md                      |     4 +-
 CHANGELOG.md                                       |   505 +
 CONTRIBUTING.md                                    |     2 +-
 INSTALL.md                                         |     2 +-
 RELEASING/README.md                                |     7 +-
 RELEASING/release-notes-1-2/README.md              |   122 +
 .../release-notes-1-2/media/dashboard_rbac.png     |   Bin 0 -> 554983 bytes
 .../release-notes-1-2/media/native_filters.png     |   Bin 0 -> 392227 bytes
 .../media/native_filters_temporal.png              |   Bin 0 -> 120672 bytes
 .../release-notes-1-2/media/pivot_table_v2.png     |   Bin 0 -> 590341 bytes
 RELEASING/release-notes-1-2/media/radar_chart.png  |   Bin 0 -> 222199 bytes
 .../media/time_series_multichart.png               |   Bin 0 -> 38078 bytes
 docs/installation.rst                              |    11 +-
 .../pages/docs/Connecting to Databases/ascend.mdx  |    17 +
 .../pages/docs/Connecting to Databases/index.mdx   |     1 +
 .../docs/Creating Charts and Dashboards/index.mdx  |    16 +
 docs/src/pages/docs/Miscellaneous/issue_codes.mdx  |    64 +
 .../pages/docs/frequently-asked-questions-page.mdx |     2 +-
 docs/src/pages/docs/installation/caching.mdx       |     6 +-
 docs/src/pages/docs/installation/configuring.mdx   |     3 +-
 docs/static/images/tutorial_dashboard_access.png   |   Bin 0 -> 46743 bytes
 helm/superset/Chart.yaml                           |     2 +-
 helm/superset/templates/deployment-worker.yaml     |     3 +
 helm/superset/templates/deployment.yaml            |     3 +
 helm/superset/values.yaml                          |    27 +-
 requirements/base.txt                              |     2 +-
 requirements/testing.txt                           |     2 -
 setup.cfg                                          |     2 +-
 setup.py                                           |     3 +-
 .../integration/chart_list/card_view.test.ts       |    16 +-
 .../integration/chart_list/list_view.test.ts       |     6 +-
 .../cypress/integration/dashboard/fav_star.test.js |    22 +-
 .../integration/dashboard_list/card_view.test.ts   |    16 +-
 .../integration/dashboard_list/list_view.test.ts   |     6 +-
 superset-frontend/package-lock.json                | 23401 ++++++++-----------
 superset-frontend/package.json                     |     4 +-
 .../spec/fixtures/mockDashboardLayout.js           |     2 +-
 .../dashboard/components/FiltersBadge_spec.tsx     |    99 +-
 .../components/gridComponents/Divider_spec.jsx     |     2 +-
 .../components/gridComponents/Tabs_spec.jsx        |    13 +-
 .../dashboard/util/getDashboardUrl_spec.js         |    45 +-
 .../util/getFormDataWithExtraFilters_spec.ts       |     1 +
 .../datasource/DatasourceEditor_spec.jsx           |     9 +-
 superset-frontend/src/CRUD/CollectionTable.tsx     |     2 +-
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |    15 +-
 superset-frontend/src/chart/chartAction.js         |    33 +-
 .../index.ts                                       |     2 +-
 .../useComponentDidUpdate.test.ts}                 |    15 +-
 .../useComponentDidUpdate.ts}                      |    19 +-
 superset-frontend/src/components/Alert/index.tsx   |     3 +-
 .../AlteredSliceTag/AlteredSliceTag.test.jsx       |     4 +-
 .../src/components/AnchorLink/index.jsx            |     8 +-
 .../src/components/CertifiedIcon/index.tsx         |     7 +-
 .../src/components/EditableTitle/index.tsx         |     7 +
 .../ErrorMessage/BasicErrorAlert.test.tsx          |    14 +-
 .../components/ErrorMessage/BasicErrorAlert.tsx    |    11 +-
 .../components/ErrorMessage/ErrorAlert.test.tsx    |    14 +-
 .../src/components/ErrorMessage/ErrorAlert.tsx     |    34 +-
 .../src/components/ErrorMessage/types.ts           |     6 +
 .../src/components/FaveStar/FaveStar.test.tsx      |    16 +-
 .../src/components/FaveStar/index.tsx              |     4 +-
 .../components/FilterableTable/FilterableTable.tsx |     4 +-
 .../components/IconTooltip/IconTooltip.stories.tsx |     4 +-
 .../src/components/ImportModal/index.tsx           |     5 -
 .../src/components/IndeterminateCheckbox/index.tsx |    22 +-
 .../components/LastUpdated/LastUpdated.test.tsx    |     2 +-
 .../src/components/LastUpdated/index.tsx           |     8 +-
 .../src/components/Select/AntdSelect.stories.tsx   |   244 -
 .../src/components/Select/AntdSelect.tsx           |   355 -
 .../src/components/Select/Select.stories.tsx       |   471 +
 superset-frontend/src/components/Select/Select.tsx |   442 +
 superset-frontend/src/components/Select/utils.ts   |     2 +-
 .../src/components/TableSelector/index.tsx         |    13 +-
 .../components/dataViewCommon/TableCollection.tsx  |     8 +-
 superset-frontend/src/components/index.ts          |     2 +-
 superset-frontend/src/constants.ts                 |     8 +
 superset-frontend/src/dashboard/actions/hydrate.js |     1 +
 .../CrossFilterScopingForm.test.tsx                |     6 +-
 .../CrossFilterScopingForm/index.tsx               |     6 +-
 .../DashboardBuilder/DashboardBuilder.tsx          |     3 +-
 .../DashboardBuilder/DashboardContainer.tsx        |    11 +-
 .../dashboard/components/DashboardBuilder/state.ts |     7 +-
 .../dashboard/components/DashboardBuilder/utils.ts |     3 +-
 .../dashboard/components/DeleteComponentButton.jsx |     6 +-
 .../components/FiltersBadge/DetailsPanel/index.tsx |    14 +-
 .../dashboard/components/FiltersBadge/index.tsx    |   160 +-
 .../dashboard/components/FiltersBadge/selectors.ts |    66 +-
 .../Header/HeaderActionsDropdown/index.jsx         |    27 +-
 .../src/dashboard/components/Header/index.jsx      |     5 +-
 .../src/dashboard/components/IconButton.jsx        |    63 -
 .../RemovedFilter.tsx => IconButton.tsx}           |    53 +-
 .../dashboard/components/PropertiesModal/index.jsx |     1 -
 .../components/SliceHeader/SliceHeader.test.tsx    |     2 +-
 .../src/dashboard/components/SliceHeader/index.tsx |     2 +-
 .../components/SliceHeaderControls/index.tsx       |    10 +-
 .../components/gridComponents/ChartHolder.jsx      |    36 +-
 .../dashboard/components/gridComponents/Column.jsx |    30 +-
 .../components/gridComponents/Markdown.jsx         |     1 +
 .../dashboard/components/gridComponents/Row.jsx    |    26 +-
 .../dashboard/components/gridComponents/Tabs.jsx   |    17 +-
 .../components/gridComponents/Tabs.test.tsx        |     2 +-
 .../dashboard/components/gridComponents/index.js   |     4 +-
 .../CascadeFilters/CascadeFilterControl/index.tsx  |    54 +-
 .../CascadeFilters/CascadePopover/index.tsx        |    25 +-
 .../FilterBar/FilterControls/FilterControl.tsx     |    56 +-
 .../FilterBar/FilterControls/FilterValue.tsx       |    87 +-
 .../components/nativeFilters/FilterBar/index.tsx   |    31 +-
 .../components/nativeFilters/FilterBar/state.ts    |    16 +-
 .../FiltersConfigForm/CollapsibleControl.tsx       |    13 +-
 .../FiltersConfigForm/ColumnSelect.tsx             |    50 +-
 .../FiltersConfigForm/DefaultValue.tsx             |     5 +-
 .../FiltersConfigForm/FilterScope/FilterScope.tsx  |    85 +-
 .../FiltersConfigForm/FilterScope/ScopingTree.tsx  |    29 +-
 .../FiltersConfigForm/FilterScope/state.ts         |    16 +-
 .../FiltersConfigForm/FilterScope/types.ts         |    12 +-
 .../FiltersConfigForm/FilterScope/utils.ts         |    40 +-
 .../FiltersConfigForm/FiltersConfigForm.tsx        |   183 +-
 .../FiltersConfigForm/getControlItemsMap.tsx       |     2 +-
 .../FiltersConfigModal/FiltersConfigForm/state.ts  |    49 +-
 .../FiltersConfigModal/FiltersConfigForm/utils.ts  |    29 +
 .../FiltersConfigModal/FiltersConfigModal.test.tsx |     2 +-
 .../dashboard/components/nativeFilters/state.ts    |    11 +
 .../dashboard/components/nativeFilters/utils.ts    |     1 +
 .../dashboard/containers/DashboardComponent.jsx    |    28 +-
 .../src/dashboard/containers/DashboardHeader.jsx   |     4 +
 .../src/dashboard/containers/FiltersBadge.tsx      |   115 -
 .../src/dashboard/stylesheets/buttons.less         |    43 -
 .../src/dashboard/stylesheets/index.less           |     1 -
 superset-frontend/src/dashboard/types.ts           |    25 +-
 .../src/dashboard/util/activeDashboardFilters.js   |     4 +-
 .../src/dashboard/util/getDashboardUrl.ts          |    36 +-
 .../src/datasource/DatasourceEditor.jsx            |    17 +-
 .../src/explore/components/ControlHeader.jsx       |    25 +-
 .../explore/components/DataTablesPane/index.tsx    |     4 +-
 .../explore/components/DatasourcePanel/index.tsx   |    43 +-
 .../controls/DateFilterControl/DateFilterLabel.tsx |    25 +-
 .../index.tsx                                      |     2 +-
 .../explore/components/controls/ViewQueryModal.tsx |     4 +-
 .../src/explore/exploreUtils/index.js              |     2 +-
 .../components/GroupBy/GroupByFilterPlugin.tsx     |    57 +-
 .../src/filters/components/GroupBy/controlPanel.ts |    12 +
 .../filters/components/Range/RangeFilterPlugin.tsx |    90 +-
 .../src/filters/components/Range/controlPanel.ts   |    18 +
 .../components/Select/SelectFilterPlugin.tsx       |   101 +-
 .../src/filters/components/Select/controlPanel.ts  |     3 +-
 .../filters/components/Time/TimeFilterPlugin.tsx   |    40 +-
 .../src/filters/components/Time/controlPanel.ts    |    22 +-
 .../TimeColumn/TimeColumnFilterPlugin.tsx          |    54 +-
 .../filters/components/TimeColumn/controlPanel.ts  |    22 +-
 .../components/TimeGrain/TimeGrainFilterPlugin.tsx |    62 +-
 .../filters/components/TimeGrain/controlPanel.ts   |    22 +-
 superset-frontend/src/filters/components/common.ts |     2 +-
 superset-frontend/src/setup/setupColors.ts         |     5 +-
 superset-frontend/src/setup/setupErrorMessages.ts  |    24 +
 superset-frontend/src/utils/urlUtils.ts            |    13 +-
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |     2 +-
 superset-frontend/webpack.config.js                |    13 +-
 superset/app.py                                    |   733 +-
 superset/charts/api.py                             |    39 +-
 superset/common/query_object.py                    |     4 +-
 superset/config.py                                 |    41 +-
 superset/connectors/base/models.py                 |    10 +-
 superset/connectors/connector_registry.py          |    62 +
 superset/connectors/druid/models.py                |    12 +-
 superset/connectors/sqla/models.py                 |    26 +-
 superset/dashboards/commands/importers/v0.py       |    25 +-
 superset/datasets/api.py                           |    18 +-
 superset/db_engine_specs/{exasol.py => ascend.py}  |    24 +-
 superset/db_engine_specs/base.py                   |    11 +-
 superset/db_engine_specs/druid.py                  |     9 +
 superset/errors.py                                 |    70 +
 superset/exceptions.py                             |    16 +-
 superset/{app.py => initialization/__init__.py}    |   111 +-
 superset/models/dashboard.py                       |    14 +
 superset/sql_lab.py                                |   111 +-
 superset/tasks/async_queries.py                    |   149 +-
 superset/tasks/thumbnails.py                       |    60 +-
 superset/translations/ja/LC_MESSAGES/messages.json |     8 +-
 superset/translations/ja/LC_MESSAGES/messages.po   |     8 +-
 superset/translations/ko/LC_MESSAGES/messages.json |     8 +-
 superset/translations/ko/LC_MESSAGES/messages.po   |     8 +-
 superset/translations/messages.pot                 |     8 +-
 superset/translations/sl/LC_MESSAGES/messages.json |  4501 ++++
 superset/translations/sl/LC_MESSAGES/messages.po   | 13575 +++++++++++
 superset/typing.py                                 |    16 +-
 superset/utils/core.py                             |     9 +-
 superset/utils/webdriver.py                        |     4 +-
 superset/views/chart/views.py                      |     2 +-
 superset/views/core.py                             |    96 +-
 superset/views/sql_lab.py                          |     6 +-
 superset/viz.py                                    |    15 +-
 tests/access_tests.py                              |    79 +
 tests/charts/api_tests.py                          |    75 +-
 tests/core_tests.py                                |     2 +-
 tests/datasets/api_tests.py                        |     3 +
 .../{impala_tests.py => ascend_tests.py}           |     8 +-
 tests/sqla_models_tests.py                         |    51 +-
 tests/sqllab_tests.py                              |   180 +-
 198 files changed, 32612 insertions(+), 16145 deletions(-)
 create mode 100644 RELEASING/release-notes-1-2/README.md
 create mode 100644 RELEASING/release-notes-1-2/media/dashboard_rbac.png
 create mode 100644 RELEASING/release-notes-1-2/media/native_filters.png
 create mode 100644 RELEASING/release-notes-1-2/media/native_filters_temporal.png
 create mode 100644 RELEASING/release-notes-1-2/media/pivot_table_v2.png
 create mode 100644 RELEASING/release-notes-1-2/media/radar_chart.png
 create mode 100644 RELEASING/release-notes-1-2/media/time_series_multichart.png
 create mode 100644 docs/src/pages/docs/Connecting to Databases/ascend.mdx
 create mode 100644 docs/static/images/tutorial_dashboard_access.png
 copy superset-frontend/src/common/hooks/{useComponentDidMount => useComponentDidUpdate}/index.ts (95%)
 copy superset-frontend/src/common/hooks/{useComponentDidMount/useComponentDidMount.test.ts => useComponentDidUpdate/useComponentDidUpdate.test.ts} (68%)
 copy superset-frontend/src/{components/Icons/IconType.ts => common/hooks/useComponentDidUpdate/useComponentDidUpdate.ts} (72%)
 delete mode 100644 superset-frontend/src/components/Select/AntdSelect.stories.tsx
 delete mode 100644 superset-frontend/src/components/Select/AntdSelect.tsx
 create mode 100644 superset-frontend/src/components/Select/Select.stories.tsx
 create mode 100644 superset-frontend/src/components/Select/Select.tsx
 delete mode 100644 superset-frontend/src/dashboard/components/IconButton.jsx
 copy superset-frontend/src/dashboard/components/{nativeFilters/FiltersConfigModal/FiltersConfigForm/RemovedFilter.tsx => IconButton.tsx} (56%)
 delete mode 100644 superset-frontend/src/dashboard/containers/FiltersBadge.tsx
 delete mode 100644 superset-frontend/src/dashboard/stylesheets/buttons.less
 copy superset/db_engine_specs/{exasol.py => ascend.py} (65%)
 copy superset/{app.py => initialization/__init__.py} (90%)
 create mode 100644 superset/translations/sl/LC_MESSAGES/messages.json
 create mode 100644 superset/translations/sl/LC_MESSAGES/messages.po
 copy tests/db_engine_specs/{impala_tests.py => ascend_tests.py} (82%)