You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/08/19 05:29:58 UTC

(superset) branch matrixify updated (ddffffc3aa -> 756fe6283f)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch matrixify
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard ddffffc3aa refactor: Move test files alongside their source files
 discard fbc82709fa matrixifyControls.tsx
 discard ae0bd15fdc docs: Add testing guideline for test() over describe() pattern
 discard 25f27ea23f describe() -> test()
 discard 3031624b13 refactor: Convert test describe() blocks to individual test() functions
 discard 9a987b9ffe oops
 discard 09f8348778 test: Add comprehensive unit tests for Matrixify features
 discard 87e37efd71 test: Add comprehensive unit tests for Matrixify features
 discard 58b534069c feat(StatefulChart): Add renderTrigger support to avoid unnecessary data fetches
 discard 3b71ab339e refactor(matrixify): Replace hard-coded values with constants and use Ant Design components
 discard df2e9e1b9a sentence case
 discard 01236ea15c feat(matrixify): Add matrix/grid visualization capability for any chart type
 discard 2489134357 feat(matrixify): Complete TopN functionality and UI improvements
 discard d54a26d40a adjusting controls
 discard f93a1f31d0 touchup
 discard 3563011b32 style(matrixify): Use quaternary color for NoData text
 discard f7ec8dc388 fix(matrixify): Fix NoData theme properties to use correct antd tokens
 discard 776a1ca5d5 feat(matrixify): Improve Enable Matrixify UI and No Data display
 discard 3cd67ced27 fix(matrixify): Fix test failures for Enable Matrixify checkbox
 discard 778d1c2802 feat(matrixify): Add Enable Matrixify checkbox control
 discard 311621ded1 test(matrixify): Add comprehensive tests for MatrixifyDimensionControl
 discard 8c5c4b9517 fix(matrixify): Pass cell formData to drill-to-detail operations
 discard 2d50056100 feat(matrixify): Enable drill operations in matrixified charts
 discard 7efa7a0ec9 fix(matrixify): Fix NoResults handling and add TopN warning UI
 discard f72a4ff188 fix(matrixify): Add NoResults handling for matrixified charts
 discard b7f310c775 rm .claude_rc
 discard 5546b8bb6f fix(matrixify): Prevent HTML entity escaping in Handlebars cell titles
 discard 5d68d2af66 mv test files
 discard 98644df769 test(matrixify): Add unit tests for Matrixify components
 discard 33d4806079 fix(tests): Fix timing issues in PropertiesModal tests
 discard ac090e1cb2 lint
 discard 1730766466 fix(tests): Update Matrixify test types to use proper AdhocMetric objects
 discard 8fd84541b6 fix(tests): resolve circular dependency in @superset-ui/core components
 discard 0cad42e271 fix(matrixify): Update cell title template placeholder
 discard dfc8bb2470 fix(matrixify): Restore Handlebars templating for cell titles
 discard 6180e1f009 docs(matrixify): Update cell title template placeholder and description
 discard 27e0e13143 refactor(matrixify): Remove unnecessary span wrapper in tab label
 discard fa0faa6b62 test(matrixify): Fix failing unit tests due to Matrixify imports
 discard dc5d3e29ee fix datasource related bug that should be fixed in master as well
 discard f2bacc99e2 feat(matrixify): implement matrix of any charts as core Superset feature
     add ff6dc03ddf fix(dashboard): update cross filter scoping chart id references during dashboard import (#34418)
     add 21790814db fix(ag-grid): Fix broken string column filters in AG Grid Table V2 (#34686)
     add 28788fd1fa fix: centralize cache timeout -1 logic to prevent caching (#34654)
     add a3cbc9755f fix(dashboard): Titles tooltip flickering (#34706)
     add 8acb2fb700 fix(dashboard): Remove Tab from Dashboard Confirm Modal themed (#34708)
     add 8d210fc7b8 fix: Table chart server side pagination not working on dashboard (#34660)
     add 1127ab6c07 chore(deps): downgrade pyarrow to v16 (#34693)
     add b89e0d74be fix(theming): Some visual issues (#34676)
     add 31e2143c84 feat(api): Added uuid filed support to dataset, chart, dashboard API (#29573)
     add 1f482b42eb feat: completely migrate from DeprecatedThemeColors to Antd semantic tokens (#34732)
     add 852adaa6cc feat: conditional formatting improvements in tables (#34330)
     add 7b3cdd338b feat(matrixify): implement matrix of any charts as core Superset feature
     add 95998e155d fix datasource related bug that should be fixed in master as well
     add 47e2f03925 test(matrixify): Fix failing unit tests due to Matrixify imports
     add 3fb6cd0413 refactor(matrixify): Remove unnecessary span wrapper in tab label
     add cec4c5a6d8 docs(matrixify): Update cell title template placeholder and description
     add 4f44def2fc fix(matrixify): Restore Handlebars templating for cell titles
     add 415b7c4f88 fix(matrixify): Update cell title template placeholder
     add 4061302bec fix(tests): resolve circular dependency in @superset-ui/core components
     add 8345897c8c fix(tests): Update Matrixify test types to use proper AdhocMetric objects
     add 3b87c6cfbf lint
     add db7cdb6449 fix(tests): Fix timing issues in PropertiesModal tests
     add 36c5429017 test(matrixify): Add unit tests for Matrixify components
     add 2cae7f5270 mv test files
     add c6e96d6879 fix(matrixify): Prevent HTML entity escaping in Handlebars cell titles
     add 061cc3e632 rm .claude_rc
     add 8501c246a2 fix(matrixify): Add NoResults handling for matrixified charts
     add 2ada191385 fix(matrixify): Fix NoResults handling and add TopN warning UI
     add 1444affb18 feat(matrixify): Enable drill operations in matrixified charts
     add 6382758767 fix(matrixify): Pass cell formData to drill-to-detail operations
     add 471d94084c test(matrixify): Add comprehensive tests for MatrixifyDimensionControl
     add 7cea83dc95 feat(matrixify): Add Enable Matrixify checkbox control
     add dc6da761b6 fix(matrixify): Fix test failures for Enable Matrixify checkbox
     add 10cadc53e3 feat(matrixify): Improve Enable Matrixify UI and No Data display
     add 6961bf6553 fix(matrixify): Fix NoData theme properties to use correct antd tokens
     add 338565cee9 style(matrixify): Use quaternary color for NoData text
     add 17c49f61d1 touchup
     add 0924a02cf1 adjusting controls
     add 3a99da5f05 feat(matrixify): Complete TopN functionality and UI improvements
     add aced4955f7 feat(matrixify): Add matrix/grid visualization capability for any chart type
     add fc63549ad1 sentence case
     add 9db85eb9a0 refactor(matrixify): Replace hard-coded values with constants and use Ant Design components
     add aa68d130b5 feat(StatefulChart): Add renderTrigger support to avoid unnecessary data fetches
     add 4749966578 test: Add comprehensive unit tests for Matrixify features
     add 9f56800f67 test: Add comprehensive unit tests for Matrixify features
     add 8c3e65e995 oops
     add fbdc492ac9 refactor: Convert test describe() blocks to individual test() functions
     add a3e3a40949 describe() -> test()
     add a0d9093382 docs: Add testing guideline for test() over describe() pattern
     add 901521c175 matrixifyControls.tsx
     add 756fe6283f refactor: Move test files alongside their source files

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   (ddffffc3aa)
            \
             N -- N -- N   refs/heads/matrixify (756fe6283f)

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:
 pyproject.toml                                     |   2 +-
 requirements/base.txt                              |   2 +-
 requirements/development.txt                       |   2 +-
 .../plugin-chart/templates/src/types.erb           |   2 +-
 .../src/components/SQLPopover.tsx                  |   2 +-
 .../superset-ui-chart-controls/src/types.ts        |   8 +-
 .../src/utils/getColorFormatters.ts                | 114 +++++++++----
 .../test/utils/getColorFormatters.test.ts          | 130 +++++++++++++++
 .../src/chart/components/FallbackComponent.tsx     |   4 +-
 .../src/components/Checkbox/CheckboxIcons.tsx      |   4 +-
 .../src/components/DeleteModal/index.tsx           |   2 +-
 .../src/components/Dropdown/index.tsx              |   4 +-
 .../DropdownContainer/DropdownContainer.tsx        |  10 +-
 .../src/components/Icons/Icons.stories.tsx         |  19 ++-
 .../src/components/Label/index.tsx                 |   4 +-
 .../src/components/ListViewCard/index.tsx          |   2 +-
 .../superset-ui-core/src/components/Menu/index.tsx |   6 +-
 .../src/components/Metadata/index.tsx              |   2 +-
 .../src/components/PopoverDropdown/index.tsx       |   4 +-
 .../src/components/PopoverSection/index.tsx        |   6 +-
 .../src/components/RefreshLabel/index.tsx          |   2 +-
 .../src/components/Select/styles.tsx               |   8 +-
 .../Table/cell-renderers/NullCell/index.tsx        |   2 +-
 .../header-renderers/HeaderWithRadioGroup.tsx      |   2 +-
 .../superset-ui-core/src/components/Tabs/Tabs.tsx  |   4 +-
 .../src/components/TruncatedList/index.tsx         |   2 +-
 .../superset-ui-core/src/theme/Theme.test.tsx      |   5 +-
 .../packages/superset-ui-core/src/theme/Theme.tsx  |  16 +-
 .../packages/superset-ui-core/src/theme/types.ts   |  36 +---
 .../superset-ui-core/src/theme/utils.test.ts       |  52 ------
 .../packages/superset-ui-core/src/theme/utils.ts   |  47 ------
 .../shared/components/ResizableChartDemo.tsx       |   2 +-
 .../CountryMap.stories.tsx                         |   2 +-
 .../legacy-plugin-chart-calendar/src/Calendar.js   |   2 +-
 .../src/ReactCalendar.jsx                          |  40 ++---
 .../src/ReactCountryMap.jsx                        |  10 +-
 .../src/HorizonChart.jsx                           |   2 +-
 .../src/PairedTTest.jsx                            |   6 +-
 .../src/ReactParallelCoordinates.jsx               |  14 +-
 .../src/ReactPartition.jsx                         |  10 +-
 .../legacy-plugin-chart-rose/src/ReactRose.jsx     |   6 +-
 .../src/ReactWorldMap.jsx                          |   2 +-
 .../legacy-plugin-chart-world-map/src/WorldMap.js  |   6 +-
 .../src/components/Legend.tsx                      |   6 +-
 .../src/components/Tooltip.tsx                     |   4 +-
 .../legacy-preset-chart-nvd3/src/ReactNVD3.jsx     |   6 +-
 .../src/controlPanel.tsx                           |   2 +
 .../src/styles/index.tsx                           |  24 +--
 .../src/utils/useColDefs.ts                        |   2 +-
 .../BigNumber/BigNumberPeriodOverPeriod/PopKPI.tsx |   4 +-
 .../src/BigNumber/BigNumberTotal/controlPanel.ts   |   2 +
 .../BigNumberWithTrendline/transformProps.ts       |   4 +-
 .../src/Heatmap/transformProps.ts                  |   4 +-
 .../src/Timeseries/transformers.ts                 |  16 +-
 .../src/PivotTableChart.tsx                        |   4 +-
 .../src/plugin/controlPanel.tsx                    |  10 +-
 .../src/react-pivottable/Styles.js                 |  10 +-
 .../plugins/plugin-chart-table/src/TableChart.tsx  |   2 -
 .../plugin-chart-table/src/controlPanel.tsx        |  27 +--
 .../plugin-chart-table/test/TableChart.test.tsx    | 185 +++++++++++++++++++++
 .../src/chart/WordCloud.tsx                        |   2 +-
 .../src/SqlLab/components/QueryTable/styles.ts     |   2 +-
 .../src/SqlLab/components/SaveQuery/index.tsx      |   2 +-
 .../SqlLab/components/SqlEditorTabHeader/index.tsx |   2 +-
 superset-frontend/src/components/Chart/Chart.tsx   |   2 +-
 .../Chart/ChartContextMenu/ChartContextMenu.tsx    |   6 +-
 .../Chart/DrillDetail/DrillDetailTableControls.tsx |   2 +-
 .../src/components/GridTable/Header.tsx            |   2 +-
 .../src/components/ListView/CrossLinks.tsx         |   2 +-
 .../src/components/ListView/CrossLinksTooltip.tsx  |   2 +-
 .../src/components/ListView/Filters/Search.tsx     |   5 +-
 .../src/components/ListView/ListView.tsx           |   4 +-
 .../components/MessageToasts/ToastPresenter.tsx    |   2 +-
 .../src/components/TableSelector/index.tsx         |   2 +-
 .../components/AddSliceCard/AddSliceCard.tsx       |   4 +-
 .../components/BuilderComponentPane/index.tsx      |   2 +-
 .../DashboardBuilder/DashboardBuilder.tsx          |   2 +-
 .../DashboardBuilder/DashboardWrapper.tsx          |   4 +-
 .../components/FiltersBadge/DetailsPanel/index.tsx |   2 +-
 .../dashboard/components/FiltersBadge/Styles.tsx   |  10 +-
 .../dashboard/components/FiltersBadge/index.tsx    |   6 +-
 .../src/dashboard/components/Header/index.jsx      |   8 +-
 .../src/dashboard/components/IconButton.tsx        |   2 +-
 .../OverwriteConfirm/OverwriteConfirmModal.tsx     |   2 +-
 .../src/dashboard/components/SliceHeader/index.tsx |  31 ++--
 .../src/dashboard/components/dnd/DragHandle.tsx    |   2 +-
 .../components/filterscope/FilterScope.test.tsx    |   2 +-
 .../components/filterscope/FilterScopeSelector.jsx |   4 +-
 .../components/gridComponents/Divider.jsx          |   2 +-
 .../dashboard/components/gridComponents/Tab.jsx    |   6 +-
 .../dashboard/components/gridComponents/Tabs.jsx   |  88 +++++-----
 .../components/gridComponents/Tabs.test.jsx        |  16 +-
 .../gridComponents/new/DraggableNewComponent.tsx   |   4 +-
 .../dashboard/components/menu/WithPopoverMenu.tsx  |   6 +-
 .../FilterBar/CrossFilters/CrossFilter.tsx         |   2 +-
 .../FilterBar/CrossFilters/CrossFilterTitle.tsx    |   6 +-
 .../ScopingModal/ChartsScopingListPanel.tsx        |   4 +-
 .../CrossFilters/ScopingModal/ScopingTreePanel.tsx |   2 +-
 .../FilterBar/FilterControls/FilterDivider.tsx     |   2 +-
 .../nativeFilters/FilterBar/Horizontal.tsx         |   4 +-
 .../nativeFilters/FilterBar/Vertical.tsx           |   2 +-
 .../nativeFilters/FilterCard/DependenciesRow.tsx   |   2 +-
 .../nativeFilters/FilterCard/NameRow.tsx           |   2 +-
 .../components/nativeFilters/FilterCard/Styles.ts  |   2 +-
 .../FiltersConfigForm/DependencyList.tsx           |   4 +-
 .../FiltersConfigForm/FiltersConfigForm.tsx        |   2 +-
 .../FiltersConfigForm/RemovedFilter.tsx            |   2 +-
 .../FiltersConfigModal/FiltersConfigModal.tsx      |   2 +-
 .../util/activeAllDashboardFilters.test.ts         | 167 +++++++++++++++++++
 .../dashboard/util/activeAllDashboardFilters.ts    |  17 +-
 .../util/useFilterFocusHighlightStyles.ts          |   2 +-
 .../explore/components/DataTableControl/index.tsx  |   6 +-
 .../components/DataTablesPane/DataTablesPane.tsx   |  11 +-
 .../DatasourcePanel/DatasourcePanelItem.tsx        |   4 +-
 .../explore/components/DatasourcePanel/index.tsx   |   4 +-
 .../explore/components/RunQueryButton/index.tsx    |   2 +-
 .../controls/AnnotationLayerControl/index.tsx      |   2 +-
 .../components/controls/CheckboxControl.jsx        |   3 +
 .../ColumnConfigControl/ColumnConfigControl.tsx    |   2 +-
 .../ColumnConfigControl/ColumnConfigItem.tsx       |  17 +-
 .../ConditionalFormattingControl.tsx               |   4 +-
 .../FormattingPopoverContent.test.tsx              |  26 ++-
 .../FormattingPopoverContent.tsx                   | 136 ++++++++++++---
 .../controls/ConditionalFormattingControl/types.ts |   5 +-
 .../components/controls/CustomListItem/index.tsx   |   2 +-
 .../controls/DatasourceControl/index.jsx           |   2 +-
 .../controls/DndColumnSelectControl/Option.tsx     |   4 +-
 .../index.tsx                                      |   2 +-
 .../controls/LayerConfigsControl/FlatLayerTree.tsx |   8 +-
 .../LayerConfigsControl/LayerConfigsControl.tsx    |   8 +-
 .../LayerConfigsPopoverContent.tsx                 |  11 +-
 .../controls/MapViewControl/MapViewControl.tsx     |   9 +-
 .../MetricControl/AdhocMetricEditPopoverTitle.tsx  |   4 +-
 .../components/controls/OptionControls/index.tsx   |  16 +-
 .../controls/TimeSeriesColumnControl/index.jsx     |   2 +-
 .../components/controls/VizTypeControl/VizTile.tsx |   4 +-
 .../controls/VizTypeControl/VizTypeGallery.tsx     |   2 +-
 .../alerts/components/NotificationMethod.tsx       |   2 +-
 .../features/alerts/components/RecipientIcon.tsx   |   2 +-
 .../annotationLayers/AnnotationLayerModal.tsx      |   2 +-
 .../DatabaseConnectionForm/TableCatalog.tsx        |   2 +-
 .../databases/DatabaseModal/SSHTunnelForm.tsx      |   2 +-
 .../src/features/databases/DatabaseModal/styles.ts |  14 +-
 .../AddDataset/EditDataset/UsageTab/index.tsx      |   4 +-
 .../features/datasets/AddDataset/Footer/index.tsx  |   2 +-
 .../datasets/AddDataset/LeftPanel/index.tsx        |   6 +-
 superset-frontend/src/features/datasets/styles.ts  |  16 +-
 superset-frontend/src/features/home/EmptyState.tsx |   2 +-
 superset-frontend/src/features/home/Menu.tsx       |   6 +-
 superset-frontend/src/features/home/RightMenu.tsx  |  13 +-
 .../src/features/home/SavedQueries.tsx             |   2 +-
 superset-frontend/src/features/home/SubMenu.tsx    |   6 +-
 .../src/features/queries/QueryPreviewModal.tsx     |   8 +-
 .../src/features/queries/SyntaxHighlighterCopy.tsx |  10 +-
 .../src/features/reports/ReportModal/styles.tsx    |   4 +-
 .../src/features/themes/types.test.ts              |  11 +-
 .../filters/components/Range/RangeFilterPlugin.tsx |   6 +-
 .../filters/components/Time/TimeFilterPlugin.tsx   |  15 +-
 superset-frontend/src/filters/components/common.ts |  19 ++-
 superset-frontend/src/hooks/useThemeMenuItems.tsx  |   6 +-
 superset-frontend/src/pages/AllEntities/index.tsx  |   6 +-
 .../src/pages/DashboardList/index.tsx              |   2 +-
 superset-frontend/src/pages/DatasetList/index.tsx  |   6 +-
 .../src/pages/QueryHistoryList/index.tsx           |   6 +-
 .../src/pages/SavedQueryList/index.tsx             |   2 +-
 superset-frontend/src/pages/UserInfo/index.tsx     |   4 +-
 superset-frontend/src/utils/downloadAsImage.ts     |   2 +-
 superset-frontend/src/views/CRUD/utils.tsx         |   2 +-
 .../src/visualizations/TimeTable/SparklineCell.tsx |  10 +-
 .../src/visualizations/TimeTable/TimeTable.jsx     |   2 +-
 superset/charts/api.py                             |  77 ++++++---
 superset/charts/schemas.py                         |  47 ++++++
 superset/commands/dashboard/importers/v1/utils.py  |  48 ++++++
 superset/common/query_context_processor.py         |   4 +-
 superset/constants.py                              |   4 +
 superset/daos/chart.py                             |  15 +-
 superset/dashboards/api.py                         |   2 +
 superset/dashboards/schemas.py                     |   3 +
 superset/datasets/api.py                           |   5 +
 superset/datasets/schemas.py                       |   2 +
 superset/models/slice.py                           |  11 +-
 superset/tasks/thumbnails.py                       |   2 +-
 superset/utils/cache.py                            |  10 +-
 superset/viz.py                                    |   3 +-
 tests/integration_tests/charts/api_tests.py        |   6 +
 tests/integration_tests/charts/data/api_tests.py   |   3 +-
 tests/integration_tests/dashboards/api_tests.py    |   1 +
 tests/integration_tests/datasets/api_tests.py      |   1 +
 .../dashboards/commands/importers/v1/utils_test.py |  78 +++++++++
 189 files changed, 1501 insertions(+), 702 deletions(-)
 create mode 100644 superset-frontend/src/dashboard/util/activeAllDashboardFilters.test.ts