feat(tasks): optimize task retrieval and performance metrics logging
- Updated `getList` and `getTasksOnly` methods to skip expensive progress calculations by default, enhancing performance. - Introduced logging for performance metrics, including method execution times and warnings for deprecated methods. - Added new `getTaskProgressStatus` endpoint to provide basic progress stats without heavy calculations. - Implemented performance optimizations in the frontend, including lazy loading and improved rendering for task rows. - Enhanced task management slice with reset actions for better state management. - Added localization support for task management messages in multiple languages.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"noTasksInGroup": "Nuk ka detyra në këtë grup",
|
||||
"noTasksInGroupDescription": "Shtoni një detyrë për të filluar",
|
||||
"addFirstTask": "Shtoni detyrën tuaj të parë"
|
||||
}
|
||||
5
worklenz-frontend/public/locales/de/task-management.json
Normal file
5
worklenz-frontend/public/locales/de/task-management.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"noTasksInGroup": "Keine Aufgaben in dieser Gruppe",
|
||||
"noTasksInGroupDescription": "Fügen Sie eine Aufgabe hinzu, um zu beginnen",
|
||||
"addFirstTask": "Fügen Sie Ihre erste Aufgabe hinzu"
|
||||
}
|
||||
5
worklenz-frontend/public/locales/en/task-management.json
Normal file
5
worklenz-frontend/public/locales/en/task-management.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"noTasksInGroup": "No tasks in this group",
|
||||
"noTasksInGroupDescription": "Add a task to get started",
|
||||
"addFirstTask": "Add your first task"
|
||||
}
|
||||
5
worklenz-frontend/public/locales/es/task-management.json
Normal file
5
worklenz-frontend/public/locales/es/task-management.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"noTasksInGroup": "No hay tareas en este grupo",
|
||||
"noTasksInGroupDescription": "Añade una tarea para comenzar",
|
||||
"addFirstTask": "Añade tu primera tarea"
|
||||
}
|
||||
5
worklenz-frontend/public/locales/pt/task-management.json
Normal file
5
worklenz-frontend/public/locales/pt/task-management.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"noTasksInGroup": "Nenhuma tarefa neste grupo",
|
||||
"noTasksInGroupDescription": "Adicione uma tarefa para começar",
|
||||
"addFirstTask": "Adicione sua primeira tarefa"
|
||||
}
|
||||
Reference in New Issue
Block a user