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 00:09:53 -07:00
2026-06-06 01:32:06 -07:00
2026-06-07 18:51:46 -07:00
2026-05-14 15:25:08 -07:00
2026-06-05 23:06:46 -07:00
2026-06-04 08:00:33 -07:00
2026-06-03 20:56:05 -07:00
2026-05-08 11:36:26 -07:00
2026-05-17 22:16:27 -07:00
2026-06-02 14:14:24 -07:00
2026-05-12 07:47:10 -07:00
2026-06-05 23:06:46 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-03 19:48:40 -07:00
2026-05-08 07:38:50 -07:00
2026-05-17 19:11:59 -07:00
2026-05-08 11:30:20 -07:00