MCPcopy Create free account
hub / github.com/error311/FileRise / applySelectAll

Function applySelectAll

public/js/fileListView.js:3448–3460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3446 };
3447
3448 const applySelectAll = () => {
3449 // Clear any folder selection when toggling all files
3450 clearFolderSelections();
3451 const checked = selectAll.checked;
3452 getRowCbs().forEach(cb => {
3453 cb.checked = checked;
3454 updateRowHighlight(cb);
3455 });
3456 updateFileActionButtons();
3457 // No indeterminate state when explicitly toggled
3458 selectAll.indeterminate = false;
3459 selectAll.__lastSelectAllChecked = selectAll.checked;
3460 };
3461
3462 const handleSelectAllChange = () => {
3463 applySelectAll();

Callers 1

handleSelectAllChangeFunction · 0.85

Calls 4

clearFolderSelectionsFunction · 0.85
getRowCbsFunction · 0.85
updateRowHighlightFunction · 0.85
updateFileActionButtonsFunction · 0.85

Tested by

no test coverage detected