forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/ui/data-table.test.tsxClear filter

2026-09-27

perf: 🎯 insights read only the shown page, teachers paint at once - insights read signals for the table page on screen, then per page turned; a signal filter or sort still loads what it needs and the overview states its coverage (open: 212 → 22 requests, 10 s → 3 s) - DataTable gains an optional onPageRowsChange for callers that load per-row data for the rendered page - teachers roster renders rows as soon as the teacher list arrives and fills homeroom and sections from the shared walk; no catalog readBurak Boduroğlu · 0c8ecec
perf: 🎯 insights read only the shown page, teachers paint at once
- insights read signals for the table page on screen, then per page
  turned; a signal filter or sort still loads what it needs and the
  overview states its coverage (open: 212 → 22 requests, 10 s → 3 s)
- DataTable gains an optional onPageRowsChange for callers that load
  per-row data for the rendered page
- teachers roster renders rows as soon as the teacher list arrives and
  fills homeroom and sections from the shared walk; no catalog read
perf: 🚀 load on sight, share the school walk, page client tables - insights read the first 50 students' signals, then more as the table scrolls or a signal filter/sort needs them; overview cards state their coverage while partial (212 → ~62 requests on open) - dashboard caps the trend at six exams and loads the chart, class sizes and below-fold panels when they come into view - studio shows its library at once and reads a note's outputs when its row is visible; staff-work and payments fetch row values on sight - class members and section walks are a shared five-minute per-tab cache, invalidated after class, member and section writes - tables and lists that are not fetched as you scroll page with numbers again (DataTable client mode, event roll call, studio library)Burak Boduroğlu · 48313a5
perf: 🚀 load on sight, share the school walk, page client tables
- insights read the first 50 students' signals, then more as the table
  scrolls or a signal filter/sort needs them; overview cards state their
  coverage while partial (212 → ~62 requests on open)
- dashboard caps the trend at six exams and loads the chart, class sizes
  and below-fold panels when they come into view
- studio shows its library at once and reads a note's outputs when its
  row is visible; staff-work and payments fetch row values on sight
- class members and section walks are a shared five-minute per-tab
  cache, invalidated after class, member and section writes
- tables and lists that are not fetched as you scroll page with numbers
  again (DataTable client mode, event roll call, studio library)

2026-09-26

feat: 💊 pill toolbars, clean button borders, fetch-as-you-scroll lists - every list toolbar is one card; search, filters, actions and Sütunlar are pills of one height (h-8 from sm, h-10 below sm and on touch); active filter chips get a primary border; pages move stray add buttons into their table toolbar and drop radius overrides - filled buttons get a transparent border with padding-box fill, so they no longer look bigger than outlined ones; hover borders stop matching their fill - createInfiniteList fetches 50 rows at a time, restarts on a new query and drops stale replies; DataTable gains an `infinite` mode and InfiniteSentinel covers card and message lists - question bank, whiteboards, messages, question pool and courses load from the server as you scroll; courses drop the load-all workaround now that the backend applies kind, q and taught - client-side tables drop page numbers and reveal 50 rows at a time; without IntersectionObserver a "Load more" button replaces auto-loadBurak Boduroğlu · 33fa92d
feat: 💊 pill toolbars, clean button borders, fetch-as-you-scroll lists
- every list toolbar is one card; search, filters, actions and Sütunlar
  are pills of one height (h-8 from sm, h-10 below sm and on touch);
  active filter chips get a primary border; pages move stray add
  buttons into their table toolbar and drop radius overrides
- filled buttons get a transparent border with padding-box fill, so they
  no longer look bigger than outlined ones; hover borders stop matching
  their fill
- createInfiniteList fetches 50 rows at a time, restarts on a new query
  and drops stale replies; DataTable gains an `infinite` mode and
  InfiniteSentinel covers card and message lists
- question bank, whiteboards, messages, question pool and courses load
  from the server as you scroll; courses drop the load-all workaround
  now that the backend applies kind, q and taught
- client-side tables drop page numbers and reveal 50 rows at a time;
  without IntersectionObserver a "Load more" button replaces auto-load

2026-09-25

feat: ℹ️ move always-on table notes behind header info iconsBurak Boduroğlu · 7eac1f2
feat: ℹ️ move always-on table notes behind header info icons

- InfoTip: round "i" button on the Kobalte tooltip; hover or focus opens
  it, a tap pins it open on touch, clicks never reach the row or header
- DataTable columns take meta.headerInfo, drawn beside the header label
  (outside the sort button) and on the first phone card
- marks average cap, class member-count cap, event "recorded by",
  roll-call, homework submissions and offering section notes move from
  visible alerts into those icons; warnings and actionable notices stay

2026-09-23

feat: ✨ complete frontend workflow polishBurak Boduroğlu · 4e99344
feat: ✨ complete frontend workflow polish

- align row actions, edit panels, tables, and user labels across detail and list views
- keep homework grading panels open and remove raw ids from exam review
- add full screen drawing and whiteboard controls with mobile fallback
- support note attachments, podcast transcripts, and localized API refusals
- cover panel focus, empty answer sheets, and updated UI flows with tests

2026-09-22

feat: ✨ event roster roll call, record search, draft-first exams - event roll call lists the whole audience from /events/{id}/roster with per-row status and one save that sends changed rows in turn; event labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start - new exams start as drafts; publishing one with no questions asks first - whiteboards open on the pan tool; colour and size buttons are named - command palette searches courses, exams, homework and events, loaded once per open and scoped to the user's nav; students open their profile; distinct clear and close controls - notifications go straight to their page; badge and header share one unread format - compose keeps Gönder disabled until recipient and subject are set; folder tabs fit on phones; compose labels come from i18n - every non-nav "Yakında" tab, button, panel and field is removed - table headers stay centred while cells read from the left; frozen column seams only show when the table actually scrolls sideways - student lists order class by class (9-A, 9-B, 10-A…), then by name - success trend axis shows dates or exam positions instead of overlapping titles; chart numbers use the locale's decimal - insights grid columns fit their headers and the date without clipping - register shows password, confirmation and school-code hints inline; combobox screen-reader text is translated - docs: sitemap rebuilt from the router; backend request for attendance and pomodoro summary endpointsBurak Boduroğlu · 691fcf8
feat: ✨ event roster roll call, record search, draft-first exams
- event roll call lists the whole audience from /events/{id}/roster with
  per-row status and one save that sends changed rows in turn; event
  labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start
- new exams start as drafts; publishing one with no questions asks first
- whiteboards open on the pan tool; colour and size buttons are named
- command palette searches courses, exams, homework and events, loaded
  once per open and scoped to the user's nav; students open their
  profile; distinct clear and close controls
- notifications go straight to their page; badge and header share one
  unread format
- compose keeps Gönder disabled until recipient and subject are set;
  folder tabs fit on phones; compose labels come from i18n
- every non-nav "Yakında" tab, button, panel and field is removed
- table headers stay centred while cells read from the left; frozen
  column seams only show when the table actually scrolls sideways
- student lists order class by class (9-A, 9-B, 10-A…), then by name
- success trend axis shows dates or exam positions instead of
  overlapping titles; chart numbers use the locale's decimal
- insights grid columns fit their headers and the date without clipping
- register shows password, confirmation and school-code hints inline;
  combobox screen-reader text is translated
- docs: sitemap rebuilt from the router; backend request for attendance
  and pomodoro summary endpoints
fix: 🐛 UX pass from desktop and phone QA - lists: the /exams pager no longer snaps back to page 1 (a fresh rows array reset TanStack's page index); DataTable owns paging and resets only on sort, search or pageResetKey - list search, page, sort, filters, detail tabs and calendar view/date live in the URL (lib/url-state.ts), so Back and refresh keep them - DataTable: aria-sort, "no results for X" empty state with a clear action, no nested scroller, unboxed column-menu-only toolbar, inline status pills on phone cards, column min widths on tablets - courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan"; per-tab exam empty states; upcoming events soonest first - phone shell: content clears the quick-action button, which also hides for the /ai/study and message composers; opaque search dialog; the shell title is the page h1 when a page has none; skip link lands past the header; menu sheet makes the page behind it inert - touch: variant (coarse pointer or narrow screen) keeps 16px inputs and 44px targets on landscape phones and tablets; combobox list and /ai/studio producer no longer widen the page; heatmap labels don't collide - notifications: popover focuses itself, not "Tümünü sil", which now asks first; labelled theme buttons and dismiss targets - settings no longer look dirty on load and warn before leaving with real changes; exam create preselects the current term; exam kinds and meal keys show Turkish labels - homework grading has no "Tamamlandı" default for non-submitters; class edit shows the assigned homeroom teacher; admin demotion warns - instance "Ders saati" saves on Enter/Kaydet instead of blur and the karne switch confirms first - API 404s show "Kayıt bulunamadı" with a link back to the list instead of a retry; neutral confirm/discard copy; compose asks before discarding a draft; staff on student-only pages get an explanation - homework, calendar, dashboard deadlines and notifications name the class ("Matematik — 10-B") - dashboard charts include graded exams without a start time, ordered by id creation time; class card shows student counts - "Yakında" filler columns and KPI cards removed from management lists; marks split into average, band and exam count; teachers list the courses they teach; class filter on attendance and pomodoro listsBurak Boduroğlu · 37148ac
fix: 🐛 UX pass from desktop and phone QA
- lists: the /exams pager no longer snaps back to page 1 (a fresh rows
  array reset TanStack's page index); DataTable owns paging and resets
  only on sort, search or pageResetKey
- list search, page, sort, filters, detail tabs and calendar view/date
  live in the URL (lib/url-state.ts), so Back and refresh keep them
- DataTable: aria-sort, "no results for X" empty state with a clear
  action, no nested scroller, unboxed column-menu-only toolbar, inline
  status pills on phone cards, column min widths on tablets
- courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan";
  per-tab exam empty states; upcoming events soonest first
- phone shell: content clears the quick-action button, which also hides
  for the /ai/study and message composers; opaque search dialog; the
  shell title is the page h1 when a page has none; skip link lands past
  the header; menu sheet makes the page behind it inert
- touch: variant (coarse pointer or narrow screen) keeps 16px inputs
  and 44px targets on landscape phones and tablets; combobox list and
  /ai/studio producer no longer widen the page; heatmap labels don't
  collide
- notifications: popover focuses itself, not "Tümünü sil", which now
  asks first; labelled theme buttons and dismiss targets
- settings no longer look dirty on load and warn before leaving with
  real changes; exam create preselects the current term; exam kinds and
  meal keys show Turkish labels
- homework grading has no "Tamamlandı" default for non-submitters; class
  edit shows the assigned homeroom teacher; admin demotion warns
- instance "Ders saati" saves on Enter/Kaydet instead of blur and the
  karne switch confirms first
- API 404s show "Kayıt bulunamadı" with a link back to the list instead
  of a retry; neutral confirm/discard copy; compose asks before
  discarding a draft; staff on student-only pages get an explanation
- homework, calendar, dashboard deadlines and notifications name the
  class ("Matematik — 10-B")
- dashboard charts include graded exams without a start time, ordered
  by id creation time; class card shows student counts
- "Yakında" filler columns and KPI cards removed from management lists;
  marks split into average, band and exam count; teachers list the
  courses they teach; class filter on attendance and pomodoro lists

2026-09-21

fix: 🐛 table column widths, compact phone cards, insights frame - table columns take their declared size: a calc() mixing % and px on a <col> reads as auto in Chrome, so every table split into equal columns; the shares are plain percentages now, beside the fixed action column - phone cards lay fields out two per line, label over value, and pull cell content back to the left — cells centred for a table column had values drifting to the middle of the card - a toolbar action too long to share the search row stretches across its own row instead of hanging off the right edge - insights tables lose the extra card around them, which boxed the toolbar and grid twice - insights student columns are sized to fit a 1440px screen beside the sidebar without a horizontal scrollBurak Boduroğlu · bd48f3f
fix: 🐛 table column widths, compact phone cards, insights frame
- table columns take their declared size: a calc() mixing % and px on a
  <col> reads as auto in Chrome, so every table split into equal columns;
  the shares are plain percentages now, beside the fixed action column
- phone cards lay fields out two per line, label over value, and pull
  cell content back to the left — cells centred for a table column had
  values drifting to the middle of the card
- a toolbar action too long to share the search row stretches across its
  own row instead of hanging off the right edge
- insights tables lose the extra card around them, which boxed the
  toolbar and grid twice
- insights student columns are sized to fit a 1440px screen beside the
  sidebar without a horizontal scroll
feat: 📱 phone-sized tables, toolbars and AI pages - tables show half a page on phones (10 → 5, never below 5): createResponsivePageSize feeds DataTable and every page that pages on its own, including the server-paged ones' limit/offset - one pager for the whole app: TablePagination on a single row with touch-sized buttons; a single page keeps the count and drops the arrows; PaginationControls is gone - toolbars wrap by width: search and actions share the first row on a phone, filters take the next; the column menu leaves card layout and "yakında" buttons step aside on phones - search boxes are 16px on phones so iOS stops zooming into them - phone cards drop empty fields and shrink the row menu to its ⋮ glyph - students and classes filters carry their label ("Eğitim yılı: Tümü") - exam results page through DataTable instead of a second pager - studio library pages its run history - /ai/study on phones: the history is a left drawer behind a top bar with the chat's name and a new-chat button; the composer stays docked - /ai/studio: a way back to the library from an open note, tighter panels and touch-sized summary actions on phonesBurak Boduroğlu · ee4b86b
feat: 📱 phone-sized tables, toolbars and AI pages
- tables show half a page on phones (10 → 5, never below 5):
  createResponsivePageSize feeds DataTable and every page that pages on
  its own, including the server-paged ones' limit/offset
- one pager for the whole app: TablePagination on a single row with
  touch-sized buttons; a single page keeps the count and drops the
  arrows; PaginationControls is gone
- toolbars wrap by width: search and actions share the first row on a
  phone, filters take the next; the column menu leaves card layout and
  "yakında" buttons step aside on phones
- search boxes are 16px on phones so iOS stops zooming into them
- phone cards drop empty fields and shrink the row menu to its ⋮ glyph
- students and classes filters carry their label ("Eğitim yılı: Tümü")
- exam results page through DataTable instead of a second pager
- studio library pages its run history
- /ai/study on phones: the history is a left drawer behind a top bar
  with the chat's name and a new-chat button; the composer stays docked
- /ai/studio: a way back to the library from an open note, tighter
  panels and touch-sized summary actions on phones

2026-09-19

feat: ✨ center student tables and improve date controlsBurak Boduroğlu · a473470
feat: ✨ center student tables and improve date controls

- show student names and class membership in teacher-facing tables\n- center shared table cells, expose horizontal scroll, and simplify single actions\n- collapse profile badges and improve date entry and month-year navigation

2026-09-18

feat: 📱 tables become cards on phone-width screens - below the sm breakpoint DataTable renders each row as a card: the first column as its title, the actions menu top-right, the other visible columns as label/value pairs, instead of a table scrolling sideways (rosters were min-w-[940px], with scrollbars hidden) - row click and keyboard activation carry over; a press on the actions menu does not open the row; list semantics stay on the li - mobileLayout="scroll" keeps the table where a grid reads better - createMediaQuery helper; without matchMedia the table layout stays - test for the card layoutBurak Boduroğlu · 90f1d65
feat: 📱 tables become cards on phone-width screens
- below the sm breakpoint DataTable renders each row as a card: the first
  column as its title, the actions menu top-right, the other visible
  columns as label/value pairs, instead of a table scrolling sideways
  (rosters were min-w-[940px], with scrollbars hidden)
- row click and keyboard activation carry over; a press on the actions
  menu does not open the row; list semantics stay on the li
- mobileLayout="scroll" keeps the table where a grid reads better
- createMediaQuery helper; without matchMedia the table layout stays
- test for the card layout
fix: ↕️ server-paged tables stop sorting a single page - DataTable sorting is client-side and the backend takes no sort parameter (checked against the live OpenAPI), so with manualPagination a header sort reordered only the visible page while implying the whole list; it is now off there unless a caller opts in - affects the payments and question bank tables - test: header sort offered for client paging, not for server pagingBurak Boduroğlu · 0ce9d6b
fix: ↕️ server-paged tables stop sorting a single page
- DataTable sorting is client-side and the backend takes no sort
  parameter (checked against the live OpenAPI), so with manualPagination
  a header sort reordered only the visible page while implying the whole
  list; it is now off there unless a caller opts in
- affects the payments and question bank tables
- test: header sort offered for client paging, not for server paging
fix: 🧩 failures stop reading as empty data - createBoardResources: a failed source reads as undefined instead of throwing, keeps its .error, and retryFailed refetches only what failed - dashboard: one failed request no longer takes every panel down; stats over a failed source show a dash instead of a made-up 0, and the notice says panels are missing data and offers Try again - calendar: each feed stands alone; a failed one is named above the grid with Try again, and a loading line shows while feeds are in flight (feeds used to start as [] and read as an empty calendar) - DataTable: a search that matches nothing says so and offers Clear search, instead of the list's own empty-state copy - calendar prev/next buttons get accessible labels - tests for each caseBurak Boduroğlu · 391e238
fix: 🧩 failures stop reading as empty data
- createBoardResources: a failed source reads as undefined instead of
  throwing, keeps its .error, and retryFailed refetches only what failed
- dashboard: one failed request no longer takes every panel down; stats
  over a failed source show a dash instead of a made-up 0, and the notice
  says panels are missing data and offers Try again
- calendar: each feed stands alone; a failed one is named above the grid
  with Try again, and a loading line shows while feeds are in flight
  (feeds used to start as [] and read as an empty calendar)
- DataTable: a search that matches nothing says so and offers Clear search,
  instead of the list's own empty-state copy
- calendar prev/next buttons get accessible labels
- tests for each case
fix: 📱 sweep the last shrink-0 action row into the same patternAhmet Kaan Gümüş · a3421b2
fix: 📱 sweep the last shrink-0 action row into the same pattern

PageHeader's actions row carried the same `flex shrink-0 flex-wrap` class
string the table and section hosts had, so the class was three hosts wide and
one of them was left behind: a wide action row there could push the document
past a narrow viewport the same way.

min-w-0 lets the box shrink below its max-content width while flex-wrap keeps
the children wrapping. The shrink guard in data-table.test.tsx now renders all
three hosts, so the spelling cannot drift again (it fails on the old
PageHeader row and passes on the new one).

2026-09-17

fix: 📱 let the header action toolbar shrink on narrow viewportsAhmet Kaan Gümüş · ffc324a
fix: 📱 let the header action toolbar shrink on narrow viewports

- the shared header toolbar (DataTable's actions row and DataSection's twin)
  carried `shrink-0`, so on a 390px viewport it kept its max-content width
  inside the constrained parent and widened the whole document: on
  /management/modules document.scrollWidth measured 431 against a 390 viewport
- replace `shrink-0` with `min-w-0` on both hosts, keeping `flex flex-wrap`
  and the `[&_button]` utilities: the row may now shrink below its content
  width and the action buttons wrap onto extra lines instead of overflowing,
  and the two renderings cannot drift apart
- the table's own data-table-wrap is untouched; it already scrolls internally
- guard it with a test that renders both hosts and pins `min-w-0` without
  `shrink-0` on each toolbar (fails before this commit, passes after)

2026-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