This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a change to branch msyavuz/feat/migrate-user-registrations
in repository https://gitbox.apache.org/repos/asf/superset.git
from 452cc81570 Merge branch 'template_less' into
msyavuz/feat/migrate-user-registrations
add 08655a7559 fix: Migrate charts with empty query_context (#33710)
add 2fba789e8d fix(dataset): prevent metric duplication error when editing
SQL and adding metric (#33523)
add 57bb425fb0 fix(dashboard): show dashboard thumbnail images when
retrieved (#33726)
add 3ef92e5610 fix(Alerts & reports): invalid "Last updated" time
formatting (#33719)
add 6513445000 docs: fix typo and improve alt text in README (#33721)
add 2f007bf7a5 fix: typo in SQL dialect map (#33727)
add d11b6d557e feat(MixedTimeSeries): Add onlyTotal and Sort Series to
Mixed TimeSeries (#33634)
add 3a3984006c chore(explore): Add format sql and view in SQL Lab option
in View Query (#33341)
add fc7ba060c1 feat(clickhouse): allow dynamic schema (#32610)
add 5f2f12d347 chore(deps-dev): bump @typescript-eslint/parser from 8.29.0
to 8.33.0 in /superset-websocket (#33650)
add ae6c072661 chore(deps-dev): bump @docusaurus/tsconfig from 3.7.0 to
3.8.0 in /docs (#33645)
add ca74ae75a6 chore(deps-dev): bump webpack from 5.99.8 to 5.99.9 in
/docs (#33643)
add bb6bd85c1d fix(chart): set tab name as chart name (#33694)
add 86e7139245 fix: Dataset currency (#33682)
add e05ccb3824 feat: x axis interval control to show ALL ticks on
timeseries charts (#33729)
add 59e3645c17 fix: clarify GUEST_TOKEN_JWT_AUDIENCE usage in the SDK
(#33673)
add bce3d4f19e fix(explore): add gap to the "Cached" button (#33717)
add a64b9ac84f fix(dataset): Fix plural toast messages (#33743)
add e6af4ea126 feat(DatasourceEditor): Format sql shortcut and bigger
table (#33709)
add 78ad6db0c6 fix: sync dot color between dashboard chart and edit chart
(#33748)
add 773def64f2 fix(create chart page): add missing space between words
(#33752)
add d7d7b7c0e6 fix: apply d3 format to BigNumber(s) (#33759)
add 2b1d4a02b0 chore: Convert alert and report cypress tests to component
tests (#33696)
add e6f7c12e88 chore: auto-focus modal input when deleting assets (#33767)
add 0d3eebd221 chore(Accessibility): Improve keyboard navigation and
screen access (#33396)
add 7deca8f2cd feat(chart): add toggle for percentage metric calculation
mode in Table chart (#33656)
add 21d8d57380 fix: select star (#33763)
add 8fd0fd673f fix(tooltip): Sanitize tooltip html (#33765)
add 7b6885a020 build: update Dockerfile to 3.11.13-slim-bookworm (#33745)
add 9df990c2d1 fix(Echarts): Echarts Legend Scroll fix (#33779)
add 527c8de773 chore: add pylint rule for SQL importing (SIP-117) (#26803)
add d15b0e4f6d refactor(Menu): Use items prop instead of deprecated
Menu.Item HOC (#32587)
add 4d6cdf4fea fix: ensure numeric values for extra metadata_cache_timeout
payloads (#28737)
add e76a6ed63d chore(🦾): bump python flask-compress subpackage(s) (#33800)
add b376459e8c chore(🦾): bump python click 8.2.0 -> 8.2.1 (#33796)
add 28b4f44baa chore(🦾): bump python flask subpackage(s) (#33797)
add dc32608fa3 chore(🦾): bump python flask-wtf subpackage(s) (#33799)
add 3591e362e3 chore(🦾): bump python shillelagh subpackage(s) (#33793)
add d2e6249ce2 chore(🦾): bump python flask-session subpackage(s) (#33792)
add f2f1ea948c chore(🦾): bump python sqlglot 26.17.1 -> 26.28.1 (#33798)
add a1cbd2578e chore(🦾): bump python flask-caching subpackage(s) (#33795)
add 775a702b99 fix: SQL Lab warning message sizes (#33817)
add dc8c0f164f fix: Set time filter's isExtra to false when saving as new
chart (#33821)
add 54bedbd606 chore(docs): resolve 3 vulnerabilities (#33818)
add f1954ddcb2 feat(extension): Added extension point for Time Filters
(#33829)
add c8211e50f9 Merge branch 'master' into
msyavuz/feat/migrate-user-registrations
No new revisions were added by this update.
Summary of changes:
.pre-commit-config.yaml | 19 +
.pylintrc | 355 ++++
Dockerfile | 2 +-
README.md | 4 +-
docs/package.json | 16 +-
docs/src/pages/index.tsx | 2 +-
docs/yarn.lock | 2241 +++++++++-----------
pyproject.toml | 1 +
requirements/base.txt | 32 +-
requirements/development.txt | 52 +-
superset-embedded-sdk/README.md | 14 +-
.../cypress/e2e/alerts_and_reports/alerts.test.ts | 38 -
.../cypress/e2e/alerts_and_reports/reports.test.ts | 38 -
.../cypress-base/cypress/e2e/dashboard/utils.ts | 12 +-
.../cypress-base/cypress/e2e/explore/link.test.ts | 2 +-
.../cypress-base/cypress/e2e/explore/utils.ts | 20 +-
superset-frontend/package-lock.json | 2 +
.../src/components/ControlHeader.tsx | 5 +-
.../components/RadioButtonControl.tsx | 67 +-
.../superset-ui-chart-controls/src/types.ts | 1 +
.../src/chart/models/ChartProps.ts | 11 +
.../src/components/CachedLabel/index.tsx | 13 +-
.../components/DeleteModal/DeleteModal.test.tsx | 29 +-
.../src/components/DeleteModal/index.tsx | 18 +-
.../src/components/Dropdown/Dropdown.stories.tsx | 12 +-
.../src/components/Dropdown/index.tsx | 9 +
.../DropdownButton/DropdownButton.stories.tsx | 12 +-
.../src/components/Icons/AntdEnhanced.tsx | 4 +-
.../ListViewCard/ListViewCard.stories.tsx | 35 +-
.../src/components/Menu/Menu.stories.tsx | 33 +-
.../src/components/Modal/Modal.tsx | 60 +-
.../PageHeaderWithActions.test.tsx | 7 +-
.../src/components/Pagination/Item.tsx | 3 +-
.../src/components/PopoverDropdown/index.tsx | 49 +-
.../src/components/Select/AsyncSelect.test.tsx | 3 +-
.../src/components/Select/AsyncSelect.tsx | 9 +-
.../src/components/Select/Select.test.tsx | 3 +-
.../src/components/Select/Select.tsx | 9 +-
.../src/components/Select/styles.tsx | 4 +
.../src/components/Select/utils.tsx | 21 +-
.../Table/cell-renderers/ActionCell/index.tsx | 14 +-
.../src/components/TimezoneSelector/index.tsx | 2 +
.../src/query/types/PostProcessing.ts | 1 +
.../superset-ui-core/src/ui-overrides/types.ts | 11 +
.../packages/superset-ui-core/src/utils/dates.ts | 2 +
.../packages/superset-ui-core/src/utils/tooltip.ts | 5 +-
.../superset-ui-core/test/utils/tooltip.test.ts | 55 +-
.../src/CategoricalDeckGLContainer.tsx | 2 +-
.../BigNumberPeriodOverPeriod/transformProps.ts | 10 +-
.../src/BigNumber/BigNumberTotal/transformProps.ts | 2 +-
.../BigNumberWithTrendline/transformProps.ts | 2 +-
.../plugin-chart-echarts/src/Bubble/constants.ts | 1 +
.../src/Bubble/controlPanel.tsx | 2 +
.../src/Bubble/transformProps.ts | 2 +
.../src/MixedTimeseries/controlPanel.tsx | 51 +
.../src/MixedTimeseries/transformProps.ts | 60 +-
.../src/MixedTimeseries/types.ts | 2 +
.../src/Timeseries/Area/controlPanel.tsx | 2 +
.../src/Timeseries/EchartsTimeseries.tsx | 4 +
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 13 +
.../src/Timeseries/Regular/Line/controlPanel.tsx | 2 +
.../Timeseries/Regular/Scatter/controlPanel.tsx | 2 +
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 2 +
.../src/Timeseries/Step/controlPanel.tsx | 2 +
.../src/Timeseries/constants.ts | 1 +
.../src/Timeseries/transformProps.ts | 6 +
.../plugin-chart-echarts/src/Timeseries/types.ts | 1 +
.../plugins/plugin-chart-echarts/src/controls.tsx | 17 +
.../plugins/plugin-chart-echarts/src/defaults.ts | 1 +
.../plugins/plugin-chart-echarts/src/types.ts | 1 +
.../plugins/plugin-chart-table/src/buildQuery.ts | 53 +-
.../plugin-chart-table/src/controlPanel.tsx | 25 +
.../plugin-chart-table/test/buildQuery.test.ts | 87 +
.../SqlLab/components/QueryLimitSelect/index.tsx | 15 +-
.../src/SqlLab/components/ResultSet/index.tsx | 6 +-
.../SaveDatasetActionButton.test.tsx | 4 +-
.../src/SqlLab/components/SaveQuery/index.tsx | 22 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 177 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 2 +-
.../SqlLab/components/SqlEditorTabHeader/index.tsx | 177 +-
.../src/components/Chart/ChartRenderer.jsx | 8 +
.../components/Chart/MenuItemWithTruncation.tsx | 72 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 6 +-
.../src/components/Datasource/DatasourceEditor.jsx | 121 +-
.../components/Datasource/DatasourceModal.test.jsx | 4 +-
.../src/components/Datasource/DatasourceModal.tsx | 53 +-
.../src/components/Datasource/utils.js | 3 +
.../src/components/Datasource/utils.test.tsx | 7 +
.../src/components/GridTable/HeaderMenu.test.tsx | 141 +-
.../src/components/GridTable/HeaderMenu.tsx | 362 ++--
.../TableSelector/TableSelector.test.tsx | 2 +-
.../src/dashboard/components/CssEditor/index.tsx | 12 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 250 ++-
.../src/dashboard/containers/DashboardPage.tsx | 4 +-
superset-frontend/src/database/actions.ts | 22 +-
superset-frontend/src/database/reducers.ts | 7 +
.../src/explore/actions/hydrateExplore.test.ts | 48 +
.../src/explore/actions/hydrateExplore.ts | 9 +
.../src/explore/actions/saveModalActions.test.ts | 36 +
.../src/explore/actions/saveModalActions.ts | 1 +
.../components/ExploreViewContainer/index.jsx | 9 +
.../components/ExportToCSVDropdown/index.tsx | 45 +-
.../utils/useDatePickerInAdhocFilter.tsx | 11 +-
.../components/controls/TextAreaControl.jsx | 15 +-
.../explore/components/controls/ViewQuery.test.tsx | 158 ++
.../src/explore/components/controls/ViewQuery.tsx | 144 +-
.../explore/components/controls/ViewQueryModal.tsx | 15 +-
.../VizTypeControl/VizTypeControl.test.tsx | 4 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 6 +-
.../src/explore/components/controls/index.js | 9 +-
.../src/features/alerts/AlertReportModal.tsx | 660 ++++--
.../src/features/alerts/components/NumberInput.tsx | 2 +
.../src/features/charts/ChartCard.tsx | 180 +-
.../src/features/dashboards/DashboardCard.tsx | 118 +-
.../databases/DatabaseModal/index.test.tsx | 14 +-
.../src/features/databases/DatabaseModal/index.tsx | 3 +-
.../src/features/home/SavedQueries.tsx | 76 +-
superset-frontend/src/features/home/SubMenu.tsx | 43 +-
superset-frontend/src/features/tags/TagCard.tsx | 75 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 14 +-
.../src/hooks/apiResources/dashboards.test.ts | 89 +
.../src/hooks/apiResources/dashboards.ts | 17 +-
.../ScrollToTop.tsx => hooks/useOpenerRef.ts} | 17 +-
.../pages/AlertReportList/AlertReportList.test.jsx | 41 +
.../src/pages/AlertReportList/index.tsx | 46 +-
.../src/pages/ChartCreation/ChartCreation.test.tsx | 12 +-
.../src/pages/ChartCreation/index.tsx | 2 +-
superset-websocket/package-lock.json | 182 +-
superset-websocket/package.json | 2 +-
superset/common/query_context_processor.py | 45 +-
superset/config.py | 5 +-
superset/datasets/schemas.py | 7 +-
superset/db_engine_specs/base.py | 5 +-
superset/db_engine_specs/clickhouse.py | 15 +
superset/db_engine_specs/hive.py | 3 +
superset/extensions/pylint.py | 48 +-
superset/migrations/shared/migrate_viz/base.py | 23 +-
...2_convert_metric_currencies_from_str_to_json.py | 84 +
superset/sql/parse.py | 2 +-
.../utils/pandas_postprocessing/contribution.py | 18 +-
tests/integration_tests/datasets/api_tests.py | 23 +
tests/unit_tests/db_engine_specs/test_base.py | 4 +-
.../unit_tests/db_engine_specs/test_clickhouse.py | 24 +
tests/unit_tests/db_engine_specs/test_hive.py | 40 +
tests/unit_tests/db_engine_specs/test_postgres.py | 37 +
tests/unit_tests/db_engine_specs/test_presto.py | 39 +
146 files changed, 5011 insertions(+), 2701 deletions(-)
create mode 100644 .pylintrc
delete mode 100644
superset-frontend/cypress-base/cypress/e2e/alerts_and_reports/alerts.test.ts
delete mode 100644
superset-frontend/cypress-base/cypress/e2e/alerts_and_reports/reports.test.ts
create mode 100644
superset-frontend/src/explore/components/controls/ViewQuery.test.tsx
create mode 100644 superset-frontend/src/hooks/apiResources/dashboards.test.ts
copy superset-frontend/src/{views/ScrollToTop.tsx => hooks/useOpenerRef.ts}
(75%)
create mode 100644
superset/migrations/versions/2025-06-06_00-39_363a9b1e8992_convert_metric_currencies_from_str_to_json.py