This is an automated email from the ASF dual-hosted git repository.
jli pushed a change to branch fix-alert-report-tab-error
in repository https://gitbox.apache.org/repos/asf/superset.git
from 08a10e7991 Merge remote-tracking branch 'origin/master' into
fix-alert-report-tab-error
add f1e22ef428 fix(alerts): clear fetchMock call history between anchor
tests
add 8f070169a5 perf(datasource): add pagination to datasource editor
tables to prevent browser freeze (#37555)
add 8a74424545 fix(types): add explicit types for extendedDayjs plugin
methods (#37923)
add 615f13419c fix(jest): ignore storybook-static and package __mocks__
directories (#37946)
add 8eb3046888 fix(docs): guard window reference in logging.ts for SSR
compatibility (#38201)
add b8459c15b8 chore(deps-dev): bump @typescript-eslint/parser from 8.56.0
to 8.56.1 in /docs (#38211)
add f60432e34c fix: Allow non-owners to fave/unfave charts (#38095)
add fca8a49561 feat: auto refresh dashboard (#37459)
add 974bee14c3 fix(extensions): make LOCAL_EXTENSIONS loading resilient to
individual failures (#38217)
add 7b04d251d6 fix(build): restore automatic .d.ts generation in dev mode
(#38202)
add 35c135852e feat(extensions): add mandatory publisher field to
extension metadata (#38200)
add 0d66accc37 chore(build): prevent opening Dependabot PRs for `@rjsf/*`
deps due to React 18 constraint (#37976)
add 97b8585fe5 chore(deps-dev): bump typescript-eslint from 8.56.0 to
8.56.1 in /docs (#38209)
add aa475734ef chore(deps-dev): bump eslint from 9.39.2 to 10.0.2 in
/superset-websocket (#38204)
add e4a7cd30c3 fix(GAQ): don't use async queries when cache timeout is -1
(#38089)
add 76a2559b2b fix(ci): revert "chore(deps): bump
JustinBeckwith/linkinator-action from 2.3 to 2.4" (#38164)
add 71ecb433da Merge remote-tracking branch 'origin/master' into
fix-alert-report-tab-error
No new revisions were added by this update.
Summary of changes:
.github/dependabot.yml | 1 +
.github/workflows/superset-docs-verify.yml | 2 +-
docs/developer_portal/extensions/quick-start.md | 73 +-
docs/package.json | 4 +-
docs/yarn.lock | 153 ++--
.../src/superset_core/extensions}/constants.py | 27 +-
.../src/superset_core/extensions/types.py | 26 +-
.../src/superset_extensions_cli/cli.py | 197 +++--
.../templates/extension.json.j2 | 8 +-
.../templates/frontend/package.json.j2 | 2 +-
.../templates/frontend/webpack.config.js.j2 | 2 +-
.../src/superset_extensions_cli/types.py | 25 +-
.../src/superset_extensions_cli/utils.py | 226 ++++--
superset-extensions-cli/tests/conftest.py | 39 +-
superset-extensions-cli/tests/test_cli_build.py | 85 ++-
superset-extensions-cli/tests/test_cli_bundle.py | 19 +-
superset-extensions-cli/tests/test_cli_dev.py | 29 +-
superset-extensions-cli/tests/test_cli_init.py | 158 ++--
.../tests/test_name_transformations.py | 834 ++++++++++++---------
superset-extensions-cli/tests/test_templates.py | 138 ++--
superset-frontend/jest.config.js | 5 +
.../packages/superset-core/src/utils/logging.ts | 3 +-
.../src/components/Icons/AntdEnhanced.tsx | 10 +-
.../packages/superset-ui-core/src/utils/dates.ts | 40 +-
.../plugin-chart-echarts/src/BigNumber/types.ts | 1 +
.../plugin-chart-echarts/src/Graph/buildQuery.ts | 21 +-
.../plugin-chart-echarts/src/Heatmap/Heatmap.tsx | 3 +-
.../plugin-chart-echarts/src/Sankey/buildQuery.ts | 19 +-
.../plugin-chart-echarts/src/Timeseries/types.ts | 1 +
.../plugin-chart-echarts/src/Tree/buildQuery.ts | 15 +-
.../src/Tree/transformProps.ts | 10 +-
.../src/Treemap/EchartsTreemap.tsx | 2 +-
.../plugin-chart-echarts/src/Treemap/buildQuery.ts | 16 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 30 +-
.../plugins/plugin-chart-echarts/src/types.ts | 1 +
.../src/utils/orderby.test.ts} | 19 +-
.../plugin-chart-echarts/src/utils/orderby.ts | 51 ++
.../plugin-chart-echarts/src/utils/series.ts | 6 +-
.../test/Graph/buildQuery.test.ts | 2 +
.../test/Timeseries/transformProps.test.ts | 2 +-
.../test/Tree/buildQuery.test.ts | 33 +-
.../plugin-chart-echarts/test/utils/series.test.ts | 2 +-
.../src/plugin/buildQuery.ts | 17 +-
superset-frontend/src/components/Chart/Chart.tsx | 6 +-
.../src/components/Chart/ChartRenderer.test.tsx | 70 +-
.../src/components/Chart/ChartRenderer.tsx | 18 +-
.../src/components/Chart/chartAction.ts | 24 +-
.../src/components/Chart/chartReducer.ts | 8 +
.../src/components/Chart/chartReducers.test.ts | 30 +-
.../Datasource/DatasourceModal/index.tsx | 7 +-
.../components/CollectionTable/index.tsx | 55 +-
.../DatasourceEditor/DatasourceEditor.tsx | 367 +++++----
.../DatasetUsageTab/DatasetUsageTab.test.tsx | 143 ++++
.../components/DatasetUsageTab/index.tsx | 71 +-
.../tests/DatasourceEditor.test.tsx | 242 ++++++
.../src/components/Datasource/types.ts | 11 +
.../src/dashboard/actions/autoRefresh.ts | 124 +++
.../src/dashboard/actions/dashboardState.test.ts | 164 ++++
.../src/dashboard/actions/dashboardState.ts | 63 +-
superset-frontend/src/dashboard/actions/hydrate.ts | 2 +
.../components/AutoRefreshIndicator/index.tsx | 169 +++++
.../AutoRefreshStatus/StatusIndicatorDot.test.tsx | 114 +++
.../AutoRefreshStatus/StatusIndicatorDot.tsx | 168 +++++
.../StatusTooltipContent.test.tsx | 180 +++++
.../AutoRefreshStatus/StatusTooltipContent.tsx | 178 +++++
.../components/FiltersBadge/FiltersBadge.test.tsx | 251 +++++--
.../dashboard/components/FiltersBadge/index.tsx | 27 +-
.../dashboard/components/Header/Header.test.tsx | 128 +++-
.../src/dashboard/components/Header/index.tsx | 383 +++++-----
.../src/dashboard/components/Header/types.ts | 26 +-
.../Header/useHeaderActionsDropdownMenu.tsx | 13 +-
.../components/Header/useHeaderAutoRefresh.ts | 410 ++++++++++
.../dashboard/components/PropertiesModal/index.tsx | 18 +-
.../PropertiesModal/sections/RefreshSection.tsx | 2 +-
.../dashboard/components/RefreshButton/index.tsx | 81 ++
.../{index.ts => RefreshFrequencySelect.test.tsx} | 25 +-
.../RefreshFrequency/RefreshFrequencySelect.tsx | 67 +-
.../dashboard/components/RefreshIntervalModal.tsx | 81 +-
.../components/gridComponents/Chart/Chart.tsx | 5 +-
.../components/gridComponents/Tab/Tab.test.tsx | 2 +
.../components/gridComponents/Tab/Tab.tsx | 17 +-
.../src/dashboard/containers/DashboardPage.tsx | 15 +-
.../dashboard/contexts/AutoRefreshContext.test.tsx | 137 ++++
.../src/dashboard/contexts/AutoRefreshContext.tsx | 101 +++
.../hooks/useAutoRefreshTabPause.test.tsx | 378 ++++++++++
.../src/dashboard/hooks/useAutoRefreshTabPause.ts | 146 ++++
.../src/dashboard/hooks/useCurrentTime.test.ts | 182 +++++
.../src/dashboard/hooks/useCurrentTime.ts | 67 ++
.../dashboard/hooks/useRealTimeDashboard.test.ts | 175 +++++
.../src/dashboard/hooks/useRealTimeDashboard.ts | 245 ++++++
.../src/dashboard/hooks/useTabVisibility.test.ts | 175 +++++
.../src/dashboard/hooks/useTabVisibility.ts | 102 +++
.../dashboard/reducers/autoRefreshReducer.test.ts | 246 ++++++
.../src/dashboard/reducers/dashboardState.ts | 81 ++
superset-frontend/src/dashboard/types.ts | 16 +-
.../src/dashboard/types/autoRefresh.ts | 64 ++
.../src/features/alerts/AlertReportModal.test.tsx | 3 +
superset-frontend/webpack.config.js | 21 +-
superset-websocket/package-lock.json | 573 +++++++-------
superset-websocket/package.json | 2 +-
superset/charts/data/api.py | 19 +-
superset/commands/chart/fave.py | 8 -
superset/commands/chart/unfave.py | 8 -
superset/extensions/api.py | 35 +-
superset/extensions/utils.py | 36 +-
tests/integration_tests/charts/commands_tests.py | 17 +-
tests/unit_tests/extensions/test_types.py | 108 ++-
107 files changed, 7159 insertions(+), 1908 deletions(-)
copy {superset/mcp_service/dashboard =>
superset-core/src/superset_core/extensions}/constants.py (53%)
copy superset-frontend/{src/explore/exploreUtils/getLegacyEndpointType.test.ts
=> plugins/plugin-chart-echarts/src/utils/orderby.test.ts} (65%)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/utils/orderby.ts
create mode 100644 superset-frontend/src/dashboard/actions/autoRefresh.ts
create mode 100644
superset-frontend/src/dashboard/components/AutoRefreshIndicator/index.tsx
create mode 100644
superset-frontend/src/dashboard/components/AutoRefreshStatus/StatusIndicatorDot.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/AutoRefreshStatus/StatusIndicatorDot.tsx
create mode 100644
superset-frontend/src/dashboard/components/AutoRefreshStatus/StatusTooltipContent.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/AutoRefreshStatus/StatusTooltipContent.tsx
create mode 100644
superset-frontend/src/dashboard/components/Header/useHeaderAutoRefresh.ts
create mode 100644
superset-frontend/src/dashboard/components/RefreshButton/index.tsx
copy superset-frontend/src/dashboard/components/RefreshFrequency/{index.ts =>
RefreshFrequencySelect.test.tsx} (58%)
create mode 100644
superset-frontend/src/dashboard/contexts/AutoRefreshContext.test.tsx
create mode 100644
superset-frontend/src/dashboard/contexts/AutoRefreshContext.tsx
create mode 100644
superset-frontend/src/dashboard/hooks/useAutoRefreshTabPause.test.tsx
create mode 100644
superset-frontend/src/dashboard/hooks/useAutoRefreshTabPause.ts
create mode 100644 superset-frontend/src/dashboard/hooks/useCurrentTime.test.ts
create mode 100644 superset-frontend/src/dashboard/hooks/useCurrentTime.ts
create mode 100644
superset-frontend/src/dashboard/hooks/useRealTimeDashboard.test.ts
create mode 100644
superset-frontend/src/dashboard/hooks/useRealTimeDashboard.ts
create mode 100644
superset-frontend/src/dashboard/hooks/useTabVisibility.test.ts
create mode 100644 superset-frontend/src/dashboard/hooks/useTabVisibility.ts
create mode 100644
superset-frontend/src/dashboard/reducers/autoRefreshReducer.test.ts
create mode 100644 superset-frontend/src/dashboard/types/autoRefresh.ts