feat(dashboard): implement boolean conditional formatting (#36338)

Co-authored-by: Morris <morrisho215215@gmail.com>
This commit is contained in:
Edison Liem
2025-12-04 12:53:49 -05:00
committed by GitHub
parent e5da6d3183
commit eabb5bdf7d
9 changed files with 372 additions and 21 deletions

View File

@@ -370,6 +370,31 @@ const bigint = {
],
};
const nameAndBoolean: TableChartProps = {
...new ChartProps(basicChartProps),
queriesData: [
{
...basicQueryResult,
colnames: ['name', 'is_adult'],
coltypes: [GenericDataType.String, GenericDataType.Boolean],
data: [
{
name: 'Alice',
is_adult: true,
},
{
name: 'Bob',
is_adult: false,
},
{
name: 'Carl',
is_adult: null,
},
],
},
],
};
export default {
basic,
advanced,
@@ -379,4 +404,5 @@ export default {
empty,
raw,
bigint,
nameAndBoolean,
};