gsxdsm
e72d9da1f7
FN-8907: hide Promote for planning tasks
Prevent planning-stage task cards from exposing an action that cannot safely advance work.
- Gate the Promote action and related cost-row layout on planning state.
- Cover planning, approval, replan, and planned hold-card render paths.
- Add a patch changeset for the dashboard behavior fix.
Files changed:
.changeset/fn-8907-promote-planning.md | 7 ++
packages/dashboard/app/components/TaskCard.tsx | 18 +++-
.../__tests__/TaskCard.cost-badge.test.tsx | 3 +-
.../__tests__/TaskCard.footer-wrap.test.tsx | 2 +-
.../app/components/__tests__/TaskCard.test.tsx | 97 ++++++++++++++++++++--
5 files changed, 116 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-8907
Fusion-Task-Lineage: d64aaa0a-6675-4c59-9b21-7fd82f20ecfa
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-09 12:17:03 -07:00
..
2026-08-09 09:14:56 -07:00
2026-08-08 14:25:19 -07:00
2026-08-09 10:28:24 -07:00
2026-08-09 12:17:03 -07:00
2026-08-08 14:25:19 -07:00
2026-08-08 14:25:19 -07:00
2026-08-09 10:28:24 -07:00
2026-08-09 04:50:30 -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