feat: Rework task management in PlanBundle
- Introduced migration Version_0_13_0 to update task schema: - Changed start_date and end_date to DATE type, truncating time. - Added new columns: task_kind, definition_of_done, planned_work. - Removed parent_id and its index, replacing with a dependency graph. - Created new tables: plan_task_dependencies and plan_task_raci, including a join table for stakeholders. - Updated Version_0_4_0 migration to remove references to parent_id. - Refactored TaskModel to return tasks as flat rows with dependencies and RACI assignments. - Modified task table view to display tasks without hierarchical structure, adding badges for milestones and phases. - Enhanced task form to include dependencies and RACI roles, with appropriate macros for rendering. - Updated task list view to reflect new task structure and display status based on task kind. - Added new validation constraints for task dependencies and dates, ensuring no cycles or self-references. - Removed obsolete ValidTaskParent validation as parent-child relationships are no longer supported. - Updated translations to reflect changes in task management and new fields. - Revised documentation to describe new task handling and features.
This commit is contained in:
1 parent
8696acd01c
commit
8268fad886
33 files changed
+1454
-251
No files matched your search
@@ -10,8 +10,12 @@ mautic.plan.stakeholder.email.invalid="This email address is not valid."
|
||||
mautic.plan.stakeholder_link.stakeholder.required="Choose a stakeholder."
|
||||
mautic.plan.task.plan.required="A task must be assigned to a plan."
|
||||
mautic.plan.task.type.required="Choose a type."
|
||||
mautic.plan.task.parent.other_plan="The parent task must be in the same plan."
|
||||
mautic.plan.task.parent.loop="A task can't be its own parent, or a sub-task of one of its sub-tasks."
|
||||
mautic.plan.task.planned_work.invalid="The planned work must be a whole number of hours, 0 or more."
|
||||
mautic.plan.task.planned_work.range="The planned work must be a whole number of hours from 0 to %max%."
|
||||
mautic.plan.task.milestone.end_enslaved="A milestone ends on its start date."
|
||||
mautic.plan.task.dependency.self="A task can't depend on itself."
|
||||
mautic.plan.task.dependency.cycle="A task can't depend on a task that (directly or not) depends on it."
|
||||
mautic.plan.task.dependency.other_plan="A task can only depend on tasks of the same plan."
|
||||
mautic.plan.description_item.type.required="Choose a type."
|
||||
mautic.plan.config.type.name.required="A type needs a name in the default language."
|
||||
mautic.plan.config.type.in_use="These types are in use and can't be removed: %types%. Change the items or tasks that use them to another type first."
|
||||
|
||||
Reference in new issue
Block a user