feat: add formatting column and formatting object to conditional formating table (#35897)

This commit is contained in:
SBIN2010
2026-02-19 02:07:15 +03:00
committed by GitHub
parent 9ec56f5f02
commit 33441ccf3d
13 changed files with 421 additions and 208 deletions

View File

@@ -17,6 +17,7 @@
* under the License.
*/
import '@testing-library/jest-dom';
import { ObjectFormattingEnum } from '@superset-ui/chart-controls';
import {
render,
screen,
@@ -1250,7 +1251,7 @@ describe('plugin-chart-table', () => {
column: 'sum__num',
operator: '>',
targetValue: 2467,
toAllRow: true,
columnFormatting: ObjectFormattingEnum.ENTIRE_ROW,
},
],
},
@@ -1286,7 +1287,7 @@ describe('plugin-chart-table', () => {
column: 'sum__num',
operator: '>',
targetValue: 2467,
toTextColor: true,
objectFormatting: ObjectFormattingEnum.TEXT_COLOR,
},
],
},
@@ -1319,8 +1320,8 @@ describe('plugin-chart-table', () => {
column: 'sum__num',
operator: '>',
targetValue: 2467,
toAllRow: true,
toTextColor: true,
columnFormatting: ObjectFormattingEnum.ENTIRE_ROW,
objectFormatting: ObjectFormattingEnum.TEXT_COLOR,
},
],
},