mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5234] [Feature]: Add an option to customize the order of "External Proxy Remark" and "Inbound Remark" #3668
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#3668
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 @xingshuwen03-prog on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5234
Is your feature request related to a problem?
In version 3.3.1, the string concatenation order for generating subscription node names with "External Proxy" enabled was changed.
v3.3.0 format: [Inbound Remark]-[External Proxy Remark] (e.g., USA-Node-1)
v3.3.1 format: [External Proxy Remark]-[Inbound Remark] (e.g., 1-USA-Node)
This primarily comes down to user preference. Some users might prefer the v3.3.1 format, while others might prefer the v3.3.0 format, so it would be good to add an option for this.
Describe the solution you'd like
Please add a configuration option to allow control over whether "External Agent Notes" is used as a prefix or suffix.
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
Subscription (share links / Clash / JSON), Multi-node (sub-nodes)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jun 12, 2026):
The panel already has a mechanism that controls this — the Remark Model setting — and it includes the external proxy remark as one of the positional components. Whether the current UI makes that discoverable enough is a fair concern, and that is the actionable part of this request.
How the existing system works
In Settings → Subscription → Information tab → "Remark Model & Separation Character" (confirmed in
frontend/src/pages/settings/SubscriptionGeneralTab.tsx), the multi-select lists three components:ieoThe backend (
internal/sub/service.go,genRemark) and the frontend link generator (frontend/src/lib/xray/inbound-link.ts,genAllLinks) both read the storedremarkModelstring identically: the first character is the separator and the remaining characters define the order of the components. With the current default"-ieo"(set ininternal/web/service/setting.go), inbound remark (i) precedes the external proxy remark (o), which matches the v3.3.0 behaviour you describe.To get
[External Proxy Remark]-[Inbound Remark]instead, the storedremarkModelwould need to be"-oi"(or"-oie"if email is included). The system fully supports that ordering today; the gap is on the UX side.The actual UX gap
Two things make the existing capability hard to use for this purpose:
ocomponent is labelled "Other" in the UI — it is not obvious that this maps to the external proxy remark. A label like "External Proxy" or "Other / Ext. Proxy" would make the connection clear.Selectwithmode="multiple"does not expose drag-to-reorder; changing the component order currently requires deselecting items and reselecting them in the preferred sequence, which is non-obvious.A dedicated prefix/suffix toggle for the external proxy remark — or renaming
oto something descriptive and adding a drag handle to the remark model selector — would address both points without needing a new data field.Workaround until this is improved
If you need the external proxy remark as a prefix right now, you can set the remark model string directly via the API:
Or use the
x-uimanagement menu → Panel Settings to confirm the saved value. The subscription output will immediately reflect the new order.This reply was generated automatically; a maintainer may follow up.
@xingshuwen03-prog commented on GitHub (Jun 12, 2026):
OK, it's resolved, thank you.