This is an automated email from the ASF dual-hosted git repository.
yongjiezhao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
from cc2334e58c chore(dashboard): Ignore empty json value for overwrite
confirm (#22214)
add 22fab5e58c feat: Axis sort in the Bar Chart V2 (#21993)
No new revisions were added by this update.
Summary of changes:
.../src/operators/sortOperator.ts | 42 +++++--
.../src/sections/echartsTimeSeriesQuery.tsx | 64 ++++++-----
.../src/shared-controls/customControls.tsx | 106 +++++++++++++++++-
.../src/shared-controls/sharedControls.tsx | 4 +-
.../test/operators/sortOperator.test.ts | 121 +++++++++++----------
.../superset-ui-core/src/query/getColumnLabel.ts | 4 +-
.../packages/superset-ui-core/src/query/index.ts | 7 +-
.../src/query/types/PostProcessing.ts | 4 +-
.../test/query/types/PostProcessing.test.ts | 2 +-
.../plugin-chart-echarts/src/BoxPlot/buildQuery.ts | 2 +-
.../src/BoxPlot/controlPanel.ts | 2 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 37 +------
.../src/Timeseries/buildQuery.ts | 2 +
.../src/plugin/buildQuery.ts | 2 +-
.../src/plugin/controlPanel.tsx | 2 +-
.../plugins/plugin-chart-table/src/buildQuery.ts | 2 +-
.../plugin-chart-table/src/controlPanel.tsx | 2 +-
.../components/controls/XAxisSortControl.tsx} | 30 +++--
.../src/explore/components/controls/index.js | 2 +
superset/utils/pandas_postprocessing/sort.py | 24 +++-
superset/utils/pandas_postprocessing/utils.py | 12 +-
tests/common/query_context_generator.py | 4 +-
.../unit_tests/pandas_postprocessing/test_sort.py | 29 ++++-
23 files changed, 325 insertions(+), 181 deletions(-)
copy superset-frontend/src/{hooks/useChangeEffect/useChangeEffect.ts =>
explore/components/controls/XAxisSortControl.tsx} (63%)