This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a change to branch refactorReports
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 156deac continued refactoring (#16377)
add a63a01f small changes to dashboard->explore code (#17145)
add b5246b2 feat: Hide nav create with RBAC (#17157)
add 31085e3 fix: CI is blocked by mypy checking (#17213)
add 4f1d202 chore: use official isort in pre-commmit (#17215)
add ef3afbd refactor: Repeated boilerplate code between upload to
database forms (#16756)
add 55be249 fix: Order of Select items when unselecting (#17169)
add 4c96ae7 chore: Breaks the dataViewCommon folder into TableCollection
and Pagination (#17132)
add 08aab3b use full results as csv type (#17194)
add ef01cbb fix: reenabling terser plugin for webpack (#17205)
add cf284ba fix(native-filters): Fix update ownState (#17181)
add 48fd3c1 chore: Add docs to the Select component props (#17171)
add 3641093 allow owners to edit chart title (#17047)
add 5f8f67e Fix tools position (#17221)
add dbf5225 chore: bump to superset-ui 0.18.15 (#17232)
add dd71035 chore: Removes the ChartIcon component (#17216)
add 792efef Update setup.py (#17220)
add b7e7ef2 Revert "fix: the calculated columns explicit type convert
into date (#14813)" (#16950)
add 743f4b6 Fix resetting does not clear form (#17217)
add 4316fe6 fix(annotataion): handle required fields properly (#17234)
add faf7c74 chore: bump superset-ui v0.18.16 (#17251)
add 65f1644 feat(dashboard): Add description to the native filter (#17025)
add 93f59e0 chore: remove supersetTheme with withTheme (#17069)
add 5aaa333 feat: Make Jinja template applied in timestamp columns
(#17237)
add be6cca5 chore: bump deckgl 0.4.13 (#17266)
add 37909aa feat: add possibility to set ingress class name in Helm chart
(#17252)
new 57d0d0e pexdax refactor (#16333)
new 684fa58 refactor progress (#16339)
new 3c6b7af fix: Header Actions test refactor (#16336)
new 9bc4236 code dry (#16358)
new 459ca21 Fetch bug fixed (#16376)
new 1297954 continued refactoring (#16377)
new 2cd5906 Merge branch 'refactorReports' of
github.com:apache/incubator-superset into refactorReports
The 7 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.
Summary of changes:
.pre-commit-config.yaml | 8 +-
docs/src/pages/docs/installation/kubernetes.mdx | 4 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/ingress.yaml | 3 +
helm/superset/values.yaml | 6 +-
setup.py | 2 +-
superset-frontend/package-lock.json | 652 ++++++++++-----------
superset-frontend/package.json | 58 +-
.../spec/fixtures/mockNativeFilters.ts | 2 +
.../dashboard/fixtures/mockNativeFilters.ts | 1 +
.../components/QueryTable/QueryTable.test.jsx | 2 +-
.../src/addSlice/AddSliceContainer.tsx | 14 +-
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 2 +-
.../src/components/ChartIcon/index.tsx | 44 --
.../DatabaseSelector/DatabaseSelector.test.tsx | 8 +-
.../src/components/DatabaseSelector/index.tsx | 16 +-
.../src/components/Datasource/DatasourceEditor.jsx | 22 +-
.../Datasource/DatasourceEditor.test.jsx | 243 ++++----
.../src/components/ListView/ListView.test.jsx | 6 +-
.../src/components/ListView/ListView.tsx | 3 +-
.../src/components/Menu/Menu.test.tsx | 52 ++
.../src/components/Menu/MenuRight.tsx | 269 +++++----
.../{Pagination.test.tsx => Wrapper.test.tsx} | 16 +-
.../Pagination/{index.tsx => Wrapper.tsx} | 0
.../src/components/Pagination/index.tsx | 98 +---
.../src/components/Select/Select.stories.tsx | 52 +-
.../src/components/Select/Select.test.tsx | 73 ++-
superset-frontend/src/components/Select/Select.tsx | 172 +++++-
.../TableCollection.test.tsx | 2 +-
.../index.tsx} | 0
.../src/components/TableSelector/index.tsx | 6 +-
.../src/components/TableView/TableView.tsx | 3 +-
.../src/components/TimezoneSelector/index.tsx | 15 +-
.../src/components/dataViewCommon/Pagination.tsx | 48 --
.../src/components/dataViewCommon/index.ts | 20 -
.../src/dashboard/components/Dashboard.jsx | 81 ++-
.../DashboardBuilder/DashboardBuilder.tsx | 6 +-
.../dashboard/components/RefreshIntervalModal.tsx | 3 +-
.../filterscope/renderFilterScopeTreeNodes.jsx | 19 +-
.../dashboard/components/gridComponents/Chart.jsx | 7 +-
.../CascadeFilterControl.test.tsx | 41 +-
.../FilterBar/FilterControls/FilterControl.tsx | 69 ++-
.../FiltersConfigForm/ColumnSelect.tsx | 1 -
.../FiltersConfigForm/DatasetSelect.tsx | 6 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 82 +--
.../FiltersConfigForm/getControlItemsMap.test.tsx | 1 +
.../FiltersConfigModal/FiltersConfigModal.tsx | 2 +-
.../nativeFilters/FiltersConfigModal/types.ts | 1 +
.../nativeFilters/FiltersConfigModal/utils.ts | 1 +
.../dashboard/components/nativeFilters/types.ts | 1 +
.../stylesheets/filter-scope-selector.less | 9 +-
.../src/explore/components/Control.tsx | 6 +-
.../DatasourcePanel/DatasourcePanel.test.tsx | 2 +-
.../explore/components/ExploreActionButtons.tsx | 2 +-
.../src/explore/components/ExploreChartHeader.jsx | 8 +-
.../FormattingPopoverContent.tsx | 30 +-
.../controls/ConditionalFormattingControl/types.ts | 2 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 3 +-
.../DateFilterControl/components/CustomFrame.tsx | 8 +-
.../components/controls/DateFilterControl/types.ts | 1 +
.../controls/DateFilterControl/utils/constants.ts | 44 +-
.../SelectAsyncControl/SelectAsyncControl.test.tsx | 1 +
.../explore/exploreUtils/getExploreLongUrl.test.ts | 8 +-
.../src/explore/exploreUtils/index.js | 17 +-
.../src/filters/components/GroupBy/controlPanel.ts | 7 +-
.../src/filters/components/Select/buildQuery.ts | 2 +-
.../src/filters/components/Select/controlPanel.ts | 7 +-
.../src/filters/components/Time/controlPanel.ts | 6 +-
superset-frontend/src/setup/setupColors.ts | 36 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 11 +-
.../src/views/CRUD/annotation/AnnotationModal.tsx | 6 +-
.../CRUD/annotationlayers/AnnotationLayerModal.tsx | 2 +-
.../views/CRUD/data/database/DatabaseList.test.jsx | 2 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 6 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 8 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 12 +-
.../src/views/CRUD/data/database/types.ts | 4 +-
superset-frontend/src/views/menu.tsx | 7 +-
superset-frontend/webpack.config.js | 2 +-
superset/annotation_layers/annotations/schemas.py | 22 +-
superset/annotation_layers/schemas.py | 2 +-
superset/config.py | 3 +-
superset/connectors/sqla/models.py | 27 +-
superset/databases/api.py | 8 +-
superset/databases/commands/export.py | 10 +-
superset/databases/schemas.py | 26 +-
superset/examples/utils.py | 2 +-
superset/initialization/__init__.py | 6 +-
...y_url.py => b92d69a6643c_rename_csv_to_file.py} | 25 +-
superset/models/core.py | 10 +-
superset/security/manager.py | 6 +-
superset/sqllab/command.py | 4 +-
superset/sqllab/execution_context_convertor.py | 4 +-
superset/sqllab/query_render.py | 2 +-
superset/translations/de/LC_MESSAGES/messages.json | 2 +-
superset/translations/de/LC_MESSAGES/messages.po | 4 +-
superset/translations/en/LC_MESSAGES/messages.json | 2 +-
superset/translations/en/LC_MESSAGES/messages.po | 4 +-
superset/translations/es/LC_MESSAGES/messages.json | 2 +-
superset/translations/es/LC_MESSAGES/messages.po | 4 +-
superset/translations/fr/LC_MESSAGES/messages.json | 2 +-
superset/translations/fr/LC_MESSAGES/messages.po | 4 +-
superset/translations/it/LC_MESSAGES/messages.json | 2 +-
superset/translations/it/LC_MESSAGES/messages.po | 4 +-
superset/translations/ja/LC_MESSAGES/messages.json | 2 +-
superset/translations/ja/LC_MESSAGES/messages.po | 4 +-
superset/translations/ko/LC_MESSAGES/messages.json | 2 +-
superset/translations/ko/LC_MESSAGES/messages.po | 4 +-
superset/translations/messages.pot | 4 +-
superset/translations/pt/LC_MESSAGES/message.json | 2 +-
superset/translations/pt/LC_MESSAGES/message.po | 4 +-
.../translations/pt_BR/LC_MESSAGES/messages.json | 4 +-
.../translations/pt_BR/LC_MESSAGES/messages.po | 8 +-
superset/translations/ru/LC_MESSAGES/messages.json | 2 +-
superset/translations/ru/LC_MESSAGES/messages.po | 4 +-
superset/translations/sl/LC_MESSAGES/messages.json | 4 +-
superset/translations/sl/LC_MESSAGES/messages.po | 8 +-
superset/translations/zh/LC_MESSAGES/messages.json | 4 +-
superset/translations/zh/LC_MESSAGES/messages.po | 8 +-
superset/utils/core.py | 2 +-
superset/views/core.py | 4 +-
superset/views/database/forms.py | 136 +----
superset/views/database/mixins.py | 12 +-
superset/views/database/validators.py | 6 +-
superset/views/database/views.py | 8 +-
.../annotation_layers/api_tests.py | 11 +-
.../annotation_layers/fixtures.py | 6 +
.../annotation_layers/schema_tests.py | 157 +++++
tests/integration_tests/base_tests.py | 2 +-
tests/integration_tests/core_tests.py | 2 +-
tests/integration_tests/csv_upload_tests.py | 2 +-
.../dashboards/filter_sets/conftest.py | 7 +-
.../dashboards/filter_sets/delete_api_tests.py | 1 +
.../dashboards/filter_sets/get_api_tests.py | 1 +
.../dashboards/filter_sets/update_api_tests.py | 1 +
tests/integration_tests/databases/api_tests.py | 12 +-
.../integration_tests/databases/commands_tests.py | 16 +-
.../fixtures/birth_names_dashboard.py | 2 +-
tests/integration_tests/fixtures/database.py | 2 +-
tests/integration_tests/fixtures/importexport.py | 2 +-
tests/integration_tests/model_tests.py | 4 +-
tests/integration_tests/reports/commands_tests.py | 3 +-
tests/integration_tests/sqla_models_tests.py | 11 +-
143 files changed, 1773 insertions(+), 1392 deletions(-)
delete mode 100644 superset-frontend/src/components/ChartIcon/index.tsx
rename superset-frontend/src/components/Pagination/{Pagination.test.tsx =>
Wrapper.test.tsx} (86%)
copy superset-frontend/src/components/Pagination/{index.tsx => Wrapper.tsx}
(100%)
rename superset-frontend/src/components/{dataViewCommon =>
TableCollection}/TableCollection.test.tsx (98%)
rename superset-frontend/src/components/{dataViewCommon/TableCollection.tsx =>
TableCollection/index.tsx} (100%)
delete mode 100644
superset-frontend/src/components/dataViewCommon/Pagination.tsx
delete mode 100644 superset-frontend/src/components/dataViewCommon/index.ts
copy
superset/migrations/versions/{817e1c9b09d0_add_not_null_to_dbs_sqlalchemy_url.py
=> b92d69a6643c_rename_csv_to_file.py} (72%)
create mode 100644 tests/integration_tests/annotation_layers/schema_tests.py