Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 85:
statusDiv.append(`<div>${progress} Checking ${userInfo.username}...</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
Line 96 ⟶ 97:
blockedUsers.push(userInfo.original);
statusDiv.append(`<div style="color: #d33;">${progress} ✗ ${userInfo.username} is blocked</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
console.log(`✗ ${userInfo.username} is blocked`);
} else {
Line 104 ⟶ 107:
activeUsers.push(userInfo.original);
statusDiv.append(`<div style="color: #00af89;">${progress} ✓ ${userInfo.username} is active (not blocked + active in last 12 months)</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
console.log(`✓ ${userInfo.username} is active (not blocked + active in last 12 months)`);
} else {
inactiveUsers.push(userInfo.original);
statusDiv.append(`<div style="color: #fc3;">${progress} ⚠ ${userInfo.username} is not blocked but inactive (no edits in last 12 months)</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
console.log(`⚠ ${userInfo.username} is not blocked but inactive (no edits in last 12 months)`);
}
Line 116 ⟶ 123:
activeUsers.push(userInfo.original);
statusDiv.append(`<div style="color: #fc3;">${progress} ? ${userInfo.username} - check failed, assuming active</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
console.log(`? ${userInfo.username} - check failed, assuming active`);
}
Line 130 ⟶ 139:
checkButton.prop('disabled', false).text('Check Users');
statusDiv.append(`<div style="font-weight: bold; margin-top: 10px;">✓ Completed! ${activeUsers.length} active, ${blockedUsers.length} blocked, ${inactiveUsers.length} inactive</div>`);
// Always scroll to bottom to show latest activity
statusDiv.scrollTop(statusDiv[0].scrollHeight);
|