Skip to content

Conversation

@smoothzz
Copy link

Summary

Adds column sorting functionality to the Node View pods table by refactoring PodTable to use TanStack Table, matching the same implementation strategy used in the Pod view.

Changes

  • Refactored PodTable to use TanStack Table (useReactTable)
  • All columns are now sortable (matching Pod view behavior)
  • Uses createColumnHelper pattern consistent with PodListPage
  • Same visual sorting indicators (↑ ↓) as Pod view
  • Same pagination behavior

Testing

Tested locally with k3d cluster - sorting works correctly for all columns, matching the Pod view experience.

Closes #271

@zxh326
Copy link
Owner

zxh326 commented Jan 21, 2026

How do you think about using this component directly?

https://github.com/zxh326/kite/blob/main/ui/src/components/resource-table-view.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request -- Column sort on Node View

2 participants