This logic has been moved to `progress-indicator.js`