MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / flashButtonFeedback

Function flashButtonFeedback

deployments/desktop/static/desktop.js:1658–1669  ·  view source on GitHub ↗
(button, type = "click")

Source from the content-addressed store, hash-verified

1656 return [paper?.source || ui().papers.sourceFallback].filter(Boolean);
1657 }
1658
1659 function setStatus(message) {
1660 $("statusText").textContent = statusText(message);
1661 }
1662
1663 function showFeedbackToast(type, title, detail = "") {
1664 const toast = $("feedbackToast");
1665 if (!toast) return;
1666 window.clearTimeout(state.feedbackTimer);
1667 toast.className = `feedback-toast ${type || "success"}`;
1668 toast.innerHTML = `
1669 <strong>${escapeHtml(title)}</strong>
1670 ${detail ? `<span>${escapeHtml(detail)}</span>` : ""}
1671 `;
1672 toast.hidden = false;

Callers 2

bindButtonFeedbackFunction · 0.85
runActionFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected