This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch chore/lint-cleanup-function-components
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 89cc44ebe4d fix(lint): resolve no-use-before-define errors and restore
Chart test behavior
omit 24b4de04c27 fix(pivot-table): use correct react-icons import path
omit 4e472da5c66 fix(types): make SuperChart theme prop optional
omit cc77d41dd9f fix: add missing theme prop to SuperChart in story files
omit b501d60a3f1 fix: address bot review comments for function component
conversion
omit 26776c9d9bf style: apply prettier formatting fixes
omit 2132ac61d2e fix(tests): remove unused dashboardStateActions import
omit 1f7170624e9 fix(tests): update SaveModal tests for function component
conversion
omit 6d9a7169dff fix(tests): skip TableRenderer tests pending FC refactoring
omit bb3a3b17351 fix: add theme prop to SuperChart instances in src/ files
omit 0fbab635bc3 fix(storybook): add theme prop to all SuperChart instances
in stories
omit 5245a25280f fix(tests): add theme prop to SuperChart test instances
omit 00cc5ac76ab fix: address code review comments from bot
omit 1aacaff2e81 fix(StatefulChart): pass theme prop to SuperChart
omit da57c4cb07e chore(lint): convert class components to function
components
add 672a3805876 chore(frontend): enable additional oxlint rules for better
code hygiene (#38145)
add 3f64ad3da5e fix(i18n): wrap untranslated frontend strings and add i18n
lint rule (#37776)
add 2a3567d2f11 fix(mcp): Remove unsupported thumbnail/preview URLs and
internal fields from MCP schemas (#38109)
add cbb80f04627 refactor(extensions): simplify registerEditorProvider API
(#38127)
add 6f3a200c190 chore(deps-dev): bump @types/lodash from 4.17.23 to
4.17.24 in /superset-websocket (#38179)
add 131a97b6579 fix(handlebars): add missing currencyformatter.js
dependency (#38173)
add 50cc1b93d22 fix(security): fix Guest Token API 422 error by disabling
JWT sub claim verification (#38177)
add 6e94a6c21af fix(mcp): fix dashboard chart placement with proper COLUMN
layout and tab support (#37970)
add 40f609fdce2 fix(extensions): enforce correct naming conventions
(#38167)
add 228b5984096 feat: Labels for encrypted fields (#38075)
add c4eb7de6de8 fix(excel): remove unwanted index column from Excel
exports (#38176)
add e06427d1efe feat(embedded): add feature flag to disable logout button
in embedded contexts (#37537)
add 8f070169a59 perf(datasource): add pagination to datasource editor
tables to prevent browser freeze (#37555)
add 8a74424545a fix(types): add explicit types for extendedDayjs plugin
methods (#37923)
add 615f13419cb fix(jest): ignore storybook-static and package __mocks__
directories (#37946)
add 717ee206bcd chore(lint): convert class components to function
components
add 56163b20c48 fix(StatefulChart): pass theme prop to SuperChart
add 68a6ac0ebe3 fix: address code review comments from bot
add c51e90c3d6c fix(tests): add theme prop to SuperChart test instances
add 27ada4c0f45 fix(storybook): add theme prop to all SuperChart instances
in stories
add 8944f5a976c fix: add theme prop to SuperChart instances in src/ files
add ddf0c90dd6d fix(tests): skip TableRenderer tests pending FC refactoring
add 878a52bcf20 fix(tests): update SaveModal tests for function component
conversion
add 2d1a9513735 fix(tests): remove unused dashboardStateActions import
add 759b072d1d8 style: apply prettier formatting fixes
add db1b107f193 fix: address bot review comments for function component
conversion
add 3dbab681af9 fix: add missing theme prop to SuperChart in story files
add 60aef70e444 fix(types): make SuperChart theme prop optional
add 2c5ba0f33f7 fix(pivot-table): use correct react-icons import path
add 3a07e04add7 fix(lint): resolve no-use-before-define errors and restore
Chart test behavior
add 2b394f3e861 fix: resolve rebase conflict residue in DatasourceEditor
add bd04c9f903e fix: apply linter auto-fixes and add missing closing div
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 (89cc44ebe4d)
\
N -- N -- N refs/heads/chore/lint-cleanup-function-components
(bd04c9f903e)
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:
docs/developer_portal/extensions/development.md | 44 +-
.../extensions/extension-points/editors.md | 8 +-
docs/developer_portal/extensions/quick-start.md | 56 +-
docs/docs/configuration/networking-settings.mdx | 18 +
docs/static/feature-flags.json | 8 +
.../src/superset_core/extensions/types.py | 5 +
.../src/superset_extensions_cli/cli.py | 174 +-
.../src/superset_extensions_cli/exceptions.py | 6 +-
.../templates/backend/pyproject.toml.j2 | 2 +-
.../templates/backend/src/package/entrypoint.py.j2 | 2 +-
.../templates/extension.json.j2 | 5 +-
.../templates/frontend/webpack.config.js.j2 | 2 +-
.../src/superset_extensions_cli}/types.py | 33 +-
.../src/superset_extensions_cli/utils.py | 262 +
superset-extensions-cli/tests/conftest.py | 8 +-
superset-extensions-cli/tests/test_cli_init.py | 139 +-
.../tests/test_name_transformations.py | 400 ++
superset-extensions-cli/tests/test_templates.py | 73 +-
superset-frontend/jest.config.js | 5 +
superset-frontend/oxlint.json | 25 +-
superset-frontend/package-lock.json | 4 +-
.../packages/superset-core/src/api/editors.ts | 14 +-
.../src/ui/components/Alert/index.tsx | 3 +-
.../src/shared-controls/mixins.tsx | 4 +-
.../src/shared-controls/sharedControls.tsx | 14 +-
.../components/Matrixify/MatrixifyGridCell.tsx | 3 +-
.../src/chart/components/StatefulChart.tsx | 3 +-
.../src/components/Loading/index.tsx | 9 +-
.../src/components/MetadataBar/ContentConfig.tsx | 2 +-
.../src/components/MetadataBar/MetadataBar.tsx | 4 +-
.../packages/superset-ui-core/src/utils/dates.ts | 40 +-
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../src/TTestTable.tsx | 2 +-
.../src/AgGridTable/index.tsx | 4 +-
.../src/controlPanel.tsx | 48 +-
.../src/transformProps.ts | 172 +-
.../plugins/plugin-chart-handlebars/package.json | 1 +
.../src/components/Handlebars/HandlebarsViewer.tsx | 2 +-
.../plugin-chart-table/src/DataTable/DataTable.tsx | 4 +-
.../src/DataTable/components/GlobalFilter.tsx | 5 +-
.../plugin-chart-table/src/controlPanel.tsx | 48 +-
.../plugin-chart-table/src/transformProps.ts | 164 +-
superset-frontend/scripts/check-custom-rules.js | 366 +-
.../src/SqlLab/components/TablePreview/index.tsx | 6 +-
.../src/SqlLab/reducers/getInitialState.ts | 3 +-
.../src/components/DatabaseSelector/index.tsx | 4 +-
.../Datasource/DatasourceModal/index.tsx | 7 +-
.../components/CollectionTable/index.tsx | 2 +-
.../DatasourceEditor/DatasourceEditor.tsx | 355 +-
.../DatasetUsageTab/DatasetUsageTab.test.tsx | 143 +
.../components/DatasetUsageTab/index.tsx | 71 +-
.../tests/DatasourceEditor.test.tsx | 242 +
.../src/components/Datasource/types.ts | 11 +
.../src/components/ErrorMessage/IssueCode.tsx | 3 +-
.../ErrorMessage/OAuth2RedirectMessage.tsx | 13 +-
.../src/components/GridTable/Header.tsx | 5 +-
superset-frontend/src/components/ListView/utils.ts | 5 +-
.../src/components/MessageToasts/Toast.tsx | 3 +-
.../src/components/MessageToasts/reducers.ts | 2 +-
superset-frontend/src/core/editors/index.ts | 24 +-
.../dashboard/components/EmbeddedModal/index.tsx | 2 +-
.../RefreshFrequency/RefreshFrequencySelect.tsx | 4 +-
.../components/SliceHeaderControls/index.tsx | 2 +-
.../components/URLShortLinkButton/index.tsx | 2 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 20 +-
.../FilterBar/FilterBarSettings/index.tsx | 4 +-
.../components/nativeFilters/FilterBar/state.ts | 2 +-
.../ConfigModalSidebar/ConfigModalSidebar.tsx | 4 +-
.../FiltersConfigModal/DraggableFilter.tsx | 3 +-
.../FiltersConfigModal/FilterConfigPane.test.tsx | 2 +-
.../FiltersConfigModal/FilterTitleContainer.tsx | 2 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
.../src/dashboard/util/getOverwriteItems.ts | 2 +-
.../src/dashboard/util/isValidChild.test.ts | 2 +-
.../src/explore/components/EmbedCodeContent.tsx | 2 +-
.../explore/components/PropertiesModal/index.tsx | 2 +-
.../src/explore/components/SaveModal.tsx | 4 +-
.../AnnotationLayerControl/AnnotationLayer.tsx | 8 +-
.../controls/AnnotationLayerControl/index.tsx | 2 +-
.../CollectionControl/CollectionControl.test.tsx | 2 +-
.../controls/CollectionControl/index.tsx | 2 +-
.../DndColumnSelectControl/useResizeButton.tsx | 4 +-
.../FilterControl/AdhocFilterEditPopover/index.tsx | 2 +-
.../MetricControl/AdhocMetricEditPopover/index.tsx | 2 +-
.../controls/SelectAsyncControl/index.tsx | 2 +-
.../explore/components/controls/SelectControl.tsx | 2 +-
.../controls/VizTypeControl/FastVizSwitcher.tsx | 3 +-
.../VizTypeControl/VizTypeControl.test.tsx | 4 +-
.../ZoomConfigControl/ZoomConfigControl.tsx | 4 +-
.../src/extensions/ExtensionsManager.ts | 4 +-
.../DatabaseConnectionForm/CommonParameters.tsx | 8 +-
.../DatabaseConnectionForm/OAuth2ClientField.tsx | 13 +-
.../DatabaseConnectionForm/ValidatedInputField.tsx | 6 +-
.../databases/DatabaseModal/ExtraOptions.tsx | 2 +-
.../databases/DatabaseModal/SSHTunnelForm.tsx | 8 +-
.../src/features/databases/DatabaseModal/index.tsx | 13 +-
.../databases/UploadDataModel/ColumnsPreview.tsx | 2 +-
.../features/databases/UploadDataModel/index.tsx | 9 +-
.../datasets/AddDataset/RightPanel/index.tsx | 4 +-
.../src/features/home/RightMenu.test.tsx | 83 +
superset-frontend/src/features/home/RightMenu.tsx | 33 +-
.../src/features/userInfo/UserInfoModal.tsx | 2 +-
.../src/features/users/UserListModal.tsx | 2 +-
superset-frontend/src/pages/Register/index.tsx | 8 +-
superset-frontend/src/pages/UserInfo/index.tsx | 28 +-
superset-frontend/src/views/CRUD/utils.tsx | 60 +-
superset-websocket/package-lock.json | 14 +-
superset-websocket/package.json | 2 +-
superset/common/query_context_processor.py | 4 +-
superset/config.py | 11 +
superset/db_engine_specs/base.py | 29 +-
superset/db_engine_specs/bigquery.py | 4 +-
superset/db_engine_specs/gsheets.py | 4 +-
superset/db_engine_specs/mysql.py | 4 +-
superset/db_engine_specs/postgres.py | 4 +-
superset/db_engine_specs/redshift.py | 4 +-
superset/db_engine_specs/snowflake.py | 4 +-
superset/db_engine_specs/ydb.py | 5 +-
superset/extensions/utils.py | 29 +
superset/mcp_service/chart/schemas.py | 9 +-
superset/mcp_service/chart/tool/get_chart_info.py | 3 +-
.../mcp_service/chart/tool/get_chart_preview.py | 7 +-
.../create_form_data.py => dashboard/constants.py} | 23 +-
superset/mcp_service/dashboard/schemas.py | 3 -
.../tool/add_chart_to_existing_dashboard.py | 162 +-
.../dashboard/tool/generate_dashboard.py | 42 +-
superset/translations/ar/LC_MESSAGES/messages.po | 3274 ++++++++--
superset/translations/ca/LC_MESSAGES/messages.po | 5178 ++++++++++++----
superset/translations/de/LC_MESSAGES/messages.po | 3272 ++++++++--
superset/translations/en/LC_MESSAGES/messages.po | 2621 ++++++--
superset/translations/es/LC_MESSAGES/messages.po | 5661 ++++++++++++++----
superset/translations/fa/LC_MESSAGES/messages.po | 3266 ++++++++--
superset/translations/fr/LC_MESSAGES/messages.po | 1540 ++++-
superset/translations/it/LC_MESSAGES/messages.po | 3155 ++++++++--
superset/translations/ja/LC_MESSAGES/messages.po | 3245 ++++++++--
superset/translations/ko/LC_MESSAGES/messages.po | 3105 ++++++++--
superset/translations/messages.pot | 2615 ++++++--
superset/translations/mi/LC_MESSAGES/messages.po | 6248 ++++++++++++++------
superset/translations/nl/LC_MESSAGES/messages.po | 3280 ++++++++--
superset/translations/pl/LC_MESSAGES/messages.po | 3303 +++++++++--
superset/translations/pt/LC_MESSAGES/messages.po | 3188 ++++++++--
.../translations/pt_BR/LC_MESSAGES/messages.po | 3291 +++++++++--
superset/translations/ru/LC_MESSAGES/messages.po | 4670 +++++++++------
superset/translations/sk/LC_MESSAGES/messages.po | 2829 +++++++--
superset/translations/sl/LC_MESSAGES/messages.po | 3254 ++++++++--
superset/translations/tr/LC_MESSAGES/messages.po | 3077 ++++++++--
superset/translations/uk/LC_MESSAGES/messages.po | 3296 +++++++++--
superset/translations/zh/LC_MESSAGES/messages.po | 3252 ++++++++--
.../translations/zh_TW/LC_MESSAGES/messages.po | 3255 ++++++++--
.../common/test_query_context_processor.py | 4 +-
tests/unit_tests/db_engine_specs/test_base.py | 45 +
.../chart/tool/test_get_chart_preview.py | 1 -
.../mcp_service/chart/tool/test_list_charts.py | 4 +-
.../dashboard/tool/test_dashboard_generation.py | 399 +-
154 files changed, 68082 insertions(+), 16087 deletions(-)
copy superset/sql/execution/__init__.py =>
superset-extensions-cli/src/superset_extensions_cli/exceptions.py (88%)
copy {superset/extensions =>
superset-extensions-cli/src/superset_extensions_cli}/types.py (55%)
create mode 100644 superset-extensions-cli/tests/test_name_transformations.py
copy superset/mcp_service/{commands/create_form_data.py =>
dashboard/constants.py} (61%)