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 56089aab3a Merge branch 'master' into template_less
add 72fc7ac27f fix(DatasourceEditor): clear mocks
add fa8819770e fix(e2e): increase timeout
add a64b9ac84f fix(dataset): Fix plural toast messages (#33743)
add e6af4ea126 feat(DatasourceEditor): Format sql shortcut and bigger
table (#33709)
add 96d7209eb5 Merge branch master into template_less
add ae98d5fa6a refactor(DataSourceEditor tests): remove unused await and
increase timeout for "can modify columns" test
add 253a72f58a fix(theming): Fix visual regressions from theming P4
(#33703)
add 1be1ca1eee refactor(theming): Remove direct imports of supersetTheme
(#33770)
add 0a07520dea feat(theming): implement a ThemeController (#33420)
add 45a032a2f8 fix(BaseIcon): Ensure iconSize is parsed correctly when
passed as string (#33780)
add 22be65a71b fix(Table): table colors
add f7c38eb104 chore(storybook): Include the missing path for loading
component inside storybook (#33787)
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 23fe1e597a Merge branch 'master' into template_less
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 957be7b9e5 Merge branch 'master' into template_less
add e6ccef086b fix CI tests
add e2ccd43278 fix(ThemeController): change mode when theme is edited
add 64b390e50b fix(ThemeController): update themeObject
add 5d8e8c929e fix(ThemeController): update theme object with controller
and select-editor compat
add 6b46794de4 fix SubMenu active button text in home page
add 1036b15256 fix(theming): Fix visual regressions from theming P5
(#33786)
add ed188a26f7 fix(HeaderMenu): remove mocks
add 2a837d28b4 fix(TableChart): background colors test
add bdf5858783 fix(e2e): containing label
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 128eb09d2a Merge branch 'master' into template_less
add 745c62b23a re-removing enzyme from package.json
add 3a2d41e8ac chore(Icons): add import for "UserAddOutlined" icon from
AntD
add 52e116ba68 fix(RightMenu): center items vertically
add 217719b726 shut pre-commit/pylint up
add 9d60102d82 Merge branch 'template_less' 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 +-
superset-frontend/.storybook/main.js | 1 +
.../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 | 8 +-
superset-frontend/package-lock.json | 3634 ++------------------
superset-frontend/package.json | 2 -
.../src/components/ControlHeader.tsx | 5 +-
.../components/RadioButtonControl.tsx | 59 +-
.../superset-ui-chart-controls/src/types.ts | 1 +
.../test/components/ColumnOption.test.tsx | 12 +-
.../components/InfoTooltipWithTrigger.test.tsx | 7 +-
.../test/components/MetricOption.test.tsx | 7 +-
.../test/components/labelUtils.test.tsx | 19 +-
.../src/chart/models/ChartProps.ts | 11 +
.../src/components/CachedLabel/index.tsx | 2 +-
.../components/DeleteModal/DeleteModal.test.tsx | 20 +-
.../src/components/DeleteModal/index.tsx | 12 +-
.../src/components/Dropdown/Dropdown.stories.tsx | 12 +-
.../DropdownButton/DropdownButton.stories.tsx | 12 +-
.../src/components/Form/FormItem.tsx | 1 +
.../src/components/Icons/AntdEnhanced.tsx | 16 +-
.../src/components/Icons/BaseIcon.tsx | 8 +-
.../ListViewCard/ListViewCard.stories.tsx | 27 +-
.../src/components/ListViewCard/index.tsx | 14 +-
.../src/components/Menu/Menu.stories.tsx | 33 +-
.../superset-ui-core/src/components/Menu/index.tsx | 1 +
.../src/components/Metadata/index.tsx | 2 +-
.../components/MetadataBar/MetadataBar.test.tsx | 4 +-
.../src/components/MetadataBar/MetadataBar.tsx | 5 +-
.../src/components/Modal/Modal.tsx | 15 +-
.../superset-ui-core/src/components/Modal/types.ts | 1 +
.../components/ModalTrigger/ModalTrigger.test.tsx | 13 -
.../PageHeaderWithActions.test.tsx | 7 +-
.../src/components/Pagination/Item.tsx | 3 +-
.../src/components/Popover/Popover.test.tsx | 9 -
.../src/components/PopoverDropdown/index.tsx | 45 +-
.../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 | 13 +-
.../src/components/Select/styles.tsx | 4 +
.../src/components/Select/utils.tsx | 21 +-
.../Table/cell-renderers/ActionCell/index.tsx | 14 +-
.../cell-renderers/NullCell/NullCell.test.tsx | 8 -
.../src/components/TableCollection/index.tsx | 3 +
.../src/components/ThemeEditor/index.tsx | 15 +-
.../src/components/ThemeSelect/index.tsx | 79 +
.../src/components/TimezoneSelector/index.tsx | 2 +
.../src/components/Typography/Typography.test.tsx | 2 +-
.../src/query/types/PostProcessing.ts | 1 +
.../packages/superset-ui-core/src/spec/index.tsx | 1 +
.../packages/superset-ui-core/src/theme/Theme.tsx | 8 +-
.../packages/superset-ui-core/src/theme/index.tsx | 18 +-
.../packages/superset-ui-core/src/theme/types.ts | 36 +-
.../superset-ui-core/src/ui-overrides/types.ts | 11 +
.../packages/superset-ui-core/src/utils/dates.ts | 2 +
.../superset-ui-core/src/utils/featureFlags.ts | 3 +-
.../packages/superset-ui-core/src/utils/tooltip.ts | 5 +-
.../chart/components/FallbackComponent.test.tsx | 17 +-
.../chart/components/NoResultsComponent.test.tsx | 9 +-
.../test/chart/components/SuperChart.test.tsx | 39 +-
.../test/chart/components/SuperChartCore.test.tsx | 34 +-
.../superset-ui-core/test/utils/tooltip.test.ts | 55 +-
.../test/OptionDescription.test.jsx | 9 +-
.../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/TableChart.tsx | 2 +-
.../plugins/plugin-chart-table/src/buildQuery.ts | 53 +-
.../plugin-chart-table/src/controlPanel.tsx | 25 +
.../plugin-chart-table/test/TableChart.test.tsx | 29 +-
.../plugin-chart-table/test/buildQuery.test.ts | 87 +
superset-frontend/spec/helpers/testing-library.tsx | 22 +-
.../SqlLab/components/QueryLimitSelect/index.tsx | 15 +-
.../src/SqlLab/components/ResultSet/index.tsx | 6 +-
.../SaveDatasetActionButton.test.tsx | 4 +-
.../src/SqlLab/components/SaveQuery/index.tsx | 22 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 42 +-
.../SqlLab/components/SouthPane/SouthPane.test.tsx | 17 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 184 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 2 +-
.../SqlLab/components/SqlEditorTabHeader/index.tsx | 178 +-
.../src/SqlLab/components/TableElement/index.tsx | 2 -
.../src/SqlLab/components/TablePreview/index.tsx | 2 -
.../src/components/Chart/ChartRenderer.jsx | 8 +
.../components/Chart/MenuItemWithTruncation.tsx | 67 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 6 +-
.../src/components/Datasource/CollectionTable.tsx | 14 +-
.../src/components/Datasource/DatasourceEditor.jsx | 129 +-
.../Datasource/DatasourceEditor.test.jsx | 37 +-
.../Datasource/DatasourceEditorCurrency.test.jsx | 8 +-
.../components/Datasource/DatasourceModal.test.jsx | 4 +-
.../src/components/Datasource/DatasourceModal.tsx | 47 +-
.../src/components/Datasource/Field.tsx | 16 +-
.../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 | 359 +-
.../src/components/ListView/Filters/Base.ts | 37 +-
.../src/components/ListView/Filters/DateRange.tsx | 24 +-
.../components/ListView/Filters/NumericalRange.tsx | 22 +-
.../src/components/ListView/Filters/Search.tsx | 23 +-
.../src/components/ListView/Filters/Select.tsx | 12 +-
.../src/components/ListView/Filters/index.tsx | 4 +-
.../{AuditInfo => ListView/Filters}/types.ts | 11 +-
superset-frontend/src/components/ListView/utils.ts | 1 +
.../src/components/MessageToasts/Toast.tsx | 2 +-
.../TableSelector/TableSelector.test.tsx | 2 +-
.../src/dashboard/components/CssEditor/index.tsx | 12 +-
.../dashboard/components/DeleteComponentButton.tsx | 8 +-
.../dashboard/components/FiltersBadge/index.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 63 +-
.../dashboard/components/gridComponents/Column.jsx | 7 +-
.../nativeFilters/FilterBar/Vertical.tsx | 1 +
.../FiltersConfigModal/DraggableFilter.tsx | 1 -
.../FiltersConfigModal/FilterConfigurePane.tsx | 5 +-
.../FiltersConfigModal/FilterTitlePane.tsx | 2 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 20 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 1 +
.../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 +
.../src/explore/components/ControlHeader.tsx | 2 +-
.../DatasourcePanel/DatasourcePanelItem.tsx | 2 +-
.../components/ExploreViewContainer/index.jsx | 9 +
.../components/ExportToCSVDropdown/index.tsx | 41 +-
.../FilterControl/AdhocFilterControl/index.jsx | 29 +-
.../index.tsx | 10 +-
.../utils/useDatePickerInAdhocFilter.tsx | 11 +-
.../components/controls/TextAreaControl.jsx | 13 +
.../explore/components/controls/ViewQuery.test.tsx | 158 +
.../src/explore/components/controls/ViewQuery.tsx | 147 +-
.../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 | 5 +-
.../src/features/alerts/components/NumberInput.tsx | 2 +
.../src/features/allEntities/AllEntitiesTable.tsx | 2 +-
.../src/features/charts/ChartCard.tsx | 176 +-
.../src/features/dashboards/DashboardCard.tsx | 102 +-
.../databases/DatabaseModal/index.test.tsx | 14 +-
.../src/features/databases/DatabaseModal/index.tsx | 3 +-
.../DatasetPanel/DatasetPanel.stories.tsx | 9 +-
superset-frontend/src/features/home/Menu.test.tsx | 22 +
.../src/features/home/RightMenu.test.tsx | 7 +
superset-frontend/src/features/home/RightMenu.tsx | 24 +-
.../src/features/home/SavedQueries.tsx | 69 +-
superset-frontend/src/features/home/SubMenu.tsx | 45 +-
superset-frontend/src/features/tags/TagCard.tsx | 62 +-
.../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-frontend/src/pages/ChartList/index.tsx | 2 +-
.../src/pages/DashboardList/index.tsx | 2 +-
superset-frontend/src/pages/DatasetList/index.tsx | 1 +
.../src/pages/SavedQueryList/index.tsx | 2 +-
superset-frontend/src/theme/ThemeController.tsx | 246 ++
superset-frontend/src/theme/ThemeProvider.tsx | 104 +
superset-frontend/src/utils/downloadAsImage.ts | 5 +-
.../src/views/RootContextProviders.tsx | 7 +-
superset-websocket/package-lock.json | 182 +-
superset-websocket/package.json | 2 +-
superset/common/query_context_processor.py | 45 +-
superset/config.py | 7 +-
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 +
222 files changed, 5435 insertions(+), 6171 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/packages/superset-ui-core/src/components/ThemeSelect/index.tsx
copy superset-frontend/src/components/{AuditInfo => ListView/Filters}/types.ts
(83%)
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-frontend/src/theme/ThemeController.tsx
create mode 100644 superset-frontend/src/theme/ThemeProvider.tsx
create mode 100644
superset/migrations/versions/2025-06-06_00-39_363a9b1e8992_convert_metric_currencies_from_str_to_json.py