Limits task card archiving UI to completed tasks while preserving coverage for hidden states.
- Render the archive button only when a task is in the done column.
- Update TaskCard tests to assert archive action visibility for done tasks and absence for other live columns.
- Keep the header action placement assertion focused on done task cards.
Files changed:
packages/dashboard/app/components/TaskCard.tsx | 2 +-
.../app/components/__tests__/TaskCard.test.tsx | 23 +++++++++++++++++-----
2 files changed, 19 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-6340
Fusion-Task-Lineage: e1373fd1-5e50-4784-bf04-fa13ef0a08cb