Commits
Commits on
0069847be17c816a489f22e7b2c04c00a01be81eFiltered to src/components/ui/data-table.test.tsxClear filter2026-08-04
fix: 🧱 render a display column's own cell instead of the empty dash - DataTable replaced a cell with "-" whenever cell.getValue() was empty, without ever calling the column's own render function. A display column (no accessorFn/accessorKey) has no value to be empty — getValue() is always undefined — so every column that draws itself from row.original silently rendered a dash - the payments student roster showed "-" on every row while the backend was returning full display names - the empty-cell fallback now applies only to columns that actually carry a value; the "actions"/"update"/"select" id allowlist stays as a second guardBurak Boduroğlu · a616723
fix: 🧱 render a display column's own cell instead of the empty dash - DataTable replaced a cell with "-" whenever cell.getValue() was empty, without ever calling the column's own render function. A display column (no accessorFn/accessorKey) has no value to be empty — getValue() is always undefined — so every column that draws itself from row.original silently rendered a dash - the payments student roster showed "-" on every row while the backend was returning full display names - the empty-cell fallback now applies only to columns that actually carry a value; the "actions"/"update"/"select" id allowlist stays as a second guard
2026-07-30
refactor: 📊 restyle DataTable and drop density + resize - headers Title Case (drop uppercase/bold) → medium weight, muted, tracking-normal - cells tabular-nums for aligned digits without a mono font; remove zebra striping - lighten sticky frozen-column seam: clean border + softer shadow - remove column resizing (handles, sizing state, width persistence) and row density toggle - simplify table-preferences to visibility-only; drop density/reset i18n keys - search + columns button: rounded-full pill → rounded-lg - refresh ui-redesign-tokens doc + ui-conventions skill; sync .codex mirrorBurak Boduroğlu · 83a0fda
refactor: 📊 restyle DataTable and drop density + resize - headers Title Case (drop uppercase/bold) → medium weight, muted, tracking-normal - cells tabular-nums for aligned digits without a mono font; remove zebra striping - lighten sticky frozen-column seam: clean border + softer shadow - remove column resizing (handles, sizing state, width persistence) and row density toggle - simplify table-preferences to visibility-only; drop density/reset i18n keys - search + columns button: rounded-full pill → rounded-lg - refresh ui-redesign-tokens doc + ui-conventions skill; sync .codex mirror
fix: 📊 align table headers with cells, fix page-size + inline averages - drop text-align from `.data-table th`: the `.data-table th` rule out-specified per-column text-right/center utilities and forced every header left while cells aligned fine (header/cell mismatch) - add `meta.align` to DataTable as the single source of alignment for both head and cell; sort button offsets by align instead of a blanket -ml-3 - migrate numeric columns (marks/attendance/homework reports, my-students, student-marks) off ad-hoc header spans to meta.align - add opt-in `meta.stickyLeft` frozen-left column + `meta.divider` and a directional border/shadow seam; rename sticky-right classes; clearer sort icons (ChevronsUpDown → ArrowUp/ArrowDown) - TablePagination: always include the active page size in the options so the selector shows a value instead of blank on non-standard sizes - standardize the generic 12-row list default to 10 across pages - student-marks: re-materialize table data when the per-student marks resource resolves so the inline average fills in without needing a sortBurak Boduroğlu · 72a2390
fix: 📊 align table headers with cells, fix page-size + inline averages - drop text-align from `.data-table th`: the `.data-table th` rule out-specified per-column text-right/center utilities and forced every header left while cells aligned fine (header/cell mismatch) - add `meta.align` to DataTable as the single source of alignment for both head and cell; sort button offsets by align instead of a blanket -ml-3 - migrate numeric columns (marks/attendance/homework reports, my-students, student-marks) off ad-hoc header spans to meta.align - add opt-in `meta.stickyLeft` frozen-left column + `meta.divider` and a directional border/shadow seam; rename sticky-right classes; clearer sort icons (ChevronsUpDown → ArrowUp/ArrowDown) - TablePagination: always include the active page size in the options so the selector shows a value instead of blank on non-standard sizes - standardize the generic 12-row list default to 10 across pages - student-marks: re-materialize table data when the per-student marks resource resolves so the inline average fills in without needing a sort
feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows - apply bDash tokens across shared controls and application shell - add compact persistent tables, pagination, and sticky actions - add durable detail routes and operational side panels