refactor: migrate customer and skill definition pages to use DashboardCrudPage component

- Replaced existing customer and skill definition page implementations with DashboardCrudPage for improved structure and functionality.
- Simplified state management and data fetching logic.
- Enhanced filtering and column definitions for better user experience.
- Updated translations to include new labels and processing messages.
This commit is contained in:
mlogclub
2026-05-28 09:52:47 +08:00
parent 2cb834efa3
commit 6a3c641ff9
6 changed files with 888 additions and 2009 deletions
+3
View File
@@ -634,6 +634,7 @@
"deleted": "Customer deleted: {name}",
"deleteFailed": "Could not delete the customer.",
"new": "New",
"refresh": "Refresh",
"keywordPlaceholder": "Name, phone, email, company, or contact",
"searchCompany": "Search companies",
"query": "Search",
@@ -932,6 +933,7 @@
"toggleStatus": "Toggle status for {name}",
"edit": "Edit",
"moreActions": "More actions for {name}",
"processing": "Working...",
"stop": "Disable",
"delete": "Delete",
"loadingRows": "Loading AI agents...",
@@ -1500,6 +1502,7 @@
"restoring": "Restoring...",
"restore": "Restore",
"deleting": "Deleting...",
"processing": "Working...",
"delete": "Delete",
"loadFailed": "Could not load skills.",
"updated": "Skill updated: {name}",