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/11/02 18:57:55 UTC
[incubator-superset] branch hugh/so-1121 updated (a227d42 ->
311fbaf)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/so-1121
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from a227d42 cleanup
add e9dba18 feat: annotation layers CRUD list view (#11432)
add 18658f4 feat(dashboards): Filter status indicators (#10936)
add e024267 fix: Unwinds icon fallout that came along with filters PR (#11474)
add 62629ec Add IBM Cloud deployment guide (#11473)
add 68d493e fix: dashboard tab only shows move cursor when editing (#11480)
add e050340 feat(explore): change save button text when users cannot override (#11281)
add ed3dca4 Added z index to resizible char (#11456)
add f918ca1 fix(datasets): add custom filter for virtual datasets based on sql attribute (#11452)
add 1d9d905 fix: prevent race condition when canceling query (#11449)
add b1263ad Revert "fix: change chart title by clicking (#11335)" (#11497)
add 074f8c2 other: Improvements to bug report template (#11307)
add 9369369 feat: disable save button when saving datasource (#11493)
add a8eb3fe chore: Cleaning up ENABLE_REACT_CRUD_VIEWS config (#11496)
add f7051ea feat: home screen mvp (#11206)
add 66fc267 docs(release): script to generate a CHANGELOG.md (#11469)
add bf3e41d fix(api): don't log db conn failures on db create/update (#11503)
add 5674309 docs: fix db drivers PG and ES (#11504)
add 21f722c feat: add endpoint to export saved queries using new format (#11447)
add f2b8d6a chore: rename ImportMixin to ImportExportMixin (#11460)
add ca40877 feat: add certifications to tables (#11450)
add fbcfaac feat: create base class for export commands (#11463)
add 29554a9 fix: show recent visited dashboards and charts in recent_activity (#11481)
add cd1d89b fix: import for moment in ActivityTable (#11506)
add fe3fdd2 build(deps): bump lodash in /superset-frontend/cypress-base (#11483)
add 9c83244 build(deps): bump object-path from 0.11.4 to 0.11.5 in /docs (#11484)
add 5d9560c build(deps-dev): bump node-fetch in /superset-frontend (#11485)
add 01ddbd0 feat: annotation layers modal + filters (#11494)
add 55a3404 refactor: Replace react-bootstrap tabs with Antd tabs (#11118)
add 34ae29e feat: query REST API more fields and tests (#11482)
add 9a1fcc7 chore: bump pypi cryptography from 2.4.2 to 3.2.1 (#11511)
add 2d61d68 chore: add dependabot.yml config file (#11510)
add e3b6dbe chore: run 'npm audit fix', bump react-syntax-highlighter (#11512)
add 854a461 feat: make logo link point to welcome page (#11519)
add 19f2deb refactor: Replace react-bootstrap Modals with Antd in Explore (#11389)
add 5d9448f feat: globally disable underscore for links in menu items (#11491)
add 311fbaf Merge branch 'master' of https://github.com/apache/incubator-superset into hugh/so-1121
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/bug_report.md | 3 +-
.github/dependabot.yml | 17 ++
RELEASING/README.md | 9 +-
RELEASING/changelog.py | 268 ++++++++++++++++++
docs/package-lock.json | 6 +-
.../pages/docs/Connecting to Databases/index.mdx | 4 +-
docs/src/pages/resources.tsx | 4 +
requirements/base.txt | 2 +-
setup.py | 2 +-
.../integration/dashboard/edit_mode.test.js | 5 +-
.../cypress/integration/dashboard/save.test.js | 5 +-
.../integration/explore/AdhocFilters.test.ts | 6 +
.../integration/explore/AdhocMetrics.test.ts | 8 -
.../cypress/integration/explore/control.test.ts | 6 +-
.../cypress/integration/explore/link.test.js | 4 +-
superset-frontend/cypress-base/package-lock.json | 12 +-
superset-frontend/images/empty-charts.png | Bin 0 -> 2274 bytes
superset-frontend/images/empty-dashboard.png | Bin 0 -> 1467 bytes
superset-frontend/images/empty-queries.png | Bin 0 -> 1791 bytes
superset-frontend/images/empty.svg | 22 ++
superset-frontend/images/icons/filter.svg | 2 +-
.../images/icons/{filter.svg => filter_small.svg} | 0
superset-frontend/images/star-circle.png | Bin 0 -> 2705 bytes
superset-frontend/images/union.png | Bin 0 -> 1694 bytes
superset-frontend/package-lock.json | 121 ++++-----
superset-frontend/package.json | 5 +-
.../spec/javascripts/components/SubMenu_spec.jsx | 2 +-
.../components/FilterIndicatorGroup_spec.jsx | 57 ----
.../components/FilterIndicatorTooltip_spec.jsx | 43 ---
.../dashboard/components/FilterIndicator_spec.jsx | 63 -----
.../components/FilterIndicatorsContainer_spec.jsx | 107 --------
.../components/FilterTooltipWrapper_spec.jsx | 68 -----
.../dashboard/components/FiltersBadge_spec.tsx | 112 ++++++++
.../components/gridComponents/ChartHolder_spec.jsx | 5 +
.../components/gridComponents/Column_spec.jsx | 5 +
.../components/gridComponents/Header_spec.jsx | 4 +-
.../components/gridComponents/Row_spec.jsx | 5 +
.../components/gridComponents/Tab_spec.jsx | 4 +-
.../components/gridComponents/Tabs_spec.jsx | 5 +
.../dashboard/fixtures/mockDashboardState.js | 2 +-
.../javascripts/dashboard/fixtures/mockStore.js | 61 ++++-
.../dashboard/reducers/dashboardState_spec.js | 38 ++-
.../datasource/DatasourceEditor_spec.jsx | 2 +-
.../components/AdhocFilterEditPopover_spec.jsx | 6 +-
.../explore/components/DateFilterControl_spec.jsx | 11 +-
.../explore/components/SaveModal_spec.jsx | 7 +-
.../explore/components/VizTypeControl_spec.jsx | 8 +-
.../javascripts/profile/EditableTitle_spec.tsx | 11 +-
.../AnnotationLayerModal_spec.jsx} | 41 ++-
.../annotationlayers/AnnotationLayersList_spec.jsx | 122 +++++++++
.../views/CRUD/chart/ChartList_spec.jsx | 1 +
.../views/CRUD/welcome/ActivityTable_spec.tsx | 87 ++++++
.../views/CRUD/welcome/ChartTable_spec.tsx | 79 ++++++
.../views/CRUD/welcome/DashboardTable_spec.tsx | 78 ++++--
.../views/CRUD/welcome/EmptyState_spec.tsx | 92 +++++++
.../views/CRUD/welcome/SavedQueries_spec.tsx | 106 ++++++++
.../views/CRUD/welcome/Welcome_spec.tsx | 23 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 4 +
superset-frontend/src/chart/chartAction.js | 2 +
.../src/common/components/Modal/Modal.tsx | 4 +-
.../src/common/components/{ => Tabs}/Tabs.tsx | 16 +-
.../TableView => common/components/Tabs}/index.ts | 3 +-
.../src/common/components/{index.ts => index.tsx} | 31 ++-
superset-frontend/src/components/EditableTitle.tsx | 17 +-
superset-frontend/src/components/FaveStar.tsx | 46 ++--
.../src/components/FilterBadgeIcon.jsx | 41 ---
.../src/components/FilterBadgeIcon.less | 36 ---
superset-frontend/src/components/Icon/index.tsx | 3 +
.../src/components/ListView/ListView.tsx | 56 ++--
superset-frontend/src/components/ListView/types.ts | 3 +-
.../src/components/ListViewCard/index.tsx | 60 +++--
superset-frontend/src/components/Menu/SubMenu.tsx | 45 ++--
.../components/dataViewCommon/TableCollection.tsx | 1 +
.../src/dashboard/actions/dashboardState.js | 6 +-
.../dashboard/components/BuilderComponentPane.jsx | 13 +-
.../src/dashboard/components/DashboardBuilder.jsx | 56 +++-
.../src/dashboard/components/FilterIndicator.jsx | 79 ------
.../dashboard/components/FilterIndicatorGroup.jsx | 89 ------
.../components/FilterIndicatorTooltip.jsx | 63 -----
.../components/FilterIndicatorsContainer.jsx | 203 --------------
.../dashboard/components/FilterTooltipWrapper.jsx | 82 ------
.../components/FiltersBadge/DetailsPanel.tsx | 193 +++++++++++++
.../dashboard/components/FiltersBadge/Styles.tsx | 139 ++++++++++
.../dashboard/components/FiltersBadge/index.tsx | 84 ++++++
.../dashboard/components/FiltersBadge/selectors.ts | 161 +++++++++++
.../src/dashboard/components/Header.jsx | 8 +
.../dashboard/components/HeaderActionsDropdown.jsx | 2 +-
.../src/dashboard/components/SliceHeader.jsx | 48 ++--
.../components/filterscope/FilterFieldItem.jsx | 5 +-
.../filterscope/renderFilterFieldTreeNodes.jsx | 8 +-
.../dashboard/components/gridComponents/Chart.jsx | 4 +-
.../components/gridComponents/ChartHolder.jsx | 73 ++++-
.../dashboard/components/gridComponents/index.js | 2 +-
.../components/resizable/ResizableContainer.jsx | 10 +-
.../src/dashboard/containers/DashboardBuilder.jsx | 1 +
.../dashboard/containers/DashboardComponent.jsx | 34 ++-
.../src/dashboard/containers/FilterIndicators.jsx | 57 ----
.../src/dashboard/containers/FiltersBadge.tsx | 70 +++++
.../src/dashboard/reducers/dashboardFilters.js | 3 -
.../src/dashboard/reducers/dashboardState.js | 25 +-
.../src/dashboard/reducers/getInitialState.js | 9 +-
.../src/dashboard/stylesheets/builder.less | 18 --
.../dashboard/stylesheets/components/chart.less | 9 +-
.../dashboard/stylesheets/components/markdown.less | 8 +
.../src/dashboard/stylesheets/components/tabs.less | 2 +-
.../src/dashboard/stylesheets/dashboard.less | 36 ++-
.../stylesheets/filter-indicator-tooltip.less | 80 ------
.../dashboard/stylesheets/filter-indicator.less | 91 -------
.../src/dashboard/stylesheets/index.less | 2 -
.../src/dashboard/util/dashboardFiltersColorMap.js | 51 ----
.../src/dashboard/util/getDashboardFilterKey.ts | 8 +-
.../src/dashboard/util/propShapes.jsx | 13 -
.../src/datasource/DatasourceEditor.jsx | 159 ++++++-----
.../src/datasource/DatasourceModal.tsx | 13 +-
.../explore/components/AdhocFilterEditPopover.jsx | 20 +-
.../explore/components/AdhocMetricEditPopover.jsx | 24 +-
.../explore/components/ControlPanelsContainer.jsx | 34 ++-
.../src/explore/components/PropertiesModal.tsx | 95 +++----
.../src/explore/components/SaveModal.jsx | 77 +++---
.../components/controls/DateFilterControl.jsx | 17 +-
.../explore/components/controls/VizTypeControl.jsx | 215 +++++++--------
superset-frontend/src/views/App.tsx | 6 +
.../AnnotationLayerModal.tsx} | 176 ++++++------
.../CRUD/annotationlayers/AnnotationLayersList.tsx | 275 +++++++++++++++++++
.../{csstemplates => annotationlayers}/types.ts | 7 +-
.../src/views/CRUD/chart/ChartCard.tsx | 138 ++++++++++
.../src/views/CRUD/chart/ChartList.tsx | 144 +++-------
.../src/views/CRUD/dashboard/DashboardCard.tsx | 140 ++++++++++
.../src/views/CRUD/dashboard/DashboardList.tsx | 138 ++--------
superset-frontend/src/views/CRUD/data/common.ts | 2 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 48 +++-
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 15 +-
superset-frontend/src/views/CRUD/hooks.ts | 85 +++++-
superset-frontend/src/views/CRUD/types.ts | 49 ++++
superset-frontend/src/views/CRUD/utils.tsx | 197 ++++++++++++++
.../src/views/CRUD/welcome/ActivityTable.tsx | 209 ++++++++++++++
.../src/views/CRUD/welcome/ChartTable.tsx | 167 ++++++++++++
.../src/views/CRUD/welcome/DashboardTable.tsx | 299 +++++++++++----------
.../src/views/CRUD/welcome/EmptyState.tsx | 144 ++++++++++
.../src/views/CRUD/welcome/SavedQueries.tsx | 260 ++++++++++++++++++
.../src/views/CRUD/welcome/Welcome.tsx | 177 +++++-------
.../src/visualizations/FilterBox/FilterBox.jsx | 46 ++--
.../src/visualizations/FilterBox/FilterBox.less | 1 +
superset-frontend/stylesheets/less/variables.less | 24 --
superset-frontend/stylesheets/superset.less | 4 -
superset/annotation_layers/api.py | 8 +
superset/charts/api.py | 6 +-
superset/charts/commands/export.py | 39 +--
superset/charts/schemas.py | 6 +
superset/common/query_context.py | 18 +-
superset/common/query_object.py | 4 +
superset/config.py | 9 +-
superset/connectors/base/models.py | 10 +-
superset/connectors/druid/models.py | 23 +-
superset/connectors/sqla/models.py | 2 +
superset/connectors/sqla/views.py | 15 +-
superset/dashboards/api.py | 1 +
superset/dashboards/commands/export.py | 31 +--
superset/databases/api.py | 10 +-
superset/databases/commands/export.py | 35 +--
superset/datasets/api.py | 12 +-
superset/datasets/commands/export.py | 40 +--
superset/{css_templates => datasets}/filters.py | 27 +-
superset/datasets/schemas.py | 1 +
superset/importexport/commands/base.py | 69 +++++
superset/models/core.py | 4 +-
superset/models/dashboard.py | 4 +-
superset/models/helpers.py | 3 +-
superset/models/schedules.py | 8 +-
superset/models/slice.py | 4 +-
superset/models/sql_lab.py | 13 +-
superset/queries/api.py | 63 +++--
superset/queries/saved_queries/api.py | 70 ++++-
.../saved_queries}/commands/export.py | 55 ++--
superset/queries/saved_queries/schemas.py | 1 +
superset/utils/core.py | 87 +++++-
superset/views/annotations.py | 18 +-
superset/views/base.py | 30 +--
superset/views/chart/views.py | 4 +-
superset/views/core.py | 106 ++++++--
superset/views/css_templates.py | 4 +-
superset/views/dashboard/views.py | 4 +-
superset/views/database/views.py | 4 +-
superset/views/sql_lab.py | 4 +-
superset/viz.py | 22 ++
tests/annotation_layers/api_tests.py | 5 +
tests/charts/api_tests.py | 24 ++
tests/charts/commands_tests.py | 9 +-
tests/dashboards/commands_tests.py | 9 +-
tests/databases/commands_tests.py | 10 +-
tests/datasets/api_tests.py | 74 ++++-
tests/datasets/commands_tests.py | 11 +-
tests/importexport/commands_tests.py | 48 ++++
tests/queries/api_tests.py | 189 +++++++++++--
tests/queries/saved_queries/api_tests.py | 49 ++++
tests/queries/saved_queries/commands_tests.py | 110 ++++++++
tests/superset_test_config.py | 5 +-
tests/utils_tests.py | 40 ++-
198 files changed, 5876 insertions(+), 2965 deletions(-)
create mode 100644 .github/dependabot.yml
create mode 100644 RELEASING/changelog.py
create mode 100644 superset-frontend/images/empty-charts.png
create mode 100644 superset-frontend/images/empty-dashboard.png
create mode 100644 superset-frontend/images/empty-queries.png
create mode 100644 superset-frontend/images/empty.svg
copy superset-frontend/images/icons/{filter.svg => filter_small.svg} (100%)
create mode 100644 superset-frontend/images/star-circle.png
create mode 100644 superset-frontend/images/union.png
delete mode 100644 superset-frontend/spec/javascripts/dashboard/components/FilterIndicatorGroup_spec.jsx
delete mode 100644 superset-frontend/spec/javascripts/dashboard/components/FilterIndicatorTooltip_spec.jsx
delete mode 100644 superset-frontend/spec/javascripts/dashboard/components/FilterIndicator_spec.jsx
delete mode 100644 superset-frontend/spec/javascripts/dashboard/components/FilterIndicatorsContainer_spec.jsx
delete mode 100644 superset-frontend/spec/javascripts/dashboard/components/FilterTooltipWrapper_spec.jsx
create mode 100644 superset-frontend/spec/javascripts/dashboard/components/FiltersBadge_spec.tsx
copy superset-frontend/spec/javascripts/views/CRUD/{csstemplates/CssTemplateModal_spec.jsx => annotationlayers/AnnotationLayerModal_spec.jsx} (59%)
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/annotationlayers/AnnotationLayersList_spec.jsx
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/welcome/ActivityTable_spec.tsx
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/welcome/ChartTable_spec.tsx
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx
create mode 100644 superset-frontend/spec/javascripts/views/CRUD/welcome/SavedQueries_spec.tsx
rename superset-frontend/src/common/components/{ => Tabs}/Tabs.tsx (91%)
copy superset-frontend/src/{components/TableView => common/components/Tabs}/index.ts (93%)
rename superset-frontend/src/common/components/{index.ts => index.tsx} (65%)
delete mode 100644 superset-frontend/src/components/FilterBadgeIcon.jsx
delete mode 100644 superset-frontend/src/components/FilterBadgeIcon.less
delete mode 100644 superset-frontend/src/dashboard/components/FilterIndicator.jsx
delete mode 100644 superset-frontend/src/dashboard/components/FilterIndicatorGroup.jsx
delete mode 100644 superset-frontend/src/dashboard/components/FilterIndicatorTooltip.jsx
delete mode 100644 superset-frontend/src/dashboard/components/FilterIndicatorsContainer.jsx
delete mode 100644 superset-frontend/src/dashboard/components/FilterTooltipWrapper.jsx
create mode 100644 superset-frontend/src/dashboard/components/FiltersBadge/DetailsPanel.tsx
create mode 100644 superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
create mode 100644 superset-frontend/src/dashboard/components/FiltersBadge/index.tsx
create mode 100644 superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts
delete mode 100644 superset-frontend/src/dashboard/containers/FilterIndicators.jsx
create mode 100644 superset-frontend/src/dashboard/containers/FiltersBadge.tsx
delete mode 100644 superset-frontend/src/dashboard/stylesheets/filter-indicator-tooltip.less
delete mode 100644 superset-frontend/src/dashboard/stylesheets/filter-indicator.less
delete mode 100644 superset-frontend/src/dashboard/util/dashboardFiltersColorMap.js
copy superset-frontend/src/views/CRUD/{csstemplates/CssTemplateModal.tsx => annotationlayers/AnnotationLayerModal.tsx} (53%)
create mode 100644 superset-frontend/src/views/CRUD/annotationlayers/AnnotationLayersList.tsx
copy superset-frontend/src/views/CRUD/{csstemplates => annotationlayers}/types.ts (90%)
create mode 100644 superset-frontend/src/views/CRUD/chart/ChartCard.tsx
create mode 100644 superset-frontend/src/views/CRUD/dashboard/DashboardCard.tsx
create mode 100644 superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
create mode 100644 superset-frontend/src/views/CRUD/welcome/ChartTable.tsx
create mode 100644 superset-frontend/src/views/CRUD/welcome/EmptyState.tsx
create mode 100644 superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx
copy superset/{css_templates => datasets}/filters.py (63%)
create mode 100644 superset/importexport/commands/base.py
copy superset/{datasets => queries/saved_queries}/commands/export.py (57%)
create mode 100644 tests/importexport/commands_tests.py
create mode 100644 tests/queries/saved_queries/commands_tests.py