[GH-ISSUE #858] Simultaneous import causes fight over the progress bar #557

Open
opened 2026-03-02 11:50:52 +03:00 by kerem · 1 comment
Owner

Originally created by @AdamAdamsMusic on GitHub (Jan 10, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/858

Describe the Bug

I have just started using Hoarder and was importing my bookmarks from different places. When I chose the second source, I noticed that there was only one progress bar. Even though the app is completely able to import in parallel, the UI is not fit for this scenario and causes the progress bar to jump between currents states of two background jobs, refreshing on every update of the two.
I think it would be useful to show a progress bar for each job in that case.
Moreover, when one job finishes, the "Processed" counter goes up to the sum of both import minus duplicates (just my educated guess), while the "Total" counter stays at one of the jobs' "Total" amount.

Video and screenshot attached.

Steps to Reproduce

  1. Go to "Import/Export" submenu,
  2. Import one source (e.g. bookmarks from a browser),
  3. Import another source (e.g. Omnivore export),

Progress bar gets confused

Expected Behaviour

Either put jobs in a queue so they utilize the one progress bar in order, or show a separate UI progress bar for every parallel job

Screenshots or Additional Context

https://github.com/user-attachments/assets/0e8778c6-b295-4507-a423-46d6dd8a6d4e


image

Device Details

Firefox 133.0.3 on macOS 10.15.7 (Intel)

Exact Hoarder Version

v0.21.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @AdamAdamsMusic on GitHub (Jan 10, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/858 ### Describe the Bug I have just started using Hoarder and was importing my bookmarks from different places. When I chose the second source, I noticed that there was only one progress bar. Even though the app is completely able to import in parallel, the UI is not fit for this scenario and causes the progress bar to jump between currents states of two background jobs, refreshing on every update of the two. I think it would be useful to show a progress bar for each job in that case. Moreover, when one job finishes, the "Processed" counter goes up to the sum of both import minus duplicates (just my educated guess), while the "Total" counter stays at one of the jobs' "Total" amount. Video and screenshot attached. ### Steps to Reproduce 1. Go to "Import/Export" submenu, 2. Import one source (e.g. bookmarks from a browser), 3. Import another source (e.g. Omnivore export), Progress bar gets confused ### Expected Behaviour Either put jobs in a queue so they utilize the one progress bar in order, or show a separate UI progress bar for every parallel job ### Screenshots or Additional Context https://github.com/user-attachments/assets/0e8778c6-b295-4507-a423-46d6dd8a6d4e --- <img width="371" alt="image" src="https://github.com/user-attachments/assets/744a0f01-1d9f-4b56-9571-4dced1fb100d" /> ### Device Details Firefox 133.0.3 on macOS 10.15.7 (Intel) ### Exact Hoarder Version v0.21.0 ### Have you checked the troubleshooting guide? - [X] I have checked the troubleshooting guide and I haven't found a solution to my problem
Author
Owner

@kamtschatka commented on GitHub (Jan 10, 2025):

I'd argue that simply disabling the buttons until it is finished is also an option. If you really want to import in parallel, you can just open another tab. That would take a lot of complexity out of the implementation.

<!-- gh-comment-id:2583421429 --> @kamtschatka commented on GitHub (Jan 10, 2025): I'd argue that simply disabling the buttons until it is finished is also an option. If you really want to import in parallel, you can just open another tab. That would take a lot of complexity out of the implementation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#557
No description provided.