feat(TaskManagement): implement centralized readonly field logic for task synchronization

- Added functionality to determine readonly fields based on task source (Jira, TFS) and status.
- Updated EditTaskForm and TaskBasicFields components to utilize readonly fields for better user experience.
- Introduced buildSyncUpdateData function to manage field preservation during synchronization.
- Enhanced tests for readonly field logic to ensure correct behavior across different scenarios.
This commit is contained in:
Julien Froidefond
2025-11-21 10:40:21 +01:00
parent b8256a18b6
commit 31f9855a3c
8 changed files with 669 additions and 67 deletions

View File

@@ -66,6 +66,7 @@ export interface Task {
assignee?: string;
ownerId: string; // ID du propriétaire de la tâche
todosCount?: number; // Nombre de todos reliés à cette tâche
readonlyFields?: string[]; // Liste des champs en lecture seule (pour les tâches synchronisées)
}
// Interface pour les tags