gsxdsm
645f3c22fe
FN-5953: hide manual PR actions when effective auto-merge is on
Honor per-task auto-merge overrides when deciding whether to offer manual PR creation.
- resolve effective auto-merge state before showing Create PR actions on task cards and review views
- pass effective auto-merge through the task detail modal into the PR panel
- expand dashboard tests to cover project-default and per-task auto-merge combinations for PR affordances
Files changed:
packages/dashboard/app/components/TaskCard.tsx | 6 ++-
.../dashboard/app/components/TaskDetailModal.tsx | 4 +-
.../dashboard/app/components/TaskReviewTab.tsx | 2 +-
.../app/components/__tests__/PrPanel.test.tsx | 41 +++++++++++++--
.../app/components/__tests__/TaskCard.test.tsx | 56 ++++++++++++++------
.../__tests__/TaskDetailModal.create-pr.test.tsx | 60 ++++++++++++++++++++++
.../components/__tests__/TaskReviewTab.test.tsx | 57 ++++++++++++++++----
7 files changed, 189 insertions(+), 37 deletions(-)
Fusion-Task-Id: FN-5953
Fusion-Task-Lineage: ffa67b87-922a-47ca-8523-1c62e8e6c48b
2026-06-07 18:51:46 -07:00
..
2026-06-06 01:08:31 -07:00
2026-05-31 20:05:32 -07:00
2026-06-07 18:51:46 -07:00
2026-06-07 18:51:46 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-06-07 18:51:46 -07:00
2026-06-06 06:59:25 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-28 21:23:48 -07:00
2026-06-05 14:41:43 -07:00