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 2021/08/27 21:22:35 UTC
[superset] branch remove-jquery updated (d587162 -> 7651d8a)
This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a change to branch remove-jquery
in repository https://gitbox.apache.org/repos/asf/superset.git.
discard d587162 ridiculous linting errors
discard f42a014 remove jquery from react bundle
add 631ad02 fix: copy to Clipboard order (#16299)
add 5e47298 feat: add Shillelagh DB engine spec (#16416)
add 78d8089 fix: Disable Slack notification method if no api token (#16367)
add 08b8aa2 fix: setupPlugin in chart list page (#16413)
add 6a2cec5 fix(dashboard): undo and redo buttons weird alignment (#16417)
add 93c60e4 refactor: sql_json view endpoint (#16441)
add db11c3e feat: Draggable and Resizable Modal (#16394)
add 18be181 fix(explore): update overwrite button on perm change (#16437)
add ec08750 refactor(explore): improve typing for Dnd controls (#16362)
add 1badcae feat: add function list to auto-complete to Clickhouse datasource (#16234)
add 1c71eda fix(native-filters): handle null values in value filter (#16460)
add c66d6d8 chore: fixed slack invite link (#16466)
add 577ede4 fix: prevent page crash when chart can't render (#16464)
add ac1d779 chore(ci): bump pylint to 2.10.2 (#16463)
add 8ad495a perf(dashboard): reduce number of rerenders of Charts (#16444)
add f422f1e perf(dashboard): decouple redux props from dashboard components (#16421)
add fd64561 docs: make code snippet usable with required imports (#16473)
add ee2eccd fix: queryEditor bug (#16452)
add a413f79 fix(explore): JS error for creating new metrics from columns (#16477)
add 8adc31d Revert "chore: Changes the DatabaseSelector to use the new Select component (#16334)" (#16478)
add 147637a fix(native-filters): add handle undefined control value gracefully (#16468)
add 62d8ab7 fix: create example DB if needed (#16451)
add 7651d8a remove jquery from react bundle
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (d587162)
\
N -- N -- N refs/heads/remove-jquery (7651d8a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.pylintrc | 3 +
CODE_OF_CONDUCT.md | 2 +-
README.md | 4 +-
docs/src/pages/community.tsx | 2 +-
.../pages/docs/Connecting to Databases/index.mdx | 2 +-
docs/src/pages/docs/contributing-page.mdx | 2 +-
docs/src/pages/docs/installation/configuring.mdx | 6 +-
requirements/testing.in | 2 +-
requirements/testing.txt | 6 +-
setup.py | 5 +-
superset-frontend/jest.config.js | 4 +-
superset-frontend/package.json | 1 +
.../{styleMock.js => mockExportObject.js} | 0
.../__mocks__/{fileMock.js => mockExportString.js} | 0
superset-frontend/spec/helpers/setup.ts | 2 +
.../components/gridComponents/ChartHolder_spec.jsx | 4 +-
.../components/gridComponents/Markdown_spec.jsx | 4 +-
.../explore/components/SaveModal_spec.jsx | 8 +-
.../javascripts/sqllab/SqlEditorLeftBar_spec.jsx | 10 +-
.../spec/javascripts/sqllab/actions/sqlLab_spec.js | 40 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 17 +-
.../src/SqlLab/components/ResultSet.tsx | 4 +-
superset-frontend/src/components/Button/index.tsx | 6 +-
.../src/components/CertifiedIcon/index.tsx | 9 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 62 ++-
.../src/components/DatabaseSelector/index.tsx | 310 ++++++-------
superset-frontend/src/components/Icons/Icon.tsx | 8 +-
.../src/components/Modal/Modal.stories.tsx | 2 +
superset-frontend/src/components/Modal/Modal.tsx | 148 ++++++-
.../ModalTrigger/ModalTrigger.stories.tsx | 4 +
.../src/components/ModalTrigger/index.jsx | 10 +
.../OmniContainer/OmniContainer.test.tsx | 1 +
superset-frontend/src/components/Select/Select.tsx | 77 ++--
.../TableSelector/TableSelector.test.jsx | 291 +++++++++++++
.../TableSelector/TableSelector.test.tsx | 91 ----
.../src/components/TableSelector/index.tsx | 484 ++++++++++-----------
.../src/components/TableView/TableView.tsx | 1 -
.../components/WarningIconWithTooltip/index.tsx | 6 +-
superset-frontend/src/dashboard/actions/hydrate.js | 4 +-
.../src/dashboard/components/Header/index.jsx | 2 +
.../dashboard/components/gridComponents/Chart.jsx | 3 +-
.../components/gridComponents/ChartHolder.jsx | 10 +-
.../components/gridComponents/Markdown.jsx | 11 +-
.../dashboard/components/gridComponents/Tabs.jsx | 6 +-
.../components/nativeFilters/FilterBar/utils.ts | 2 +-
.../src/dashboard/containers/Chart.jsx | 6 +-
.../dashboard/containers/DashboardComponent.jsx | 8 -
superset-frontend/src/dashboard/types.ts | 3 +
.../src/dashboard/util/activeDashboardFilters.js | 4 +-
.../util/charts/getFormDataWithExtraFilters.ts | 19 +-
.../src/datasource/DatasourceEditor.jsx | 132 +++---
.../src/explore/components/Control.tsx | 8 +
.../src/explore/components/ControlHeader.jsx | 4 +-
.../explore/components/DataTableControl/index.tsx | 45 +-
.../DataTableControl/useTableColumns.test.ts | 9 +-
.../DataTablesPane/DataTablesPane.test.tsx | 5 +
.../explore/components/DataTablesPane/index.tsx | 24 +-
.../DatasourcePanel/DatasourcePanel.test.tsx | 9 +-
.../explore/components/DatasourcePanel/index.tsx | 117 +++--
.../ExploreAdditionalActionsMenu/index.jsx | 2 +
.../src/explore/components/ExploreChartPanel.jsx | 4 +-
.../explore/components/ExploreViewContainer.jsx | 1 -
.../explore/components/PropertiesModal/index.tsx | 2 +-
.../src/explore/components/SaveModal.tsx | 16 +-
.../controls/DatasourceControl/index.jsx | 5 +-
.../DndColumnSelect.test.tsx | 10 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 13 +-
.../DndFilterSelect.test.tsx | 41 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 26 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 24 +-
.../DndColumnSelectControl/DndSelectLabel.test.tsx | 8 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 29 +-
.../controls/DndColumnSelectControl/types.ts | 48 +-
.../DndColumnSelectControl/utils/optionSelector.ts | 10 +-
.../explore/components/controls/ViewQueryModal.tsx | 16 +-
.../explore/exploreUtils/getChartDataUri.test.ts | 2 +-
.../src/explore/exploreUtils/getExploreUrl.test.ts | 6 +-
.../src/explore/reducers/exploreReducer.js | 1 +
.../src/explore/reducers/getInitialState.ts | 13 +-
superset-frontend/src/explore/types.ts | 10 +-
.../components/Select/SelectFilterPlugin.tsx | 14 +-
superset-frontend/src/filters/utils.ts | 18 +-
.../src/types/{Owner.ts => Database.ts} | 16 +-
superset-frontend/src/utils/common.js | 15 +-
superset-frontend/src/utils/common.test.jsx | 9 +-
.../src/views/CRUD/alert/AlertReportModal.test.jsx | 3 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 36 +-
.../CRUD/alert/components/NotificationMethod.tsx | 19 +-
superset-frontend/src/views/CRUD/alert/types.ts | 4 +-
.../src/views/CRUD/chart/ChartList.tsx | 2 +
.../src/views/CRUD/data/database/state.ts | 2 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 2 -
superset-frontend/src/views/CRUD/types.ts | 12 +-
superset-frontend/src/views/types.ts | 3 +
superset/annotation_layers/annotations/api.py | 4 +-
.../annotations/commands/create.py | 2 +-
.../annotations/commands/update.py | 2 +-
superset/annotation_layers/api.py | 4 +-
superset/annotation_layers/commands/create.py | 2 +-
superset/annotation_layers/commands/update.py | 2 +-
superset/charts/commands/create.py | 2 +-
superset/charts/commands/update.py | 2 +-
superset/commands/importers/v1/examples.py | 6 +-
superset/commands/utils.py | 2 +-
superset/dashboards/commands/create.py | 2 +-
superset/databases/commands/create.py | 2 +-
superset/databases/commands/update.py | 2 +-
superset/datasets/api.py | 2 +-
superset/datasets/commands/create.py | 2 +-
superset/datasets/commands/update.py | 2 +-
superset/datasets/dao.py | 2 +-
superset/db_engine_specs/clickhouse.py | 51 ++-
.../db_engine_specs/shillelagh.py | 18 +-
superset/models/dashboard.py | 4 +-
superset/models/slice.py | 6 +-
superset/reports/commands/create.py | 2 +-
superset/reports/commands/update.py | 2 +-
superset/tasks/async_queries.py | 8 +-
superset/utils/core.py | 7 +-
superset/utils/dict_import_export.py | 4 +-
superset/utils/sqllab_execution_context.py | 111 +++++
superset/views/base.py | 15 +-
superset/views/base_schemas.py | 2 +-
superset/views/core.py | 119 ++---
superset/viz.py | 6 +-
tests/integration_tests/datasets/api_tests.py | 14 +-
126 files changed, 1771 insertions(+), 1151 deletions(-)
rename superset-frontend/spec/__mocks__/{styleMock.js => mockExportObject.js} (100%)
rename superset-frontend/spec/__mocks__/{fileMock.js => mockExportString.js} (100%)
create mode 100644 superset-frontend/src/components/TableSelector/TableSelector.test.jsx
delete mode 100644 superset-frontend/src/components/TableSelector/TableSelector.test.tsx
copy superset-frontend/src/types/{Owner.ts => Database.ts} (79%)
copy tests/unit_tests/conftest.py => superset/db_engine_specs/shillelagh.py (75%)
create mode 100644 superset/utils/sqllab_execution_context.py