You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ri...@apache.org on 2026/02/11 01:03:10 UTC
(superset) 01/01: fix: update test_extension_config_full to match updated views type signature
This is an automated email from the ASF dual-hosted git repository.
richardfogaca pushed a commit to branch feat/auto-refresh-dashboard
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 75607d6a80908735c22bae31b6497479aed9597a
Author: richard <ri...@richards-MacBook-Pro-2.local>
AuthorDate: Tue Feb 10 21:45:42 2026 -0300
fix: update test_extension_config_full to match updated views type signature
---
.../plugins/plugin-chart-echarts/src/utils/orderby.ts | 6 +++---
tests/unit_tests/extensions/test_types.py | 8 +++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/utils/orderby.ts b/superset-frontend/plugins/plugin-chart-echarts/src/utils/orderby.ts
index 0b552adbe7d..532d5256979 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/utils/orderby.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/utils/orderby.ts
@@ -19,9 +19,9 @@
import { QueryFormColumn, QueryFormOrderBy } from '@superset-ui/core';
/**
- * Builds ascending orderby clauses from a list of columns, filtering out
- * any non-string or nullish values. This ensures deterministic row ordering
- * so that chart elements maintain stable positions across auto-refreshes.
+ * Builds orderby clauses from a list of columns, filtering out any non-string
+ * or nullish values. This ensures deterministic row ordering so that chart
+ * elements maintain stable positions across auto-refreshes.
*/
export function buildColumnsOrderBy(
columns: (QueryFormColumn | string | undefined | null)[],
diff --git a/tests/unit_tests/extensions/test_types.py b/tests/unit_tests/extensions/test_types.py
index 44137a83f1d..9973cf62b89 100644
--- a/tests/unit_tests/extensions/test_types.py
+++ b/tests/unit_tests/extensions/test_types.py
@@ -65,9 +65,11 @@ def test_extension_config_full():
"frontend": {
"contributions": {
"views": {
- "sqllab.panels": [
- {"id": "query_insights.main", "name": "Query Insights"}
- ]
+ "sqllab": {
+ "panels": [
+ {"id": "query_insights.main", "name": "Query Insights"}
+ ]
+ }
}
},
"moduleFederation": {"exposes": ["./index"]},