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

Function populateGameFilter

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

Source from the content-addressed store, hash-verified

890}
891
892function populateGameFilter() {
893 const gameFilter = document.getElementById("game-filter");
894 if (!gameFilter) return;
895
896 // Clear existing options except "All Games"
897 gameFilter.innerHTML = '<option value="">All Games</option>';
898
899 // Add unique games
900 Array.from(uniqueGames)
901 .sort()
902 .forEach((game) => {
903 const option = document.createElement("option");
904 option.value = game;
905 option.textContent = game;
906 gameFilter.appendChild(option);
907 });
908}
909
910function populateModelFilter() {
911 const modelFilterList = document.getElementById("model-filter-list");

Callers 1

initializeFiltersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected