MCPcopy
hub / github.com/stemdeckapp/stemdeck / setSubmitProcessing

Function setSubmitProcessing

static/js/job.js:24–30  ·  view source on GitHub ↗
(processing)

Source from the content-addressed store, hash-verified

22const TERMINAL_STATUSES = new Set(["done", "error", "cancelled"]);
23
24function setSubmitProcessing(processing) {
25 submitBtn.disabled = processing;
26 submitBtn.classList.toggle("loading", processing);
27 document.querySelector(".strip-sq-process")?.classList.toggle("loading", processing);
28 const label = submitBtn.querySelector("span");
29 if (label) label.textContent = processing ? "Processing" : "Process";
30}
31
32function pickPhrase(status) {
33 const pool = stagePhrases[status] || stagePhrases.default;

Callers 5

resetFunction · 0.85
applyStateFunction · 0.85
openFunction · 0.85
importFromUrlFunction · 0.85
wireJobFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected