feat(ui): wire sidebar Backlog nav and modal Move-to-Backlog/Break-up actions #18
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: eva/focus-flow#18
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/9-12-13-wire-backlog-nav-and-modal-actions"
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?
Summary
createBacklogController()toSchedulerAppComposition(only the demo composition had one; the persistent/production composition had no way to read backlog state at all).SchedulerCommandController.breakUpTask().nav-today-activeregardless of which item was active.Context
Filed against the native V1-completeness gap analysis tracked in #6, #7 (epics). Closes #9, #12, #13.
Test plan
flutter analyze— cleanflutter test— all 77 tests pass (one existing modal test updated to reflect that Break up now opens a real, cancellable dialog instead of being a no-op)dart format --set-exit-if-changed— cleanBackend was already V1-complete for these paths (moveFlexibleToBacklog, breakUpTask); this closes the UI-wiring gap identified in the V1 feature-complete audit. - Add createBacklogController() to SchedulerAppComposition and implement it in PersistentSchedulerComposition (only the demo composition had one). - Sidebar now switches the main content area between Today and Backlog via a real SidebarScreen enum instead of hardcoded onTap: () {} stubs. - Task modal's "Backlog" quick-action reuses the existing onPushToBacklog wiring (same backend command as the Push menu's "Push to backlog"). - Add a break-up dialog (row-level title/priority/reward/duration per MVP-AC-11) and SchedulerCommandController.breakUpTask(), wired to the modal's "Break up" button. - Fix a latent bug where the active sidebar nav item's key was hardcoded to nav-today-active regardless of which item was active. Closes: Circuit-Forge/focus-flow#9 Closes: Circuit-Forge/focus-flow#12 Closes: Circuit-Forge/focus-flow#13Pull request closed