feat: add full page index component with pagination and actions
- Implemented FullPagePageIndex component with mock data for database clusters. - Added pagination and bulk actions for managing database clusters. - Created navigation context hooks for detail, edit, duplicate, and create actions. - Introduced a new store for managing state in full-page and single-page modules. feat: add navigation localization files - Added English and Indonesian localization files for navigation menu items. - Included translations for various modules including CRM, Sales, Supply Chain, and more. feat: create system information shortcuts component - Developed Shortcut component to display keyboard shortcuts with search functionality. - Implemented System component to show placeholder information when system details are unavailable. - Added localization for shortcuts and system information in English and Indonesian. feat: implement global theme store - Created a Zustand store for managing theme color scheme with localStorage persistence. feat: add module page header component - Developed ModulePageHeader component for consistent page header across modules. - Included breadcrumb navigation, title, description, and action buttons. feat: define default privileges for enterprise module - Established default privileges for CRUD operations and other actions in the enterprise module.
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
"view": "View",
|
||||
"preferences": "Preferences",
|
||||
"language": "Language",
|
||||
"theme": "Theme",
|
||||
"lightMode": "Light",
|
||||
"darkMode": "Dark",
|
||||
"application": "Application",
|
||||
"myProfile": "My Profile",
|
||||
"workspace": "Workspace",
|
||||
@@ -37,6 +40,44 @@
|
||||
"collapseAll": "Collapse all menu",
|
||||
"searchMenu": "Search menu",
|
||||
"collapse": "Collapse",
|
||||
"expandSidebar": "Expand Sidebar"
|
||||
"expandSidebar": "Expand Sidebar",
|
||||
"actions": {
|
||||
"create": "Create New",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"save": "Save",
|
||||
"print": "Print",
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel",
|
||||
"activate": "Activate",
|
||||
"deactivate": "Deactivate",
|
||||
"duplicate": "Duplicate",
|
||||
"back": "Back",
|
||||
"reload": "Reload"
|
||||
},
|
||||
"confirmDialog": {
|
||||
"title": "Are you sure?",
|
||||
"deleteMessage": "This action cannot be undone.",
|
||||
"confirmButton": "Confirm",
|
||||
"cancelButton": "Cancel"
|
||||
},
|
||||
"draft": {
|
||||
"recoveryTitle": "Draft Found",
|
||||
"recoveryMessage": "You have an unsaved draft from {{date}}. Would you like to continue editing?",
|
||||
"continueEditing": "Continue Editing",
|
||||
"discardDraft": "Start Fresh"
|
||||
},
|
||||
"notifications": {
|
||||
"saveSuccess": "Data saved successfully",
|
||||
"deleteSuccess": "Data deleted successfully",
|
||||
"actionSuccess": "{{action}} completed successfully",
|
||||
"actionFailed": "Failed to {{action}}: {{message}}"
|
||||
},
|
||||
"privilege": {
|
||||
"error": {
|
||||
"accessDeniedTitle": "Access Denied",
|
||||
"noCreateAccess": "You do not have the required permission to create data in this module."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,9 @@
|
||||
"view": "Lihat",
|
||||
"preferences": "Preferensi",
|
||||
"language": "Bahasa",
|
||||
"theme": "Tema",
|
||||
"lightMode": "Terang",
|
||||
"darkMode": "Gelap",
|
||||
"application": "Aplikasi",
|
||||
"myProfile": "Profil Saya",
|
||||
"workspace": "Ruang Kerja",
|
||||
@@ -37,6 +40,44 @@
|
||||
"collapseAll": "Tutup semua menu",
|
||||
"searchMenu": "Cari menu",
|
||||
"collapse": "Tutup",
|
||||
"expandSidebar": "Perluas Sidebar"
|
||||
"expandSidebar": "Perluas Sidebar",
|
||||
"actions": {
|
||||
"create": "Buat Baru",
|
||||
"edit": "Ubah",
|
||||
"delete": "Hapus",
|
||||
"save": "Simpan",
|
||||
"print": "Cetak",
|
||||
"confirm": "Konfirmasi",
|
||||
"cancel": "Batal",
|
||||
"activate": "Aktifkan",
|
||||
"deactivate": "Nonaktifkan",
|
||||
"duplicate": "Duplikat",
|
||||
"back": "Kembali",
|
||||
"reload": "Muat Ulang"
|
||||
},
|
||||
"confirmDialog": {
|
||||
"title": "Apakah Anda yakin?",
|
||||
"deleteMessage": "Tindakan ini tidak dapat dibatalkan.",
|
||||
"confirmButton": "Konfirmasi",
|
||||
"cancelButton": "Batal"
|
||||
},
|
||||
"draft": {
|
||||
"recoveryTitle": "Draf Ditemukan",
|
||||
"recoveryMessage": "Anda memiliki draf yang belum disimpan dari {{date}}. Apakah Anda ingin melanjutkan?",
|
||||
"continueEditing": "Lanjutkan",
|
||||
"discardDraft": "Mulai Baru"
|
||||
},
|
||||
"notifications": {
|
||||
"saveSuccess": "Data berhasil disimpan",
|
||||
"deleteSuccess": "Data berhasil dihapus",
|
||||
"actionSuccess": "{{action}} berhasil diselesaikan",
|
||||
"actionFailed": "Gagal {{action}}: {{message}}"
|
||||
},
|
||||
"privilege": {
|
||||
"error": {
|
||||
"accessDeniedTitle": "Akses Ditolak",
|
||||
"noCreateAccess": "Anda tidak memiliki hak akses untuk menambah data di modul ini."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user