mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5661] [MERGED] feat(inbounds): add column sorting to inbounds table #5950
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5950
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5661
Author: @isultanov99
Created: 6/29/2026
Status: ✅ Merged
Merged: 7/8/2026
Merged by: @MHSanaei
Base:
main← Head:inbound-column-sorting📝 Commits (1)
8f95ee0Add column sorting to inbounds table📊 Changes
1 file changed (+32 additions, -0 deletions)
View changed files
📝
frontend/src/pages/inbounds/list/useInboundColumns.tsx(+32 -0)📄 Description
What changed
This adds client-side sorting to the desktop Inbounds table columns that already have all of their data available in the
list/slimresponse:Why
The Inbounds page already fetches the full slim inbound list and paginates it in the browser, but the table headers cannot currently be used to sort rows. For panels with many inbounds, quick one-click sorting by port, node, traffic, clients, or expiry date makes the page easier to scan without adding any backend complexity.
This is intentionally display-only sorting. It does not change the database order, does not add API endpoints, and does not affect subscription output order.
Notes
clientCountdata, with the same fallback client count already used by the render path.Validation
npm run typechecknpm run buildnpm exec -- eslint src/pages/inbounds/list/useInboundColumns.tsx🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.