MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / showBatchStatus

Function showBatchStatus

static/js/app.js:1708–1722  ·  view source on GitHub ↗
(batch)

Source from the content-addressed store, hash-verified

1706
1707// 显示批量状态
1708function showBatchStatus(batch) {
1709 elements.batchProgressSection.style.display = 'block';
1710 elements.taskStatusRow.style.display = isAutoMode ? 'grid' : 'none';
1711 elements.taskStatusBadge.style.display = isAutoMode ? 'inline-flex' : 'none';
1712 elements.batchProgressText.textContent = `0/${batch.count}`;
1713 elements.batchProgressPercent.textContent = '0%';
1714 elements.progressBar.style.width = '0%';
1715 elements.batchSuccess.textContent = '0';
1716 elements.batchFailed.textContent = '0';
1717 elements.batchRemaining.textContent = batch.count;
1718
1719 // 重置计数器
1720 elements.batchSuccess.dataset.last = '0';
1721 elements.batchFailed.dataset.last = '0';
1722}
1723
1724function formatAutoMonitorTimestamp(value) {
1725 if (!value) return '-';

Callers 4

handleBatchRegistrationFunction · 0.85
restoreActiveTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected