image icon indicating copy to clipboard operation
image copied to clipboard

When copying, create all progress bars in advance

Open mtrmac opened this issue 3 years ago • 1 comments

Per https://github.com/containers/image/pull/1530#pullrequestreview-954602860 :

Something I would love to see in the UX is to draw all progress bars before pulling. Currently, a bar is drawn the moment we start pulling the blob.

It would be nice to have them all drawn before.

Considerations:

  • Do we do this just for layers (which should be easy), or including the config (currently a separate progress pool)?
  • Would we want to differentiate “not started working on this blob yet” vs. “started and made no progress” somehow? Is that possible?

mtrmac avatar Apr 27 '22 15:04 mtrmac

Thanks for filing the issue!

Do we do this just for layers (which should be easy), or including the config (currently a separate progress pool)?

Starting with layers would already be a very nice improvement.

Would we want to differentiate “not started working on this blob yet” vs. “started and made no progress” somehow? Is that possible?

That's an interesting idea. I think it would be good have a queued status initially and only draw the bar when the pulling for a given blob has commenced.

vrothberg avatar Apr 27 '22 15:04 vrothberg