feat(task-logging): enhance time log functionality with subtask handling and UI improvements

- Implemented recursive task hierarchy in SQL query to support subtasks in time logging.
- Updated time log export to include task names for better clarity.
- Added tooltips to inform users when time logging and timer functionalities are disabled due to subtasks.
- Enhanced UI components in the task drawer to reflect new time log features and improve user experience.
- Introduced responsive design adjustments for better accessibility on mobile devices.
This commit is contained in:
chamikaJ
2025-05-30 13:28:47 +05:30
parent 43c6701d3a
commit fef50bdfb1
12 changed files with 490 additions and 124 deletions

View File

@@ -80,7 +80,21 @@
"addTimeLog": "Add new time log",
"totalLogged": "Total Logged",
"exportToExcel": "Export to Excel",
"noTimeLogsFound": "No time logs found"
"noTimeLogsFound": "No time logs found",
"timerDisabledTooltip": "Timer is disabled because this task has {{count}} subtasks. Time should be logged on individual subtasks.",
"timeLogDisabledTooltip": "Time logging is disabled because this task has {{count}} subtasks. Time should be logged on individual subtasks.",
"date": "Date",
"startTime": "Start Time",
"endTime": "End Time",
"workDescription": "Work Description",
"requiredFields": "Please fill in all required fields",
"dateRequired": "Please select a date",
"startTimeRequired": "Please select start time",
"endTimeRequired": "Please select end time",
"workDescriptionPlaceholder": "Add a description",
"cancel": "Cancel",
"logTime": "Log time",
"updateTime": "Update time"
},
"taskActivityLogTab": {
"title": "Activity Log"

View File

@@ -80,7 +80,21 @@
"addTimeLog": "Añadir nuevo registro de tiempo",
"totalLogged": "Total registrado",
"exportToExcel": "Exportar a Excel",
"noTimeLogsFound": "No se encontraron registros de tiempo"
"noTimeLogsFound": "No se encontraron registros de tiempo",
"timerDisabledTooltip": "El temporizador está deshabilitado porque esta tarea tiene {{count}} subtareas. El tiempo debe registrarse en las subtareas individuales.",
"timeLogDisabledTooltip": "El registro de tiempo está deshabilitado porque esta tarea tiene {{count}} subtareas. El tiempo debe registrarse en las subtareas individuales.",
"date": "Fecha",
"startTime": "Hora de inicio",
"endTime": "Hora de finalización",
"workDescription": "Descripción del trabajo",
"requiredFields": "Por favor, complete todos los campos requeridos",
"dateRequired": "Por favor, seleccione una fecha",
"startTimeRequired": "Por favor, seleccione la hora de inicio",
"endTimeRequired": "Por favor, seleccione la hora de finalización",
"workDescriptionPlaceholder": "Añadir una descripción",
"cancel": "Cancelar",
"logTime": "Registrar tiempo",
"updateTime": "Actualizar tiempo"
},
"taskActivityLogTab": {
"title": "Registro de actividad"

View File

@@ -80,7 +80,21 @@
"addTimeLog": "Adicionar novo registro de tempo",
"totalLogged": "Total registrado",
"exportToExcel": "Exportar para Excel",
"noTimeLogsFound": "Nenhum registro de tempo encontrado"
"noTimeLogsFound": "Nenhum registro de tempo encontrado",
"timerDisabledTooltip": "O cronômetro está desabilitado porque esta tarefa tem {{count}} subtarefas. O tempo deve ser registrado nas subtarefas individuais.",
"timeLogDisabledTooltip": "O registro de tempo está desabilitado porque esta tarefa tem {{count}} subtarefas. O tempo deve ser registrado nas subtarefas individuais.",
"date": "Data",
"startTime": "Hora de início",
"endTime": "Hora de término",
"workDescription": "Descrição do trabalho",
"requiredFields": "Por favor, preencha todos os campos obrigatórios",
"dateRequired": "Por favor, selecione uma data",
"startTimeRequired": "Por favor, selecione a hora de início",
"endTimeRequired": "Por favor, selecione a hora de término",
"workDescriptionPlaceholder": "Adicionar uma descrição",
"cancel": "Cancelar",
"logTime": "Registrar tempo",
"updateTime": "Atualizar tempo"
},
"taskActivityLogTab": {
"title": "Registro de atividade"