mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4348] Feature Request: Drag-and-drop inbound sorting for subscription node order #2961
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#2961
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?
Originally created by @airenruni01 on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4348
Is your feature request related to a problem?
This request is related to the node order in the subscription generated by 3X-UI.
Currently, the node order in clients such as v2rayN follows the order provided by the 3X-UI subscription link.
The subscription link itself seems to generate nodes according to the inbound order shown in the 3X-UI panel.
For example, my 3X-UI inbound list is ordered like this:
After I import or refresh the subscription in v2rayN, v2rayN shows the nodes in the same order as the 3X-UI panel.
So the problem is not v2rayN sorting. v2rayN is only displaying the order from the 3X-UI subscription.
The problem is that 3X-UI currently does not provide an easy way to reorder the inbound list in the panel.
If I want Japan to appear as the first node in the subscription, I cannot simply drag the Japan inbound to the first row in the 3X-UI panel. After every subscription refresh, the client still follows the original 3X-UI panel order.
Describe the solution you'd like
Please add drag-and-drop sorting support directly in the 3X-UI inbound list.
I hope users can reorder inbounds inside the 3X-UI panel by holding an inbound row with the mouse and dragging it up or down.
For example, in the 3X-UI panel:
Before:
If I hold the Japan row with my mouse and drag it to the top, the panel order should become:
Then the 3X-UI subscription link should also generate nodes in this new order.
After refreshing the subscription in v2rayN, v2rayNG, Shadowrocket, or other clients, the node order should follow the custom order configured in the 3X-UI panel.
Expected behavior:
This feature is useful because the subscription order is controlled by 3X-UI, not by the client.
If 3X-UI supports drag-and-drop sorting, users can manage node order much more easily, especially when using multiple regions and protocols, such as USA, Singapore, Japan, Korea, TCP Reality, and UDP / Hysteria2 nodes.
Describe alternatives you've considered
No response
Checklist
@wah2233 commented on GitHub (May 13, 2026):
How can I run everything under port 443? I have different servers, but using the same port still causes confusion
@wah2233 commented on GitHub (May 13, 2026):
Since the main 3x-ui inbound is already using port 443, any remote server with a inbound on port 443 cannot be added to the main panel; the system will refuse. I have three 3x-ui instances, and each server must use a unique port without any overlaps to ensure they can all be integrated into the main panel."
如果main 3xui的inbound已經用了443, 如果遠程server同樣有inbound用443, 他不會自動加到main panel上, 如果用遠程方法加新 inbound 而用 443 port, 系統會拒絕的, 我有三個3xui, 三個都server都要用不同的port, 不能有重複, 這樣才能夠全部加到main panel
@BlackRockSoul commented on GitHub (May 13, 2026):
I can confirm that it doesn't work in
3.0.1.The 3x-ui console spams the
UNIQUE constraint failed: inbounds.tagerror.The
inbound.tagfield is based on thelisten(if exists) andtagfields of an external inbound.Therefore, the inbound cannot be created, as the tag is already in use by an internal inbound (i.e.
inbound-443).This only seems to occur when connecting an external node with an existing 443 (or any already used port) inbound.
There's an MR for that #4299