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:
1 parent
326009e9d3
commit
02002dc1c3
16 files changed
+206
-4
No files matched your search
@@ -1520,6 +1520,9 @@
|
||||
"attributes": "الخصائص",
|
||||
"value": "القيمة",
|
||||
"user": "المستخدم",
|
||||
"userPlaceholder": "اختر المستخدمين",
|
||||
"userEmpty": "لا يوجد مستخدمون متاحون",
|
||||
"userLoadError": "تعذر تحميل المستخدمين",
|
||||
"inboundTags": "وسوم الواردات",
|
||||
"outboundTag": "وسم الصادر",
|
||||
"balancerTag": "وسم الموازن",
|
||||
|
||||
@@ -1638,6 +1638,9 @@
|
||||
"attributes": "Attributes",
|
||||
"value": "Value",
|
||||
"user": "User",
|
||||
"userPlaceholder": "Select users",
|
||||
"userEmpty": "No users available",
|
||||
"userLoadError": "Could not load users",
|
||||
"inboundTags": "Inbound tags",
|
||||
"outboundTag": "Outbound tag",
|
||||
"balancerTag": "Balancer tag",
|
||||
|
||||
@@ -1520,6 +1520,9 @@
|
||||
"attributes": "Atributos",
|
||||
"value": "Valor",
|
||||
"user": "Usuario",
|
||||
"userPlaceholder": "Seleccionar usuarios",
|
||||
"userEmpty": "No hay usuarios disponibles",
|
||||
"userLoadError": "No se pudieron cargar los usuarios",
|
||||
"inboundTags": "Etiquetas de entradas",
|
||||
"outboundTag": "Etiqueta de salida",
|
||||
"balancerTag": "Etiqueta de balanceador",
|
||||
|
||||
Loaded 3 of 16 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user