mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #7099] feat(xray): warn when a Dialer Proxy tag matches no outbound #6651
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#6651
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/7099
Author: @mjbe71
Created: 11/7/2026
Status: 🔄 Open
Base:
main← Head:fix/dialer-proxy-missing-outbound-warning📝 Commits (2)
957b457feat(xray): warn when a Dialer Proxy tag matches no outbound3835c7cfix(xray): limit the Dialer Proxy warning to the outbound form📊 Changes
17 files changed (+111 additions, -3 deletions)
View changed files
📝
frontend/src/pages/xray/outbounds/OutboundFormModal.tsx(+1 -0)📝
frontend/src/pages/xray/outbounds/transport/sockopt.tsx(+19 -3)➕
frontend/src/test/dialer-proxy-warning.test.tsx(+77 -0)📝
internal/web/translation/ar-EG.json(+1 -0)📝
internal/web/translation/en-US.json(+1 -0)📝
internal/web/translation/es-ES.json(+1 -0)📝
internal/web/translation/fa-IR.json(+1 -0)📝
internal/web/translation/id-ID.json(+1 -0)📝
internal/web/translation/ja-JP.json(+1 -0)📝
internal/web/translation/pt-BR.json(+1 -0)📝
internal/web/translation/ru-RU.json(+1 -0)📝
internal/web/translation/sk-SK.json(+1 -0)📝
internal/web/translation/tr-TR.json(+1 -0)📝
internal/web/translation/uk-UA.json(+1 -0)📝
internal/web/translation/vi-VN.json(+1 -0)📝
internal/web/translation/zh-CN.json(+1 -0)📝
internal/web/translation/zh-TW.json(+1 -0)📄 Description
Summary
The Dialer Proxy select keeps showing a tag even when no outbound with that tag exists (for example after a hand edit of the raw config, or when a subscription outbound went away). The value then chains to nothing, with no hint in the UI.
This shows a non-blocking warning under the field when the selected tag is not among the available outbound tags.
Details
SockoptFormgets an opt-inwarnMissingDialerProxyprop. Only the outbound form enables it, where the tag list is the set the dial resolves against.pages.xray.outboundForm.dialerProxyMissing, added to all 14 locales.Behaviour change
None beyond the warning. The value is still kept and saved as before; nothing is blocked or cleared.
Tests
dialer-proxy-warning.test.tsx(written first, red, then green): warns for a dangling tag; quiet for a known tag, an empty value, and an unknown tag list.tsc,oxlint,oxfmtpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.