1. 17 Jul, 2026 2 commits
    • fix(data-table): update table body immediately when toggling columns (#6253) · dc9aeab9
      DataTableRow's React.memo did not depend on columnVisibility.
      TanStack row references stay stable when visible columns change, so the
      table body did not refresh after View -> Toggle columns until another
      action rebuilt the column definitions.
      
      Capture a visible column id signature (visibleColumnIds) outside the
      memo and compare it, matching the existing isSelected snapshot pattern.
      All tables that use DataTableRow pick up the fix.
      DawnMoon1542 committed
    • fix: add server-side sorting to user list, prevent client-side sort on paged data (#6194) · 506e41c1
      * fix: add server-side sorting to user list, prevent client-side sort on paged data
      
      The user management table applied client-side sorting to the current
      page slice while pagination was handled server-side, causing ID-asc
      views to show pages out of order (e.g. 23-42, 3-22, 1-2).
      
      Backend: add sort_by/sort_order query params to GetAllUsers and
      SearchUsers with a column whitelist for safe ORDER BY generation.
      Frontend: pass sorting state to the API and reset to page 1 on sort
      change. Generic useDataTable hook now disables client-side sorted row
      model and sort UI for tables with manual pagination but no server-side
      sort handler.
      
      * fix: add id tie-breaker to non-unique sort columns, remove side effect from state updater
      
      Append secondary ORDER BY id DESC when sorting by non-unique columns
      (quota, created_at, etc.) to prevent row duplication/skipping across
      OFFSET pages.
      
      Move onPaginationChange out of setSorting updater to avoid side effects
      inside a pure function (React Strict Mode double-invocation safety).
      DawnMoon1542 committed
  2. 14 Jul, 2026 3 commits
  3. 11 Jul, 2026 23 commits
  4. 10 Jul, 2026 12 commits