()
| 927 | } |
| 928 | |
| 929 | function applyFilters() { |
| 930 | // Get all game rows |
| 931 | const allRows = document.querySelectorAll(".game-row"); |
| 932 | |
| 933 | allRows.forEach((row) => { |
| 934 | if (shouldRowBeVisible(row)) { |
| 935 | row.style.display = ""; |
| 936 | } else { |
| 937 | row.style.display = "none"; |
| 938 | } |
| 939 | }); |
| 940 | |
| 941 | // Update keyboard navigation after filtering |
| 942 | updateNavigableRows(); |
| 943 | |
| 944 | // Update select-all checkbox state after filtering |
| 945 | updateSelectAllCheckbox(); |
| 946 | |
| 947 | // Update clear filters button visibility |
| 948 | updateClearFiltersButton(); |
| 949 | |
| 950 | // Update runs status |
| 951 | updateRunsStatus(); |
| 952 | } |
| 953 | |
| 954 | function clearFilters() { |
| 955 | // Reset folder filter to first option (folder filter is mandatory) |
no test coverage detected