This is an automated email from the ASF dual-hosted git repository.
jli pushed a change to branch showtime-master
in repository https://gitbox.apache.org/repos/asf/superset.git
discard b010697d7a chore: fix spacing in AGENTS.md
add 896947c787 fix(mcp): restore select_columns filtering in list tools
(#37213)
add f4474b2e3e feat: Dynamic currency (#36416)
add b941be01cf chore(deps-dev): bump @types/node from 25.0.8 to 25.0.9 in
/superset-websocket (#37193)
add 33ff127370 chore(deps-dev): bump baseline-browser-mapping from 2.9.9
to 2.9.14 in /superset-frontend (#37198)
add f00f7d1c18 chore(deps): bump ioredis from 5.9.0 to 5.9.2 in
/superset-websocket (#37194)
add a77c2d550c fix(mixed-timeseries): prevent duplicate legend entries
(#37217)
add f984dca5cc fix(sunburst): make Show Total text theme-aware (#37177)
add 6453980d8d chore(deps): bump react-error-boundary from 6.0.0 to 6.1.0
in /superset-frontend (#37206)
add cee5ce13e0 chore(deps-dev): bump @types/node from 25.0.3 to 25.0.9 in
/superset-frontend (#37196)
add a06e6eb680 chore(deps): bump googleapis from 169.0.0 to 170.1.0 in
/superset-frontend (#37195)
add 4d462c76bd chore(deps-dev): bump @types/urijs from 1.19.25 to 1.19.26
in /superset-frontend (#36636)
add 476e454384 chore(deps): update @deck.gl/extensions requirement from
~9.2.2 to ~9.2.5 in /superset-frontend/plugins/legacy-preset-chart-deckgl
(#36618)
add 39238ef8a9 feat(ag-grid-table): Enable Time Shift feature for AG Grid
Table (#37072)
add 2e29e33dd8 fix(calendar-heatmap): correct month display across
timezones (#37064)
add 2900258e05 fix(Dashboard): Auto-apply filters with default values when
extraForm… (#36927)
add c0cbbe393a feat(Matrixify): add matrixify tag to list view and explore
(#37247)
add 409cdad264 fix(mcp): prevent MCP service from corrupting shared
appbuilder singleton (#37252)
add 4393db57d9 fix(native-filters): enable Apply button when selecting
Boolean FALSE value (#37017)
add f4597be341 fix(timeseries): x-axis last month was hidden (#37181)
add bedbb06342 chore: fix spacing in AGENTS.md
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 (b010697d7a)
\
N -- N -- N refs/heads/showtime-master (bedbb06342)
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:
superset-frontend/package-lock.json | 47 +--
superset-frontend/package.json | 6 +-
.../src/shared-controls/sharedControls.tsx | 3 +
.../superset-ui-chart-controls/src/types.ts | 1 +
.../packages/superset-ui-core/package.json | 4 +-
.../src/chart/components/FallbackComponent.tsx | 5 +-
.../CurrencyFormats.ts} | 4 +-
.../src/currency-format/CurrencyFormatter.ts | 88 +++-
.../superset-ui-core/src/currency-format/index.ts | 10 +-
.../Drawer => currency-format}/types.ts | 11 +-
.../superset-ui-core/src/currency-format/utils.ts | 129 +++++-
.../superset-ui-core/src/query/types/Datasource.ts | 1 +
.../src/query/types/QueryResponse.ts | 6 +
.../chart/components/FallbackComponent.test.tsx | 9 +-
.../test/currency-format/CurrencyFormatter.test.ts | 31 ++
.../currency-format/analyzeCurrencyInData.test.ts} | 23 +-
.../currency-format/hasMixedCurrencies.test.ts} | 18 +-
.../currency-format/normalizeCurrency.test.ts} | 23 +-
.../legacy-plugin-chart-calendar/src/Calendar.js | 3 +-
.../legacy-plugin-chart-calendar/src/utils.ts | 10 +-
.../test/getFormattedUTCTime.ts | 28 --
.../test/utils.test.ts | 96 +++++
.../src/transformProps.js | 13 +-
.../legacy-preset-chart-deckgl/package.json | 4 +-
.../plugin-chart-ag-grid-table/src/buildQuery.ts | 6 +
.../src/controlPanel.tsx | 6 +-
.../src/transformProps.ts | 18 +-
.../BigNumberPeriodOverPeriod/transformProps.ts | 13 +-
.../src/BigNumber/BigNumberTotal/transformProps.ts | 16 +-
.../BigNumberWithTrendline/transformProps.ts | 11 +-
.../plugin-chart-echarts/src/BigNumber/types.ts | 2 +-
.../src/Funnel/transformProps.ts | 11 +-
.../src/Gauge/transformProps.ts | 6 +
.../src/Heatmap/transformProps.ts | 17 +-
.../src/MixedTimeseries/transformProps.ts | 54 ++-
.../plugin-chart-echarts/src/Pie/transformProps.ts | 13 +-
.../src/Sunburst/transformProps.ts | 12 +-
.../src/Timeseries/transformProps.ts | 33 +-
.../src/Treemap/transformProps.ts | 12 +-
.../test/BigNumber/transformProps.test.ts | 56 +++
.../test/Timeseries/transformProps.test.ts | 132 ++++++
.../test/Timeseries/transformers.test.ts | 49 ++-
.../src/PivotTableChart.tsx | 124 +++++-
.../src/plugin/transformProps.ts | 18 +-
.../src/react-pivottable/TableRenderers.jsx | 8 +-
.../src/react-pivottable/utilities.js | 56 ++-
.../plugins/plugin-chart-pivot-table/src/types.ts | 2 +
.../test/plugin/transformProps.test.ts | 189 +++++++++
.../plugins/plugin-chart-table/src/TableChart.tsx | 2 +-
.../plugin-chart-table/src/transformProps.ts | 35 +-
.../plugins/plugin-chart-table/src/types.ts | 1 +
.../plugin-chart-table/src/utils/formatValue.ts | 11 +-
.../plugin-chart-table/src/utils/isEqualColumns.ts | 3 +
.../test/utils/formatValue.test.ts | 155 +++++++
.../Datasource/DatasourceModal/index.tsx | 1 +
.../DatasourceEditor/DatasourceEditor.jsx | 183 ++++++---
.../tests/DatasourceEditor.test.tsx | 44 +-
.../tests/DatasourceEditorCurrency.test.tsx | 67 +++
.../dashboard/components/FiltersBadge/index.tsx | 53 +--
.../nativeFilters/FilterBar/FilterBar.test.tsx | 115 ++++++
.../components/nativeFilters/FilterBar/index.tsx | 49 ++-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 2 +-
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 28 ++
.../components/ExploreChartHeader/index.jsx | 6 +-
.../ColumnConfigControl/ColumnConfigControl.tsx | 2 +
.../controls/ColumnConfigControl/constants.tsx | 2 +-
.../CurrencyControl.test.tsx} | 27 +-
.../controls/CurrencyControl/CurrencyControl.tsx | 80 +++-
superset-frontend/src/features/datasets/types.ts | 1 +
.../components/Select/SelectFilterPlugin.test.tsx | 457 ++++++++++++++++++++-
.../components/Select/SelectFilterPlugin.tsx | 2 +-
.../src/pages/ChartList/ChartList.test.tsx | 35 +-
.../src/pages/ChartList/ChartList.testHelpers.tsx | 13 +
superset-frontend/src/pages/ChartList/index.tsx | 23 +-
superset-websocket/package-lock.json | 28 +-
superset-websocket/package.json | 4 +-
superset/charts/schemas.py | 9 +
superset/cli/examples.py | 3 +
superset/common/query_actions.py | 65 +++
superset/common/query_context_factory.py | 34 ++
superset/connectors/sqla/models.py | 6 +-
superset/dashboards/schemas.py | 1 +
superset/datasets/api.py | 2 +
superset/datasets/schemas.py | 2 +
superset/examples/data_loading.py | 2 +
superset/examples/international_sales.py | 238 +++++++++++
superset/mcp_service/chart/tool/list_charts.py | 25 +-
.../mcp_service/dashboard/tool/list_dashboards.py | 25 +-
superset/mcp_service/dataset/tool/list_datasets.py | 25 +-
superset/mcp_service/flask_singleton.py | 82 ++--
...00_9787190b3d89_add_currency_column_support.py} | 23 +-
superset/superset_typing.py | 2 +
superset/utils/currency.py | 160 ++++++++
superset/views/core.py | 21 +-
superset/viz.py | 1 +
tests/integration_tests/datasets/commands_tests.py | 3 +
tests/integration_tests/fixtures/importexport.py | 1 +
.../common/test_query_actions_currency.py | 290 +++++++++++++
.../common/test_query_context_factory.py | 106 +++++
tests/unit_tests/connectors/sqla/models_test.py | 64 +++
tests/unit_tests/datasets/commands/export_test.py | 1 +
tests/unit_tests/datasets/schema_tests.py | 29 ++
tests/unit_tests/utils/currency_test.py | 332 +++++++++++++++
103 files changed, 3981 insertions(+), 437 deletions(-)
copy
superset-frontend/packages/superset-ui-core/src/{components/Divider/types.ts =>
currency-format/CurrencyFormats.ts} (90%)
copy superset-frontend/packages/superset-ui-core/src/{components/Drawer =>
currency-format}/types.ts (83%)
copy superset-frontend/{src/explore/exploreUtils/getLegacyEndpointType.test.ts
=>
packages/superset-ui-core/test/currency-format/analyzeCurrencyInData.test.ts}
(57%)
copy
superset-frontend/packages/{superset-ui-chart-controls/test/operators/utils/timeOffset.test.ts
=> superset-ui-core/test/currency-format/hasMixedCurrencies.test.ts} (60%)
copy
superset-frontend/packages/superset-ui-core/{src/components/Input/Input.test.tsx
=> test/currency-format/normalizeCurrency.test.ts} (61%)
delete mode 100644
superset-frontend/plugins/legacy-plugin-chart-calendar/test/getFormattedUTCTime.ts
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-calendar/test/utils.test.ts
create mode 100644
superset-frontend/plugins/plugin-chart-table/test/utils/formatValue.test.ts
copy
superset-frontend/src/explore/components/controls/{DateFilterControl/tests/CurrentCalendarFrame.test.tsx
=> CurrencyControl/CurrencyControl.test.tsx} (62%)
create mode 100644 superset/examples/international_sales.py
copy
superset/migrations/versions/{2025-03-03_20-52_94e7a3499973_add_folders_column_to_dataset.py
=> 2025-11-18_14-00_9787190b3d89_add_currency_column_support.py} (66%)
create mode 100644 superset/utils/currency.py
create mode 100644 tests/unit_tests/common/test_query_actions_currency.py
create mode 100644 tests/unit_tests/utils/currency_test.py