MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / getVisibleCheckedCheckboxes

Function getVisibleCheckedCheckboxes

codeclash/viewer/static/js/picker.js:187–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185}
186
187function getVisibleCheckedCheckboxes() {
188 // Get all checked checkboxes and filter out those in hidden rows
189 const allChecked = document.querySelectorAll("input[data-path]:checked");
190 return Array.from(allChecked).filter((checkbox) => {
191 const row = checkbox.closest(".game-row");
192 return row && row.style.display !== "none";
193 });
194}
195
196function fillTextareaWithPaths() {
197 const selectedCheckboxes = getVisibleCheckedCheckboxes();

Calls

no outgoing calls

Tested by

no test coverage detected