This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a change to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
from dfd699f440 fix: Cypress test to force mouseover (follow-up) (#25223)
new 10e781d0ff feat: Add currencies controls in control panels (#24718)
new 65a2ca9e6f chore(trino): remove unnecessary index checks (#25211)
new 2f1ce7f721 fix: Clearing the currency format has no effect on the
chart (#25238)
new 6d1b969602 fix: Don't apply number formatting to the label in Treemap
(#25249)
new 39dcb29a69 fix: Currency formatting in Table raw mode (#25248)
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/components/ControlForm/controls.tsx | 92 ---------------
.../ColumnConfigControl/ColumnConfigPopover.tsx | 73 ------------
.../src/shared-controls/components/index.tsx | 3 -
.../src/shared-controls/sharedControls.tsx | 7 ++
.../superset-ui-chart-controls/src/types.ts | 64 +++++++++-
.../src/currency-format/CurrencyFormatter.ts | 2 +-
.../superset-ui-core/src/currency-format/utils.ts | 42 +++++--
.../test/currency-format/utils.test.ts | 70 +++++++++--
.../src/controlPanel.tsx | 1 +
.../src/transformProps.js | 2 +
.../src/controlPanel.ts | 5 +
.../src/transformProps.js | 5 +-
.../src/BigNumber/BigNumberTotal/controlPanel.ts | 1 +
.../src/BigNumber/BigNumberTotal/transformProps.ts | 2 +
.../BigNumberWithTrendline/controlPanel.tsx | 1 +
.../BigNumberWithTrendline/transformProps.ts | 2 +
.../src/Funnel/controlPanel.tsx | 1 +
.../src/Funnel/transformProps.ts | 2 +
.../src/Gauge/controlPanel.tsx | 1 +
.../src/Gauge/transformProps.ts | 2 +
.../src/MixedTimeseries/controlPanel.tsx | 10 ++
.../src/MixedTimeseries/transformProps.ts | 29 +++--
.../plugin-chart-echarts/src/Pie/controlPanel.tsx | 1 +
.../plugin-chart-echarts/src/Pie/transformProps.ts | 2 +
.../src/Sunburst/controlPanel.tsx | 1 +
.../src/Sunburst/transformProps.ts | 3 +
.../src/Timeseries/Area/controlPanel.tsx | 1 +
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 1 +
.../src/Timeseries/Regular/Line/controlPanel.tsx | 1 +
.../Timeseries/Regular/Scatter/controlPanel.tsx | 1 +
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 1 +
.../src/Timeseries/Step/controlPanel.tsx | 1 +
.../src/Timeseries/transformProps.ts | 9 +-
.../src/Treemap/controlPanel.tsx | 1 +
.../src/Treemap/transformProps.ts | 3 +-
.../src/utils/getYAxisFormatter.ts | 5 +-
.../plugins/plugin-chart-handlebars/src/types.ts | 2 -
.../src/PivotTableChart.tsx | 15 ++-
.../src/plugin/controlPanel.tsx | 1 +
.../src/plugin/transformProps.ts | 2 +
.../plugins/plugin-chart-pivot-table/src/types.ts | 1 +
.../test/plugin/buildQuery.test.ts | 1 +
.../test/plugin/transformProps.test.ts | 2 +
.../plugin-chart-table/src/controlPanel.tsx | 2 +
.../plugin-chart-table/src/transformProps.ts | 12 +-
.../plugins/plugin-chart-table/src/types.ts | 20 +++-
.../plugin-chart-table/src/utils/isEqualColumns.ts | 4 +-
.../plugin-chart-table/test/TableChart.test.tsx | 41 +++++++
.../plugins/plugin-chart-table/test/testData.ts | 29 +++++
superset-frontend/src/GlobalStyles.tsx | 24 ++++
.../src/components/Datasource/DatasourceEditor.jsx | 54 ++-------
.../Datasource/DatasourceEditor.test.jsx | 8 +-
.../src/explore/components/ControlHeader.tsx | 2 +-
.../ColumnConfigControl/ColumnConfigControl.tsx | 14 ++-
.../ColumnConfigControl/ColumnConfigItem.tsx | 8 +-
.../ColumnConfigControl/ColumnConfigPopover.tsx | 95 +++++++++++++++
.../ControlForm/ControlFormItem.tsx | 28 ++---
.../ColumnConfigControl/ControlForm/controls.ts} | 27 +++--
.../ColumnConfigControl}/ControlForm/index.tsx | 2 +-
.../controls}/ColumnConfigControl/constants.tsx | 68 +++++++----
.../controls}/ColumnConfigControl/index.tsx | 0
.../controls}/ColumnConfigControl/types.ts | 24 +++-
.../controls/CurrencyControl/CurrencyControl.tsx | 131 +++++++++++++++++++++
.../components/controls/CurrencyControl/index.ts | 3 +
.../src/explore/components/controls/index.js | 4 +
superset-frontend/src/views/types.ts | 1 +
superset/db_engine_specs/presto.py | 10 +-
superset/db_engine_specs/trino.py | 6 +-
68 files changed, 765 insertions(+), 324 deletions(-)
delete mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/components/ControlForm/controls.tsx
delete mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/components/ColumnConfigControl/ColumnConfigPopover.tsx
rename
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/components
=>
src/explore/components/controls}/ColumnConfigControl/ColumnConfigControl.tsx
(94%)
rename
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/components
=> src/explore/components/controls}/ColumnConfigControl/ColumnConfigItem.tsx
(91%)
create mode 100644
superset-frontend/src/explore/components/controls/ColumnConfigControl/ColumnConfigPopover.tsx
rename superset-frontend/{packages/superset-ui-chart-controls/src/components
=>
src/explore/components/controls/ColumnConfigControl}/ControlForm/ControlFormItem.tsx
(83%)
copy superset-frontend/{cypress-base/cypress/plugins/index.js =>
src/explore/components/controls/ColumnConfigControl/ControlForm/controls.ts}
(52%)
rename superset-frontend/{packages/superset-ui-chart-controls/src/components
=> src/explore/components/controls/ColumnConfigControl}/ControlForm/index.tsx
(99%)
rename
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/components
=> src/explore/components/controls}/ColumnConfigControl/constants.tsx (79%)
rename
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/components
=> src/explore/components/controls}/ColumnConfigControl/index.tsx (100%)
rename
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/components
=> src/explore/components/controls}/ColumnConfigControl/types.ts (68%)
create mode 100644
superset-frontend/src/explore/components/controls/CurrencyControl/CurrencyControl.tsx
create mode 100644
superset-frontend/src/explore/components/controls/CurrencyControl/index.ts