Brian Donovan
427d94b4bd
fix(chart): add independent sort_by_series control for word cloud
...
Make sort_by_metric and sort_by_series independent controls instead of
the previous behavior where series sort was unconditionally appended
alongside the metric sort. This allows users to choose metric-only
sorting (enabling Druid TopN optimization) while optionally adding a
secondary series sort for tie-breaking.
Changes:
- buildQuery.ts: sort_by_metric and sort_by_series are now independent
- controlPanel.tsx: add sort_by_series checkbox (default: false)
- buildQuery.test.ts: cover all four sort combinations
- DB migration: set sort_by_series=true for existing word_cloud charts
to preserve backward compatibility
Fixes #39072
2026-04-13 12:47:13 -07:00
Brian Donovan
d56d31b252
fix(chart): word cloud secondary sort prevents Druid TopN optimization when sort_by_metric enabled
...
When sort_by_metric is true, buildQuery unconditionally appended a
secondary ORDER BY series ASC alongside the metric sort. On Druid, any
multi-column ORDER BY prevents the native TopN query optimization,
forcing a full GroupBy scan that can cause dramatic slowdowns and
timeouts on high-cardinality dimensions.
Make the series sort mutually exclusive with sort_by_metric, and add
test coverage for both sort behaviors.
Fixes #39072
2026-04-13 12:24:35 -07:00
Đỗ Trọng Hải
563d9f1a3f
chore(lint): migrate Jest lint rules from eslint to oxlint ( #37787 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-02-08 16:44:42 +07:00
OrhanBC
d5c5dbb3bf
refactor(word-cloud): convert rotation and color controls to React components (POC) ( #36275 )
...
Co-authored-by: BrandanBurgess <brandanbb13@gmail.com >
2025-11-28 12:28:31 -08:00
Michael S. Molina
6cb3ef9f5d
chore: TypeScript Configuration Modernization and Cleanup ( #35159 )
2025-09-18 16:27:57 -03:00
Michael S. Molina
93ba8e16c3
refactor: Creates the VizType enum ( #31193 )
2024-11-29 10:05:02 -03:00
Michael S. Molina
85b66946ed
refactor: Remove dead code from the Word Cloud plugin ( #29594 )
2024-07-19 10:37:40 -03:00
Geido
313ee596f5
fix(Dashboard): Color inconsistency on refreshes and conflicts ( #27439 )
2024-06-20 15:30:11 +02:00
Michael S. Molina
e9032e95ec
chore: Adds theme object to chart properties ( #19951 )
2022-05-04 09:55:22 -03:00
Josh Soref
bebb10e495
chore(frontend-tests): Spelling ( #19853 )
...
* spelling: against
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: been
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: charts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: clicking
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: columns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: duplicate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: especially
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: extensions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fields
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: filter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: for
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: label
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: labeled
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: nativefilter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: registry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: render
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: resizable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: response
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: transform
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: unfortunately
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: until
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: virtual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: wrapper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-26 10:35:01 -07:00
Yongjie Zhao
3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) ( #17552 )
2021-11-30 08:29:57 +08:00