MCPcopy
hub / github.com/github/awesome-copilot / stepAction

Function stepAction

extensions/java-modernization-studio/renderer.mjs:686–689  ·  view source on GitHub ↗
(st)

Source from the content-addressed store, hash-verified

684 }
685
686 function stepAction(st) {
687 const label = st.status === "in_progress" ? "Resume this step" : "Work on this step";
688 return btn(label, "work_step", { title: st.title, section: st.section }, { primary: true });
689 }
690 function stepRowAction(st, isValidation, locked, ord) {
691 if (st.status === "done") return '<span class="smuted">✓ Done</span>';
692 if (isValidation) return '<span class="smuted">run from Validation →</span>';

Callers 1

planTabFunction · 0.85

Calls 1

btnFunction · 0.85

Tested by

no test coverage detected