This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch
dependabot/npm_and_yarn/superset-frontend/d3-scale-4.0.0
in repository https://gitbox.apache.org/repos/asf/superset.git.
discard 5714df1 build(deps): bump d3-scale from 2.1.2 to 4.0.0 in
/superset-frontend
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 b3e699b perf: Refactor Dashboard.datasets_trimmed_for_slices (#15648)
add a1793f3 fix(dashboard): Filters panel height (#15661)
add de17acd feat(menu): expand support for custom branding (#15628)
add 154f460 chore: Removes unnecessary uses of preselectNativeFilters
(#15688)
add ac01d91 fix: Show affected filters when interacting with the filters
(#15634)
add 070f0b6 refactor: icon to icons for IconButton and Header component
(#15647)
add 5d86b8dd refactor: remove old Icon component (#15690)
add 985af72 fix(dashboard): Make the View Chart In Explore menu option a
link (#15668)
add 22494b6 fix: remove form invalid title (#15679) (#15680)
add b489cff fix: no lazy translation on SupersetError (#15669)
add d908dd6 chore: better copy for SQL dialog (#15714)
add e305f2a perf(dashboard): make loading datasets non-blocking (#15699)
add 7dd3af6 feat: add Column to reports model (#15683)
add 625468c Fix style (#15662)
add 234e308 feat(homepage): move savequeries table and render open
conditionally (#15711)
add 0c74a80 oops (#15725)
add 6b79099 fix: Add waiting time for chart animation when screenshot
(#15610)
add 674f234 feat: add logic to creation_method for reports schedule
(#15685)
add 0ed97eb docs: update dev superset version (#15718)
add 42d84de fix: Incorrect translations in the SQLLab in Chinese (#15727)
add 0721f54 fix: use expected label in the metrics map (#15707)
add 66c28d6 fix(explore): DndColumnSelect sometimes not working with
multi: false (#15731)
add fe68e45 fix: Reduce js bundle size (#15721)
add 6a57864 build(deps): bump d3-scale from 2.1.2 to 4.0.0 in
/superset-frontend
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 (5714df1)
\
N -- N -- N
refs/heads/dependabot/npm_and_yarn/superset-frontend/d3-scale-4.0.0 (6a57864)
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:
...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 +-
.../integration/dashboard/edit_mode.test.js | 4 +-
.../integration/dashboard/edit_properties.test.ts | 2 +-
.../cypress/integration/dashboard/markdown.test.ts | 2 +-
.../cypress/integration/dashboard/save.test.js | 6 +-
.../cypress/integration/explore/control.test.ts | 10 +-
superset-frontend/package-lock.json | 656 +++++++++++----------
superset-frontend/package.json | 58 +-
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 -
superset-frontend/src/SqlLab/actions/sqlLab.js | 24 +-
.../src/SqlLab/components/HighlightedSql.tsx | 2 +-
.../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/chart/Chart.jsx | 2 +-
superset-frontend/src/chart/ChartRenderer.jsx | 5 +-
superset-frontend/src/common/components/index.tsx | 11 +-
.../src/common/hooks/apiResources/dashboards.ts | 7 +-
.../CopyToClipboard/CopyToClipboard.stories.tsx | 6 +-
.../src/components/DynamicPlugins/index.tsx | 96 ++-
.../ErrorMessage/BasicErrorAlert.test.tsx | 7 -
.../components/ErrorMessage/ErrorAlert.test.tsx | 7 -
.../src/components/FaveStar/FaveStar.test.tsx | 7 -
.../src/components/Icon/icon.stories.jsx | 84 ---
superset-frontend/src/components/Icon/index.tsx | 440 --------------
.../src/components/IconButton/index.tsx | 22 +-
.../src/components/ListView/ActionsBar.tsx | 3 +-
.../ListViewCard/ListViewCard.stories.tsx | 3 +-
.../src/components/ListViewCard/index.tsx | 22 +-
.../src/components/Menu/LanguagePicker.tsx | 4 +-
.../src/components/Menu/Menu.test.tsx | 3 +
superset-frontend/src/components/Menu/Menu.tsx | 57 +-
.../src/components/Menu/MenuRight.tsx | 18 +-
.../actions/{datasources.js => datasources.ts} | 50 +-
superset-frontend/src/dashboard/actions/hydrate.js | 5 +-
.../DashboardBuilder/DashboardBuilder.tsx | 7 +-
.../dashboard/components/DashboardBuilder/state.ts | 7 +-
.../dashboard/components/Header/Header.test.tsx | 19 +-
.../HeaderActionsDropdown.test.tsx | 2 +-
.../src/dashboard/components/Header/index.jsx | 11 +-
.../src/dashboard/components/Header/types.ts | 3 +-
.../components/SliceHeader/SliceHeader.test.tsx | 12 +-
.../src/dashboard/components/SliceHeader/index.tsx | 38 +-
.../SliceHeaderControls.test.tsx | 12 -
.../components/SliceHeaderControls/index.tsx | 41 +-
.../dashboard/components/gridComponents/Chart.jsx | 18 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 24 +-
.../FilterBar/FilterControls/FilterValue.tsx | 16 +-
.../FilterBar/FilterControls/utils.ts | 17 +
.../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 -
.../dashboard/components/nativeFilters/state.ts | 11 -
.../src/dashboard/containers/Dashboard.ts | 17 +-
.../src/dashboard/containers/DashboardHeader.jsx | 3 +-
.../src/dashboard/containers/DashboardPage.tsx | 77 +--
.../src/dashboard/reducers/datasources.js | 45 --
.../datasources.ts} | 33 +-
superset-frontend/src/dashboard/types.ts | 14 +-
.../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 +-
.../src/explore/components/Control.tsx | 75 +--
.../explore/components/ExploreViewContainer.jsx | 8 +-
.../ConditionalFormattingControl.tsx | 184 ++++++
.../FormattingPopover.tsx | 61 ++
.../FormattingPopoverContent.tsx | 223 +++++++
.../ConditionalFormattingControl}/index.ts | 6 +-
.../controls/ConditionalFormattingControl/types.ts | 68 +++
.../DndColumnSelectControl/DndColumnSelect.tsx | 44 +-
.../DndColumnSelectControl/utils/optionSelector.ts | 21 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 1 -
.../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 | 9 +
.../components/GroupBy/GroupByFilterPlugin.tsx | 22 +-
.../filters/components/Range/RangeFilterPlugin.tsx | 94 +--
.../components/Select/SelectFilterPlugin.tsx | 25 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 12 +-
.../TimeColumn/TimeColumnFilterPlugin.tsx | 33 +-
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 33 +-
superset-frontend/src/filters/components/common.ts | 6 +
.../src/messageToasts/components/Toast.tsx | 20 +-
superset-frontend/src/setup/setupErrorMessages.ts | 4 +
superset-frontend/src/types/Dashboard.ts | 4 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 19 +-
.../CRUD/alert/components/NotificationMethod.tsx | 7 +-
.../views/CRUD/alert/components/RecipientIcon.tsx | 26 +-
.../src/views/CRUD/annotation/AnnotationModal.tsx | 11 +-
.../CRUD/annotationlayers/AnnotationLayerModal.tsx | 11 +-
.../src/views/CRUD/chart/ChartCard.tsx | 6 +-
.../views/CRUD/csstemplates/CssTemplateModal.tsx | 11 +-
.../components/SyntaxHighlighterCopy/index.tsx | 6 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 2 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 22 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 7 +-
.../data/database/DatabaseModal/index.test.jsx | 34 +-
.../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 +-
.../src/views/CRUD/welcome/Welcome.tsx | 31 +-
.../TimeTable/TimeTableChartPlugin.js | 15 +-
superset-frontend/webpack.config.js | 2 +-
superset/config.py | 12 +-
superset/connectors/base/models.py | 3 +-
superset/connectors/druid/models.py | 3 +-
superset/connectors/sqla/models.py | 9 +-
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 +-
...248280_add_creation_method_to_reports_model.py} | 32 +-
.../620241d1153f_update_time_grain_sqla.py | 4 +-
superset/models/core.py | 7 +-
superset/models/dashboard.py | 47 +-
superset/models/datasource_access_request.py | 4 +-
superset/models/reports.py | 9 +
superset/models/slice.py | 5 +-
superset/reports/api.py | 11 +-
superset/reports/schemas.py | 18 +
superset/sql_lab.py | 51 +-
superset/translations/zh/LC_MESSAGES/messages.json | 6 +-
superset/typing.py | 6 +-
superset/utils/core.py | 60 --
superset/utils/date_parser.py | 2 +-
superset/utils/memoized.py | 77 +++
superset/utils/mock_data.py | 9 +-
superset/utils/webdriver.py | 5 +
superset/views/base.py | 9 +-
superset/views/core.py | 25 +-
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/reports/api_tests.py | 92 +++
tests/integration_tests/thumbnails_tests.py | 15 +
tests/integration_tests/utils_tests.py | 74 ---
tests/unit_tests/memoized_tests.py | 96 +++
177 files changed, 3771 insertions(+), 2621 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
delete mode 100644 superset-frontend/src/components/Icon/icon.stories.jsx
delete mode 100644 superset-frontend/src/components/Icon/index.tsx
rename superset-frontend/src/dashboard/actions/{datasources.js =>
datasources.ts} (53%)
delete mode 100644 superset-frontend/src/dashboard/reducers/datasources.js
copy superset-frontend/src/dashboard/{util/serializeActiveFilterValues.js =>
reducers/datasources.ts} (58%)
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
copy superset/migrations/versions/{ab104a954a8f_reports_alter_crontab_size.py
=> 3317e9248280_add_creation_method_to_reports_model.py} (66%)
create mode 100644 superset/utils/memoized.py
create mode 100644 tests/unit_tests/memoized_tests.py