Wire 'Break up' button in task selection modal #13
Labels
No labels
area:backend
area:cf-integration
area:flutter-ui
priority:blocking-v1
priority:v1-polish
type:docs
type:epic
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#14 Wire timeline card quick-action icons}
eva/focus-flow
Reference: eva/focus-flow#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Part of #7.
task_selection_modal.darthas a bare "Break up"_ActionButtonwith no callback param, while the backend commandV1ApplicationCommandUseCases.breakUpTaskis implemented and tested (MVP-AC-11).Scope
onBreakUpcallback param to the modal's action buttonbreakUpTaskOut of scope
Timeline card quick-action icon (tracked in #13); any new UI for entering child task rows if one doesn't already exist — reuse existing components where possible.
Acceptance criteria
Tapping "Break up" in the task modal creates child tasks via the existing backend command.
Related
#7
Implemented. Added:
SchedulerCommandController.breakUpTask()wiring toV1ApplicationCommandUseCases.breakUpTask._BreakUpDialog(lib/widgets/task_selection/break_up_dialog.dart) supporting the full MVP-AC-11 shape: a growable list of child-task rows, each with title (required), duration, priority, and reward. "Break up" submits only rows with a non-empty title.showDialogand forwards draftedApplicationChildTaskDrafts to a newonBreakUpcallback, whichFocusFlowHomewires to the command above.Updated the existing modal widget test (it previously asserted Break up was a no-op — now it asserts the dialog opens and can be cancelled).
flutter testandflutter analyzeclean.