This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a change to branch explore-via-link
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 8c7e753 add doc comments to the functions
add 9e97c66 remove pointless test
add ec2f210 update weird tests
add 4ab565c refactor: icon to icons for sliceheader component (#15567)
add 026eefd Revert "Open in _self (#14778)" (#15588)
add 2be52c0 refactor: icon to icons for controls (#15568)
add 1d572ca fix(dashboard-list): change name of dashboard is not
reflected instantly (#15186)
add 7e9674a refactor(annotation): improve annotation modal (#15359)
add 367d47b chore: bumping superset-ui 0.17.64 (#15615)
add ee8b1ed chore: update dataset count badge and tash icon sizing
(#15608)
add abc18b1 initial commit (#15597)
add cc765b5 refactor: icon to icons for annotations & css templates
modals (#15611)
add b5fc03f fix: Database Connection Modal - corrected tooltip alignment
and info alert width (#15612)
add f67e402 update db for expose in sqllab param (#15609)
add 600473f refactor: icon to icons for toasts component (#15579)
add faf6fcd fix: Database List Sorted (#15619)
add 4d1672f fix: error page status codes (#15620)
add 2ebba51 clears errors when closing out of modal (#15623)
add 7ec6bdf fix: avoid fetching favorite status for anonymous user
(#15590)
add 0778f4a docs(docker): update README (#15607)
add 78dd17c docs: Small addition in add new databases with docker (#15410)
add 9ed8ce5 docs: fix typos in docs (#15113)
add 62a8f2e chore(python-testing): move memoized tests to unit tests
(#15507)
add d70ac21 fix(native-filters): Fix required filters (#15572)
add 5d86ffe fix: duplicate DB names (#15614)
add 79d3d06 refactor: icon to icons for homepage and card compompents
(#15624)
add d8a15e6 refactor: icon to icons for sqllab (#15593)
add 257385e feat(explore): Upgraded viz select gallery (#15303)
add 34542db refactor: icon to icons for syntaxhighlighter and querylist
components (#15618)
add 2252f33 fix: Remove default values for engine and schemas (#15635)
add f39582c fix: change sslmode to require for Postgres (#15642)
add 517f8c0 chore: bump superset-ui/plugin-chart-echarts 0.17.65 (#15633)
add 2dc8bd6 fix: Fix test connection for extra fields (#15645)
add 52ad779 fix: safe removal of tab with filters still scoped to a
non-existing chart (#15650)
add f0c0d74 chore: Reverts reset form in native filters (#15644)
add 8efd94a refactor: icon to icons for navbar (#15643)
add a914e3c feat(explore): Implement conditional formatting component
(#15651)
add 02032ee feat: cancel db query on stop (#15403)
add e6bbca3 chore: Preserve native filters selection after refresh
(#15583)
add ad87ba3 docs: Add section about updating Python requirements (#15574)
add 1483e04 refactor: icon to icons for Querytable, datasource test, and
copyclipboard story (#15665)
add 351d3c5 chore: Add metrics_b as viable metric form data parameter
(#15646)
add 9f969d0 chore: Add documentation for DB Connection UI (#15599)
add 42a1061 fix: small fixes for Makefile (#15670)
add a212735 Merge branch 'master' into explore-via-link
No new revisions were added by this update.
Summary of changes:
...est.yml => superset-python-integrationtest.yml} | 10 +-
.github/workflows/superset-python-unittest.yml | 152 +----
CONTRIBUTING.md | 12 +
Makefile | 8 +-
docker/README.md | 44 +-
docs/installation.rst | 2 +-
.../Connecting to Databases/docker-add-drivers.mdx | 8 +-
docs/src/pages/docs/Connecting to Databases/ui.mdx | 77 +++
docs/src/pages/docs/installation/caching.mdx | 2 +-
.../docs/installation/networking_settings.mdx | 2 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/values.yaml | 2 +-
.../cypress/integration/explore/control.test.ts | 10 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 730 ++++++++++++---------
superset-frontend/package.json | 57 +-
superset-frontend/spec/helpers/testing-library.tsx | 16 +-
.../dashboard/util/getDashboardUrl_spec.js | 2 +-
.../datasource/DatasourceEditor_spec.jsx | 3 +-
.../explore/components/VizTypeControl_spec.jsx | 60 +-
.../messageToasts/components/Toast_spec.jsx | 7 +-
superset-frontend/src/CRUD/CollectionTable.tsx | 1 -
.../src/SqlLab/components/QueryTable/index.jsx | 132 ++--
.../src/SqlLab/components/RunQueryActionButton.tsx | 10 +-
.../src/SqlLab/components/SaveQuery.tsx | 21 +-
.../src/SqlLab/components/ShareSqlLabQuery.tsx | 24 +-
.../src/SqlLab/components/SqlEditor.jsx | 13 +
superset-frontend/src/SqlLab/reducers/sqlLab.js | 5 +-
.../src/addSlice/AddSliceContainer.test.tsx | 17 +-
.../src/addSlice/AddSliceContainer.tsx | 60 +-
superset-frontend/src/common/components/index.tsx | 11 +-
.../CopyToClipboard/CopyToClipboard.stories.tsx | 6 +-
.../src/components/DynamicPlugins/index.tsx | 96 ++-
.../ListViewCard/ListViewCard.stories.tsx | 3 +-
.../src/components/ListViewCard/index.tsx | 7 +-
.../src/components/Menu/LanguagePicker.tsx | 4 +-
superset-frontend/src/components/Menu/Menu.tsx | 8 +-
.../src/components/Menu/MenuRight.tsx | 6 +-
.../dashboard/components/Header/Header.test.tsx | 19 +-
.../HeaderActionsDropdown.test.tsx | 2 +-
.../src/dashboard/components/Header/index.jsx | 4 +-
.../src/dashboard/components/Header/types.ts | 3 +-
.../components/SliceHeader/SliceHeader.test.tsx | 12 +-
.../src/dashboard/components/SliceHeader/index.tsx | 10 +-
.../SliceHeaderControls.test.tsx | 12 -
.../nativeFilters/FilterBar/FilterBar.test.tsx | 24 +-
.../FilterBar/FilterControls/FilterValue.tsx | 2 +-
.../nativeFilters/FilterBar/Header/Header.test.tsx | 1 +
.../nativeFilters/FilterBar/Header/index.tsx | 17 +-
.../components/nativeFilters/FilterBar/index.tsx | 81 ++-
.../FiltersConfigForm/DefaultValue.tsx | 6 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 117 ++--
.../FiltersConfigModal/FiltersConfigForm/state.ts | 41 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 2 -
.../nativeFilters/FiltersConfigModal/utils.ts | 2 -
.../src/dashboard/containers/DashboardHeader.jsx | 3 +-
.../dashboard/util/activeAllDashboardFilters.ts | 2 +-
.../src/dashboard/util/getDashboardUrl.ts | 13 +-
.../util/replaceUndefinedByNull.ts} | 28 +-
superset-frontend/src/dataMask/reducer.ts | 6 +-
.../src/datasource/DatasourceEditor.jsx | 16 +-
.../explore/components/ExploreViewContainer.jsx | 8 +-
.../controls/CollectionControl/index.jsx | 10 +-
.../ConditionalFormattingControl.tsx | 184 ++++++
.../FormattingPopover.tsx | 61 ++
.../FormattingPopoverContent.tsx | 223 +++++++
.../ConditionalFormattingControl}/index.ts | 6 +-
.../controls/ConditionalFormattingControl/types.ts | 68 ++
.../controls/DatasourceControl/index.jsx | 12 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 15 +-
.../controls/VizTypeControl/VizTypeControl.less | 54 --
.../VizTypeControl/VizTypeControl.test.tsx | 35 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 562 ++++++++++++++++
.../components/controls/VizTypeControl/index.jsx | 244 -------
.../components/controls/VizTypeControl/index.tsx | 152 +++++
.../src/explore/components/controls/index.js | 2 +
.../src/explore/exploreUtils/index.js | 2 +-
.../components/GroupBy/GroupByFilterPlugin.tsx | 22 +-
.../filters/components/Range/RangeFilterPlugin.tsx | 44 +-
.../components/Select/SelectFilterPlugin.tsx | 22 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 12 +-
.../TimeColumn/TimeColumnFilterPlugin.tsx | 29 +-
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 29 +-
superset-frontend/src/filters/components/common.ts | 6 +
.../src/messageToasts/components/Toast.tsx | 20 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 19 +-
.../CRUD/alert/components/NotificationMethod.tsx | 7 +-
.../views/CRUD/alert/components/RecipientIcon.tsx | 26 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 1 +
.../views/CRUD/annotation/AnnotationModal.test.jsx | 1 +
.../src/views/CRUD/annotation/AnnotationModal.tsx | 38 +-
.../CRUD/annotationlayers/AnnotationLayerModal.tsx | 11 +-
.../src/views/CRUD/chart/ChartCard.tsx | 6 +-
.../views/CRUD/csstemplates/CssTemplateModal.tsx | 11 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 22 +-
.../components/SyntaxHighlighterCopy/index.tsx | 6 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 2 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 22 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 7 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 92 +--
.../src/views/CRUD/data/database/types.ts | 2 +
.../src/views/CRUD/data/query/QueryList.tsx | 81 ++-
superset-frontend/src/views/CRUD/hooks.ts | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 7 +
.../src/views/CRUD/welcome/ActivityTable.tsx | 14 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 10 +-
.../TimeTable/TimeTableChartPlugin.js | 15 +-
superset-frontend/webpack.config.js | 2 +-
superset/connectors/base/models.py | 3 +-
superset/connectors/druid/models.py | 3 +-
superset/databases/api.py | 2 +
superset/db_engine_specs/base.py | 28 +-
superset/db_engine_specs/mysql.py | 32 +
superset/db_engine_specs/postgres.py | 38 +-
superset/db_engine_specs/snowflake.py | 32 +
superset/exceptions.py | 4 +
superset/jinja_context.py | 7 +-
.../620241d1153f_update_time_grain_sqla.py | 4 +-
superset/models/core.py | 7 +-
superset/models/datasource_access_request.py | 4 +-
superset/models/slice.py | 5 +-
superset/sql_lab.py | 51 +-
superset/typing.py | 6 +-
superset/utils/core.py | 60 --
superset/utils/date_parser.py | 2 +-
superset/utils/memoized.py | 77 +++
superset/views/base.py | 2 +-
superset/views/core.py | 5 +
tests/integration_tests/databases/api_tests.py | 1 +
.../db_engine_specs/mysql_tests.py | 20 +
.../db_engine_specs/postgres_tests.py | 22 +-
.../db_engine_specs/snowflake_tests.py | 21 +
tests/integration_tests/utils_tests.py | 74 ---
tests/unit_tests/memoized_tests.py | 96 +++
134 files changed, 3202 insertions(+), 1685 deletions(-)
copy .github/workflows/{superset-python-unittest.yml =>
superset-python-integrationtest.yml} (96%)
create mode 100644 docs/src/pages/docs/Connecting to Databases/ui.mdx
copy superset-frontend/src/{utils/cacheWrapper.ts =>
dashboard/util/replaceUndefinedByNull.ts} (63%)
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/ConditionalFormattingControl.tsx
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopover.tsx
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx
copy superset-frontend/src/{components/ListView =>
explore/components/controls/ConditionalFormattingControl}/index.ts (87%)
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/types.ts
delete mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeControl.less
create mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
delete mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/index.jsx
create mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx
create mode 100644 superset/utils/memoized.py
create mode 100644 tests/unit_tests/memoized_tests.py