fix: fix progress bar not updating during CSV import#334
Conversation
- Reduce BATCH_SIZE from 50 to 5 for more granular progress updates - Add microtask yield before import loop so Svelte paints 0% bar - Update UI hint to reflect new batch size The progress bar was frozen at 0% because the single API call blocked the browser's render loop before Svelte could paint. Smaller batches give real, visible progress updates without backend changes.
|
🚀 Ephemeral Environment Deployed (Unified Worker) Application: https://rushomon-pr-334.piffio.workers.dev This unified Worker deployment serves both frontend and backend from the same domain for better security (httpOnly cookies work correctly). This environment will be automatically cleaned up when the PR is closed. Worker: 💡 Tip: To skip preview deployment, add the |
|
🚀 Ephemeral Environment Deployed (Unified Worker) Application: https://rushomon-pr-334.piffio.workers.dev This unified Worker deployment serves both frontend and backend from the same domain for better security (httpOnly cookies work correctly). This environment will be automatically cleaned up when the PR is closed. Worker: 💡 Tip: To skip preview deployment, add the |
|
🧹 Ephemeral Environment Cleaned Up Resources for PR #334 cleanup summary:
Cleanup completed automatically when PR was closed. Note: If this PR had the |
The progress bar was frozen at 0% because the single API call blocked the browser's render loop before Svelte could paint. Smaller batches give real, visible progress updates without backend changes.
Closes #315