Skip to content

Icon cell for boolean columns

Auto-generated from the source archive. Do not edit by hand — rerun catalyst-changelog-sync instead.

  • The <mod>.columns.ts codegen now dispatches by property type: when type === 'boolean' (non-relational), the column emits cell: () => flexRenderComponent(BooleanCell, { inputs: {} }) plus the standard sortable / filterable / exportable flags. No searchable flag — text search over "true" / "false" is not useful.
  • The new BooleanCell lives at @aurora/components/data-table/cells/boolean-cell.component.ts. Defaults: lucideCheck + text-emerald-600 for true, lucideMinus + text-muted-foreground/60 for false. Override per column with inputs: { trueIcon, falseIcon, trueClass, falseClass }.
  • The cells/ folder convention is now documented: read-only formatting components rendered via flexRenderComponent live under cells/; interactive chrome that mutates table state stays under components/. Future renderers (DateCell, BadgeCell, …) follow the same split.

The previous codegen emitted plain string-coercion for every non-relational property, so boolean columns rendered the literal true / false text. The first module that hit this — iam/tenant — worked around it with a per-module tenant-list-active-cell.component.ts that would have duplicated across every aggregate declaring a boolean. Now the codegen owns the dispatch and the cell. Aggregates with at least one boolean property regenerate with [FILE OVERWRITE] on .columns.ts; aggregates without booleans regenerate byte-identical.


View original proposal