mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 09:13:08 +00:00
fix: show Resume button for features stuck in pipeline steps
Enable the Resume button to appear for features with pipeline status (e.g., 'pipeline_step_xyz') in addition to 'in_progress' status. Previously, features that crashed during pipeline execution would show a 'testing' status badge but no Resume button, making it impossible to resume them from the UI. Changes: - Update card-actions.tsx condition to include pipeline_ status check - Resume button now shows for both in_progress and pipeline_step_* statuses - Maintains all existing behavior for other feature states This fixes the UX issue where users could see a feature was stuck in a pipeline step but had no way to resume it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,7 +109,9 @@ export function CardActions({
|
|||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!isCurrentAutoTask && feature.status === 'in_progress' && (
|
{!isCurrentAutoTask &&
|
||||||
|
(feature.status === 'in_progress' ||
|
||||||
|
(typeof feature.status === 'string' && feature.status.startsWith('pipeline_'))) && (
|
||||||
<>
|
<>
|
||||||
{/* Approve Plan button - shows when plan is generated and waiting for approval */}
|
{/* Approve Plan button - shows when plan is generated and waiting for approval */}
|
||||||
{feature.planSpec?.status === 'generated' && onApprovePlan && (
|
{feature.planSpec?.status === 'generated' && onApprovePlan && (
|
||||||
|
|||||||
Reference in New Issue
Block a user