feat(inbounds): attach existing clients to an inbound in one click

Adds an 'Attach Existing Clients' row action on multi-user inbounds (shown even when the inbound is empty). It opens a modal listing the whole client pool with search and group filter, all attachable clients pre-selected, and attaches the selection to that inbound via the existing bulkAttach endpoint. Clients already on the inbound are shown disabled and skipped. Translations added for all 13 locales.
This commit is contained in:
MHSanaei
2026-06-01 07:26:30 +02:00
parent 971843f669
commit dd14e9b3b0
17 changed files with 318 additions and 0 deletions
+5
View File
@@ -320,6 +320,11 @@
"attachClientsSearchPlaceholder": "جستجوی ایمیل یا توضیح",
"attachClientsStatusDisabled": "غیرفعال",
"attachClientsSelectedCount": "{selected} از {total} انتخاب‌شده",
"attachExistingClients": "الصاق کاربران موجود…",
"attachExistingTitle": "الصاق کاربران موجود به «{remark}»",
"attachExistingDesc": "کاربران موجود ({count} کاربر در دسترس) را به این ورودی الصاق می‌کند — با همان UUID/رمز و ترافیک مشترک. کاربرانی که از قبل روی این ورودی هستند نادیده گرفته می‌شوند.",
"attachExistingNoClients": "هنوز هیچ کاربری وجود ندارد. ابتدا کاربر بسازید، سپس اینجا الصاق کنید.",
"attachExistingStatusAttached": "از قبل الصاق‌شده",
"detachClients": "جداسازی کاربران",
"detachClientsTitle": "جداسازی کاربران از «{remark}»",
"detachClientsDesc": "کاربر(های) انتخابی را تنها از این ورودی حذف می‌کند. خود رکورد کاربر حفظ می‌شود (برای حذف کامل از Delete استفاده کنید). مبدا در مجموع {count} کاربر دارد.",