gsxdsm
c1d7da3f8c
FN-7321: refresh branch group details from task events
...
Refresh branch group detail views when task lifecycle events change member state.
- Add shared branch group SSE helpers for task lifecycle refresh events and project filtering.
- Subscribe branch group cards and modals to created, moved, updated, deleted, merged, and reconnect refreshes without resetting local view state.
- Cover live refresh behavior and add a patch changeset for the published CLI bundle.
Files changed:
.changeset/refresh-branch-group-detail-live.md | 7 ++
.../dashboard/app/components/BranchGroupCard.tsx | 33 +++--
.../dashboard/app/components/GroupTaskModal.tsx | 40 +++---
.../components/__tests__/BranchGroupCard.test.tsx | 137 ++++++++++++++++++++-
.../components/__tests__/GroupTaskModal.test.tsx | 58 ++++++++-
packages/dashboard/app/utils/branchGroupSse.ts | 19 +++
6 files changed, 262 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-7321
Fusion-Task-Lineage: 015ba35b-c449-4e5c-a398-83a442ad360d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-30 18:15:10 -07:00
gsxdsm
f3bc757d22
fix(FN-branch-group): address PR review feedback ( #1357 )
...
- abandon route: guard already-abandoned groups (matches CLI)
- CLI branch-group list: single task fetch via filterTasksByBranchGroup (N+1)
- branch-name validator: git check-ref-format parity (//, dot-segments, .lock, @, @{, trailing /.)
- updateBranchGroup: validate renamed branchName too
- already-merged-detector: escape regex metachars in git log --grep; non-vacuous prose-mention assertion
- group PR callbacks: thread per-project cwd through SyncGroupPrFn/reconcile/github helpers (multi-project correctness)
- merger: group-PR sync is fire-and-forget (never blocks merge completion); deterministic test handle
- coordinator: sibling PR reuse only when open; reconcile skips member fetch on read-only path; argv-based git calls (no shell)
- task-lifecycle: legacy group-PR path links open PRs only; branch probes via execFile argv (injection hardening)
- mission/planning: branchContext.groupId only stamped for actual shared-mode members (groupId now optional)
- UI: Abandon reachable whenever PR is open (decoupled from completion); promote stays completion-gated
- tests: deterministic concurrency gate, real reconcile path in e2e, Surface Enumeration sections
2026-06-03 13:51:13 -07:00
gsxdsm
9512e98330
feat(FN-branch-group): surface group PR controls in dashboard + CLI (U7)
...
Extend BranchGroupCard/GroupTaskModal with an Abandon action (open PRs) and
terminal merged/closed badges; promote stays completion-gated. New
fn branch-group list|show|promote (alias fn bg) reaching the same coordinator
path with createGroupPrCallback wired — agent-native parity with the dashboard
promote flow, same completion-gate rejection.
2026-06-03 10:31:18 -07:00
gsxdsm
eb425d17d9
FN-5825: add dedicated grouped-task modal popup
...
Introduce a dedicated modal flow for grouped shared-branch tasks in the dashboard.
- Add GroupTaskModal component and styles for grouped task details and actions.
- Wire grouped-task modal state through App, modal manager hooks, and modal container components.
- Update board/column/task-card interactions to open grouped tasks in the new modal.
- Adjust subtask breakdown behavior and add focused tests for grouped task modal/task-card flows.
- Document the grouped-task modal behavior and add a changeset for @runfusion/fusion.
Files changed:
.changeset/fn-5825-group-task-modal.md | 5 +
docs/dashboard-guide.md | 5 +-
packages/dashboard/app/App.tsx | 6 +
packages/dashboard/app/components/AppModals.tsx | 24 ++++
packages/dashboard/app/components/Board.tsx | 4 +-
packages/dashboard/app/components/Column.tsx | 4 +-
.../dashboard/app/components/GroupTaskModal.css | 79 ++++++++++
.../dashboard/app/components/GroupTaskModal.tsx | 159 +++++++++++++++++++++
.../app/components/SubtaskBreakdownModal.tsx | 16 ++-
packages/dashboard/app/components/TaskCard.tsx | 8 ++
.../components/__tests__/GroupTaskModal.test.tsx | 105 ++++++++++++++
.../app/components/__tests__/TaskCard.test.tsx | 18 +++
packages/dashboard/app/hooks/useModalManager.ts | 16 +++
packages/dashboard/vitest.config.ts | 2 +-
14 files changed, 445 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-5825
Fusion-Task-Lineage: d9317a58-05ce-4437-8311-b7e2a186537b
2026-06-01 05:15:14 -07:00