Open lcjohnso opened 1 month ago
One way to implement this: as part of fetchWorkflowData(), in the case that the original query comes back empty (i.e., no incomplete active workflows), run a second query that drops the complete: false
condition to return all active workflows. That is in contrast to current behavior where the original query comes back empty and therefore the project shows "nothing to classify" because the workflows variable is empty.
Problem Description
If a project has multiple active workflows and all workflows are 100% complete (all workflows retired), the project landing page does not show any workflow buttons or provide access to those workflows. Note: declaring a default workflow will result in that single workflow button being shown for that paused project, however that's not the desired behavior (which is: show all the buttons).
Describe the solution you'd like
Additional context
Screenshot of undesired behavior: a paused project with two active workflows (but no default workflow).
cc: @goplayoutside3