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/08/03 20:28:59 UTC
[superset] branch hugh/fix-metadata-showing created (now 27694f2)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git.
at 27694f2 remove grey space with no metadata
This branch includes the following new commits:
new 01a45de Merge branch 'master' of https://github.com/apache/superset
new 0bf78ab Merge branch 'master' of https://github.com/apache/superset
new 3c3065b Merge branch 'master' of https://github.com/apache/superset
new aeced9b Merge branch 'master' of https://github.com/apache/superset
new 4589e73 Merge branch 'master' of https://github.com/apache/superset
new 27694f2 remove grey space with no metadata
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[superset] 02/06: Merge branch 'master' of
https://github.com/apache/superset
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 0bf78ab101df82124b44cecac2a00a0cd2a2a230
Merge: 01a45de 2d61f15
Author: hughhhh <hu...@gmail.com>
AuthorDate: Fri Jul 30 13:22:23 2021 -0400
Merge branch 'master' of https://github.com/apache/superset
.../nativeFilters/NativeFiltersModal_spec.tsx | 14 +-
.../DashboardBuilder/DashboardBuilder.tsx | 2 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 7 +-
.../components/dnd/dragDroppableConfig.js | 3 +
.../dashboard/components/gridComponents/Tabs.jsx | 8 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 48 +++-
.../FiltersConfigModal/FiltersConfigModal.tsx | 7 +-
.../FiltersConfigModal/Footer/Footer.tsx | 27 +--
.../nativeFilters/FiltersConfigModal/types.ts | 1 +
.../controls/DateFilterControl/DateFilterLabel.tsx | 11 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 4 +-
superset/charts/api.py | 19 +-
superset/charts/post_processing.py | 260 ++++++++++-----------
superset/models/slice.py | 2 +-
superset/reports/commands/execute.py | 4 +-
superset/reports/notifications/slack.py | 100 ++++----
tests/unit_tests/charts/test_post_processing.py | 194 ++++-----------
17 files changed, 316 insertions(+), 395 deletions(-)
[superset] 04/06: Merge branch 'master' of
https://github.com/apache/superset
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit aeced9b5b69204886b2641ed6fea328b60a14fa1
Merge: 3c3065b 4cb79e5
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Aug 2 16:39:28 2021 -0400
Merge branch 'master' of https://github.com/apache/superset
.pylintrc | 2 +-
UPDATING.md | 3 +
superset-frontend/package-lock.json | 50654 ++++++++++++++++++-
superset-frontend/package.json | 54 +-
superset-frontend/src/common/components/index.tsx | 2 +-
superset-frontend/src/components/Modal/Modal.tsx | 19 +-
.../DashboardBuilder/DashboardBuilder.tsx | 9 +-
superset-frontend/src/dashboard/util/constants.ts | 1 +
.../controls/DndColumnSelectControl/Option.tsx | 11 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 86 +-
superset/config.py | 61 +-
superset/connectors/sqla/models.py | 52 +-
.../31b2a1039d4a_drop_tables_constraint.py | 54 +
superset/models/slice.py | 5 +-
superset/utils/pandas_postprocessing.py | 5 +-
superset/utils/webdriver.py | 14 +
tests/integration_tests/access_tests.py | 8 +-
tests/integration_tests/base_tests.py | 43 +-
tests/integration_tests/charts/api_tests.py | 2 +-
tests/integration_tests/csv_upload_tests.py | 4 +-
tests/integration_tests/dashboard_utils.py | 8 +-
tests/integration_tests/datasets/api_tests.py | 22 +-
tests/integration_tests/datasource_tests.py | 70 +-
.../integration_tests/dict_import_export_tests.py | 5 +-
tests/integration_tests/fixtures/datasource.py | 274 +-
tests/integration_tests/fixtures/query_context.py | 4 +-
tests/integration_tests/import_export_tests.py | 29 +-
tests/integration_tests/model_tests.py | 12 +-
.../pandas_postprocessing_tests.py | 28 +
tests/integration_tests/query_context_tests.py | 2 +-
tests/integration_tests/security_tests.py | 12 +-
tests/integration_tests/sqla_models_tests.py | 2 +-
tests/integration_tests/superset_test_config.py | 7 +-
.../integration_tests/tasks/async_queries_tests.py | 7 +-
34 files changed, 50950 insertions(+), 621 deletions(-)
[superset] 06/06: remove grey space with no metadata
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 27694f25a3bcc3eba76cb9b17b27b2fdd022ca9b
Author: hughhhh <hu...@gmail.com>
AuthorDate: Tue Aug 3 16:26:35 2021 -0400
remove grey space with no metadata
---
superset-frontend/src/SqlLab/components/TableElement.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/src/SqlLab/components/TableElement.tsx b/superset-frontend/src/SqlLab/components/TableElement.tsx
index 775c925..d64ce21 100644
--- a/superset-frontend/src/SqlLab/components/TableElement.tsx
+++ b/superset-frontend/src/SqlLab/components/TableElement.tsx
@@ -133,7 +133,8 @@ const TableElement = ({ table, actions, ...props }: TableElementProps) => {
));
}
- if (!partitions && !metadata) {
+ if (!partitions && (!metadata || !metadata.length)) {
+ // hide partition and metadata card view
return null;
}
[superset] 05/06: Merge branch 'master' of
https://github.com/apache/superset
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 4589e73d51954f85a5aeaed624176aad5e5115a8
Merge: aeced9b 69c5cd7
Author: hughhhh <hu...@gmail.com>
AuthorDate: Tue Aug 3 16:00:42 2021 -0400
Merge branch 'master' of https://github.com/apache/superset
UPDATING.md | 2 -
requirements/base.txt | 26 ++-----
requirements/testing.txt | 4 ++
setup.py | 2 +-
.../src/datasource/DatasourceEditor.jsx | 6 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 10 ++-
.../CRUD/data/database/DatabaseModal/index.tsx | 16 ++++-
.../src/views/CRUD/data/database/types.ts | 2 +-
superset/commands/importers/v1/examples.py | 26 ++++++-
superset/connectors/druid/models.py | 34 ++++-----
superset/connectors/sqla/models.py | 28 ++++----
superset/databases/commands/export.py | 24 +++++--
superset/databases/schemas.py | 19 +++++
...3605f370a_fix_schemas_allowed_for_csv_upload.py | 82 ++++++++++++++++++++++
14 files changed, 210 insertions(+), 71 deletions(-)
[superset] 01/06: Merge branch 'master' of
https://github.com/apache/superset
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 01a45dedc9f415fb9f5f1abc197e407298e4a62b
Merge: af5e3d3 3b9b2c9
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Jul 29 16:43:10 2021 -0400
Merge branch 'master' of https://github.com/apache/superset
docs/.asf.yaml | 22 ++
docs/package.json | 2 +-
requirements/base.txt | 2 +
setup.cfg | 2 +-
setup.py | 1 +
superset-frontend/src/common/components/index.tsx | 6 +-
.../src/components/ListViewCard/index.tsx | 7 +-
.../src/dashboard/components/Dashboard.jsx | 5 +
.../DashboardBuilder/DashboardBuilder.tsx | 17 +-
.../src/views/CRUD/chart/ChartCard.tsx | 2 +-
.../src/views/CRUD/chart/ChartList.tsx | 39 ++-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 5 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 39 ++-
.../data/database/DatabaseModal/ModalHeader.tsx | 1 +
superset-frontend/src/views/CRUD/utils.tsx | 86 ++---
.../src/views/CRUD/welcome/ActivityTable.tsx | 48 +--
.../src/views/CRUD/welcome/ChartTable.tsx | 40 +--
.../src/views/CRUD/welcome/DashboardTable.tsx | 16 +-
.../src/views/CRUD/welcome/EmptyState.tsx | 10 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 13 +-
.../src/views/CRUD/welcome/Welcome.test.tsx | 4 +-
.../src/views/CRUD/welcome/Welcome.tsx | 53 +--
superset/charts/post_processing.py | 123 ++++++-
superset/initialization/__init__.py | 50 +--
superset/reports/commands/execute.py | 4 +-
superset/reports/notifications/base.py | 4 +-
superset/reports/notifications/email.py | 14 +-
superset/reports/notifications/slack.py | 46 ++-
tests/integration_tests/reports/commands_tests.py | 58 +++-
tests/unit_tests/charts/__init__.py | 16 +
tests/unit_tests/charts/test_post_processing.py | 366 +++++++++++++++++++++
31 files changed, 868 insertions(+), 233 deletions(-)
[superset] 03/06: Merge branch 'master' of
https://github.com/apache/superset
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-metadata-showing
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 3c3065bbab8e42e0f96ca312a63b451b38e6dd65
Merge: 0bf78ab a889cb3
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Aug 2 14:34:39 2021 -0400
Merge branch 'master' of https://github.com/apache/superset
.github/ISSUE_TEMPLATE/bug_report.md | 1 +
.pylintrc | 2 +-
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 2 +
docs/src/pages/docs/installation/index.mdx | 10 +
docs/src/resources/openapi.json | 1857 +-
requirements/base.txt | 26 +-
requirements/testing.txt | 4 -
setup.py | 2 +-
superset-frontend/images/icons/more_vert.svg | 21 +
superset-frontend/package-lock.json | 50714 +------------------
superset-frontend/package.json | 56 +-
superset-frontend/spec/fixtures/mockState.js | 2 +
.../datasource/DatasourceEditor_spec.jsx | 3 +-
.../explore/components/ExploreChartHeader_spec.jsx | 13 +
superset-frontend/src/CRUD/CollectionTable.tsx | 2 +-
.../src/SqlLab/components/SqlEditor.jsx | 14 +-
.../src/addSlice/AddSliceContainer.tsx | 6 +-
superset-frontend/src/chart/Chart.jsx | 28 +-
superset-frontend/src/chart/ChartRenderer.jsx | 10 +-
superset-frontend/src/chart/chartReducer.ts | 19 +
superset-frontend/src/common/components/index.tsx | 8 +-
.../src/components/FaveStar/index.tsx | 6 +-
.../src/components/Form/LabeledErrorBoundInput.tsx | 2 +-
.../src/components/Icons/Icons.stories.tsx | 2 +-
superset-frontend/src/components/Icons/index.tsx | 1 +
.../src/components/ListViewCard/index.tsx | 4 +
.../HeaderReportActionsDropdown/index.tsx | 115 +
.../src/components/ReportModal/index.test.tsx | 82 +
.../src/components/ReportModal/index.tsx | 327 +
.../src/components/ReportModal/styles.tsx | 85 +
.../dashboard/components/Header/Header.test.tsx | 17 +-
.../src/dashboard/components/Header/index.jsx | 93 +-
.../src/dashboard/components/Header/types.ts | 2 +-
.../dashboard/components/gridComponents/Chart.jsx | 3 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 3 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 3 +-
.../reducers/index.js => dashboard/constants.ts} | 35 +-
.../src/dashboard/containers/Chart.jsx | 4 +-
.../src/dashboard/containers/DashboardHeader.jsx | 12 +-
.../src/datasource/DatasourceEditor.jsx | 42 +-
.../src/explore/components/ExploreChartHeader.jsx | 102 +-
.../src/explore/components/ExploreChartPanel.jsx | 3 +-
.../explore/components/ExploreViewContainer.jsx | 72 +-
.../controls/DatasourceControl/index.jsx | 4 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 103 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 308 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 214 +-
.../controls/DndColumnSelectControl/Option.tsx | 8 +-
.../DndColumnSelectControl/OptionWrapper.tsx | 16 +-
.../controls/DndColumnSelectControl/types.ts | 1 +
.../controls/MetricControl/AdhocMetricOption.jsx | 6 +-
.../MetricControl/MetricDefinitionValue.jsx | 2 +
.../controls/MetricControl/MetricsControl.jsx | 2 +-
superset-frontend/src/explore/reducers/index.js | 2 +
superset-frontend/src/reports/actions/reports.js | 170 +
superset-frontend/src/reports/reducers/reports.js | 54 +
.../src/views/CRUD/alert/AlertReportModal.tsx | 1 -
.../src/views/CRUD/chart/ChartCard.tsx | 2 +-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 5 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 4 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 2 +-
.../src/views/CRUD/welcome/Welcome.tsx | 3 +
superset-frontend/src/views/store.ts | 2 +
.../{transformProps.js => transformProps.ts} | 8 +-
.../index.js => visualizations/FilterBox/types.ts} | 25 +-
superset-frontend/webpack.config.js | 1 +
superset/charts/commands/export.py | 2 +-
superset/charts/schemas.py | 2 +-
superset/commands/importers/v1/examples.py | 2 +-
superset/connectors/base/models.py | 26 +-
superset/connectors/sqla/models.py | 83 +-
superset/connectors/sqla/utils.py | 110 +
superset/dashboards/commands/export.py | 16 +-
.../dashboards/commands/importers/v1/__init__.py | 10 +-
superset/dashboards/commands/importers/v1/utils.py | 28 +-
superset/reports/api.py | 2 +
superset/security/manager.py | 1 +
superset/utils/pandas_postprocessing.py | 15 +
superset/views/datasource.py | 46 +
tests/integration_tests/datasource_tests.py | 75 +-
.../pandas_postprocessing_tests.py | 23 +-
tests/integration_tests/reports/api_tests.py | 2 +
83 files changed, 3879 insertions(+), 51323 deletions(-)