gsxdsm
967e98194e
FN-8950: hide Promote until plan gates clear
Prevent task-card promotion shortcuts when plan review or approval holds remain.
- Mirror default-on plan-review gate and approval-hold predicates in dashboard helpers.
- Suppress Promote across planning, review, and approval states.
- Add regression coverage and a patch changeset.
Files changed:
.changeset/fn-8950-promote-plan-gate.md | 7 ++
packages/dashboard/app/components/TaskCard.tsx | 29 +++++--
.../__tests__/TaskCard.cost-badge.test.tsx | 2 +
.../__tests__/TaskCard.footer-wrap.test.tsx | 2 +
.../app/components/__tests__/TaskCard.test.tsx | 96 ++++++++++++++--------
.../utils/__tests__/reviewBudgetApproval.test.ts | 77 +++++++++++++++++
.../dashboard/app/utils/reviewBudgetApproval.ts | 43 ++++++++++
7 files changed, 218 insertions(+), 38 deletions(-)
Fusion-Task-Id: FN-8950
Fusion-Task-Lineage: c587b3b4-03b4-4cd2-9588-826706788eb7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-11 04:00:16 -07:00
..
2026-08-11 01:51:22 -07:00
2026-08-08 14:25:19 -07:00
2026-08-11 03:53:11 -07:00
2026-08-11 04:00:16 -07:00
2026-08-09 15:36:13 -10:00
2026-08-08 14:25:19 -07:00
2026-08-11 03:53:11 -07:00
2026-08-09 20:19:52 -07:00
2026-08-08 14:25:19 -07:00
2026-08-08 14:25:19 -07:00
2026-07-27 19:40:08 -07:00
2026-08-08 14:25:19 -07:00