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": "ทำงานมาแล้ว",