mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-23 10:17:09 +08:00
feat(routing): add client picker to user rules (#6271)
* feat(routing): add client picker to user rules Replace the free-text user criterion with a searchable multi-select backed by existing panel clients. Preserve saved values that no longer exist so editing legacy rules remains lossless. * feat(routing): polish user picker states Align the routing user selector with the inbound-tag multi-select, including search, clear, loading, empty, and error states. Localize the new copy across every supported locale and cover legacy saved users with a regression test. * fix(routing): keep custom user identifiers Use tags mode with comma tokenization so the user picker suggests panel clients without rejecting HTTP, Mixed, or raw-template identifiers. Restore the comma hint and cover custom entries with a regression test.
This commit is contained in:
@@ -1520,6 +1520,9 @@
|
||||
"attributes": "属性",
|
||||
"value": "值",
|
||||
"user": "用户",
|
||||
"userPlaceholder": "选择用户",
|
||||
"userEmpty": "暂无可用用户",
|
||||
"userLoadError": "无法加载用户",
|
||||
"inboundTags": "入站标签",
|
||||
"outboundTag": "出站标签",
|
||||
"balancerTag": "均衡器标签",
|
||||
|
||||
Reference in New Issue
Block a user