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
@@ -119,28 +119,58 @@ mautic.plan.task.header.index="Tasks"
|
||||
mautic.plan.task.header.new="New task"
|
||||
mautic.plan.task.header.edit="Edit task - %name%"
|
||||
mautic.plan.task.error.notfound="No task with the ID %id% was found."
|
||||
mautic.plan.task.form.confirmdelete="Delete the task, %name%? Its sub-tasks are kept and become top-level tasks."
|
||||
mautic.plan.task.form.confirmbatchdelete="Delete the selected tasks? Their sub-tasks are kept and become top-level tasks."
|
||||
mautic.plan.task.form.confirmdelete="Delete the task, %name%? Its dependencies on other tasks and its RACI assignments are removed too."
|
||||
mautic.plan.task.form.confirmbatchdelete="Delete the selected tasks? Their dependencies on other tasks and their RACI assignments are removed too."
|
||||
mautic.plan.task.onboarding.heading="No tasks yet"
|
||||
mautic.plan.task.onboarding.subheading="Tasks break a plan down into work to do."
|
||||
mautic.plan.task.onboarding.copy="Use the New button above, or Add task on a plan's Tasks tab. A task belongs to one plan and can be a sub-task of another task in the same plan."
|
||||
mautic.plan.task.onboarding.copy="Use the New button above, or Add task on a plan's Tasks tab. A task belongs to one plan, may depend on other tasks of that plan (start to start, end to end and so on), and is assigned to the plan's stakeholders through RACI roles."
|
||||
mautic.plan.task.field.name="Name"
|
||||
mautic.plan.task.field.type="Type"
|
||||
mautic.plan.task.field.pictogram="Pictogram"
|
||||
mautic.plan.task.field.description="Description"
|
||||
mautic.plan.task.field.plan="Plan"
|
||||
mautic.plan.task.field.parent="Parent task"
|
||||
mautic.plan.task.field.kind="Kind"
|
||||
mautic.plan.task.field.start_date="Start date"
|
||||
mautic.plan.task.field.end_date="End date"
|
||||
mautic.plan.task.field.status="Status"
|
||||
mautic.plan.task.field.definition_of_done="Definition of Done"
|
||||
mautic.plan.task.field.planned_work="Planned work"
|
||||
mautic.plan.task.field.dependencies="Dependencies"
|
||||
mautic.plan.task.field.raci="RACI"
|
||||
mautic.plan.task.status.new="New"
|
||||
mautic.plan.task.status.todo="To do"
|
||||
mautic.plan.task.status.in_progress="In progress"
|
||||
mautic.plan.task.status.done="Done"
|
||||
mautic.plan.task.parent.none="None (top-level task)"
|
||||
mautic.plan.task.parent.help="A parent task must be in the same plan."
|
||||
mautic.plan.task.kind.task="Task"
|
||||
mautic.plan.task.kind.milestone="Milestone"
|
||||
mautic.plan.task.kind.milestone_short="M"
|
||||
mautic.plan.task.kind.phase="Phase"
|
||||
mautic.plan.task.kind.phase_short="P"
|
||||
mautic.plan.task.kind.task_short="T"
|
||||
mautic.plan.task.kind.phase_status_note="A phase has no status of its own: its state comes from its tasks."
|
||||
mautic.plan.task.kind.milestone_end_note="A milestone ends on its start date: the end date is the start date."
|
||||
mautic.plan.task.planned_work_unit="hours"
|
||||
mautic.plan.task.dependency.add="Add dependency"
|
||||
mautic.plan.task.dependency.remove="Remove dependency"
|
||||
mautic.plan.task.dependency.drag="Drag to reorder"
|
||||
mautic.plan.task.dependency.empty="No dependencies yet."
|
||||
mautic.plan.task.dependency.field.depends_on="Depends on"
|
||||
mautic.plan.task.dependency.field.type="Relation"
|
||||
mautic.plan.task.dependency_type.end_to_start="End to Start"
|
||||
mautic.plan.task.dependency_type.end_to_end="End to End"
|
||||
mautic.plan.task.dependency_type.start_to_start="Start to Start"
|
||||
mautic.plan.task.dependency_type.start_to_end="Start to End"
|
||||
mautic.plan.task.raci.add="Add RACI role"
|
||||
mautic.plan.task.raci.remove="Remove"
|
||||
mautic.plan.task.raci.drag="Drag to reorder"
|
||||
mautic.plan.task.raci.empty="No RACI assignments yet."
|
||||
mautic.plan.task.raci.field.role="Role"
|
||||
mautic.plan.task.raci.field.stakeholders="Stakeholders"
|
||||
mautic.plan.task.raci_role.responsible="Responsible"
|
||||
mautic.plan.task.raci_role.accountable="Accountable"
|
||||
mautic.plan.task.raci_role.consulted="Consulted"
|
||||
mautic.plan.task.raci_role.informed="Informed"
|
||||
mautic.plan.task.add="Add task"
|
||||
mautic.plan.task.save_plan_first="Save the plan first, then add tasks from its page."
|
||||
mautic.plan.task.manage_from_plan_page="Add and edit tasks from the plan's page, after saving."
|
||||
|
||||
mautic.plan.field.name="Name"
|
||||
@@ -223,8 +253,7 @@ mautic.plan.header.total_real="Real: %amount% %currency%"
|
||||
mautic.plan.header.total_real.tooltip="Total real cost of the allocation items, within the planned cost"
|
||||
mautic.plan.header.total_real.over="Total real cost of the allocation items, above the planned cost"
|
||||
|
||||
mautic.plan.task.subtask_of="Sub-task of %parent%"
|
||||
mautic.plan.task.subtasks="Number of sub-tasks"
|
||||
mautic.plan.task.save_plan_first="Save the plan first, then add tasks from its page."
|
||||
|
||||
mautic.plan.config.section.allocation_item_types="Allocation item types"
|
||||
mautic.plan.config.section.allocation_item_types.help="The types offered for the cost lines of a plan's Allocations tab, in this order. Give each type a name and a description in each language, and a pictogram; the default language is required. Users see their own language, or the default language when it's empty."
|
||||
|
||||
@@ -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