Skip to content

fix: fix progress bar not updating during CSV import#334

Merged
piffio merged 2 commits intomainfrom
fix/315-progressbar-not-updating-when-importing-links
Apr 23, 2026
Merged

fix: fix progress bar not updating during CSV import#334
piffio merged 2 commits intomainfrom
fix/315-progressbar-not-updating-when-importing-links

Conversation

@piffio
Copy link
Copy Markdown
Owner

@piffio piffio commented Apr 23, 2026

  • 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.

Closes #315

- 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.
@github-actions
Copy link
Copy Markdown

🚀 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: rushomon-pr-334


💡 Tip: To skip preview deployment, add the skip-preview label to this PR.

@github-actions
Copy link
Copy Markdown

🚀 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: rushomon-pr-334


💡 Tip: To skip preview deployment, add the skip-preview label to this PR.

@piffio piffio merged commit 835d08d into main Apr 23, 2026
8 checks passed
@github-actions
Copy link
Copy Markdown

🧹 Ephemeral Environment Cleaned Up

Resources for PR #334 cleanup summary:

Resource Status
Worker rushomon-pr-334 ✅ Deleted
KV Namespace URL_MAPPINGS_pr_334 ✅ Deleted
D1 Database rushomon-pr-334 ✅ Deleted
R2 Bucket rushomon-assets-pr-334 ✅ Deleted

Cleanup completed automatically when PR was closed.

Note: If this PR had the skip-preview label, resources were still cleaned up because they were deployed before the label was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Progressbar not updating when importing links

1 participant