feat: multi-select scope for referral network graph

Replace single-select scope with multi-select supporting multiple
campaigns, partners, and users simultaneously. Chips UI with remove
buttons, clear-all, sorted query keys for cache stability.
This commit is contained in:
Fringg
2026-03-20 02:31:11 +03:00
parent a6faf702ec
commit db76cd0c64
8 changed files with 364 additions and 190 deletions

View File

@@ -1306,7 +1306,10 @@
"campaigns": "campaigns",
"active": "Active",
"inactive": "Inactive",
"noResults": "Nothing found"
"noResults": "Nothing found",
"removeItem": "Remove {{label}}",
"clearAll": "Clear all selections",
"addScope": "Add scope"
},
"loading": "Loading graph...",
"error": "Failed to load network data",

View File

@@ -1140,7 +1140,10 @@
"campaigns": "کمپین‌ها",
"active": "فعال",
"inactive": "غیرفعال",
"noResults": "نتیجه‌ای یافت نشد"
"noResults": "نتیجه‌ای یافت نشد",
"removeItem": "حذف {{label}}",
"clearAll": "پاک کردن همه انتخاب‌ها",
"addScope": "افزودن محدوده"
},
"loading": "بارگذاری گراف...",
"error": "خطا در بارگذاری داده‌های شبکه",

View File

@@ -1327,7 +1327,10 @@
"campaigns": "кампаний",
"active": "Активна",
"inactive": "Неактивна",
"noResults": "Ничего не найдено"
"noResults": "Ничего не найдено",
"removeItem": "Удалить {{label}}",
"clearAll": "Очистить все выбранные",
"addScope": "Добавить область"
},
"loading": "Загрузка графа...",
"error": "Ошибка загрузки данных сети",

View File

@@ -1140,7 +1140,10 @@
"campaigns": "活动",
"active": "活跃",
"inactive": "非活跃",
"noResults": "未找到"
"noResults": "未找到",
"removeItem": "移除 {{label}}",
"clearAll": "清除所有选择",
"addScope": "添加范围"
},
"loading": "加载图表...",
"error": "加载网络数据失败",