feat(monitors): create bulk actions ui components and selection hooks

- Extracts generic table selection logic into useTableSelection hook
- Creates BulkActionsBar component with Collapse animations
- Implements useBulkMonitorActions to handle API logic and toasts
- Adds i18n translation strings across all 16 locales

Fixes #3602
This commit is contained in:
Retr01-sudo committed 2026-05-01 19:43:27 +05:30
1 parent 094def117a
commit 6b9759e455
20 files changed
+279 -16

No files matched your search

+4 -1
View File
@@ -421,7 +421,10 @@
"inviteMember": "邀请成员",
"openSite": "打开站点",
"pause": "暂停",
"resume": "恢复"
"resume": "恢复",
"bulkSelected": "已选择 {{count}} 个监控",
"selectAll": "选择所有监控",
"selectMonitor": "选择 {{name}}"
},
"statBoxes": {
"activeFor": "已活跃",