Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add loading spinner to registry push/pull #1468

Merged
merged 1 commit into from May 10, 2023

Conversation

karthik2804
Copy link
Contributor

Adds a dotted loading animation while the registry pushes/pulls happen to make it clearer about the progress being made.

@karthik2804 karthik2804 requested a review from itowlson May 9, 2023 23:23
Copy link
Contributor

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions, some of which may be longer term, but also a couple of things that I think may be mistakes or might lose information? Please correct me if I'm wrong of course!

src/commands/registry.rs Outdated Show resolved Hide resolved

let pb = ProgressBar::new_spinner();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure what but something in this is causing my cursor to sit on the right of my terminal and flicker during the upload.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am noticing it too. Will look into it.

src/commands/registry.rs Outdated Show resolved Hide resolved
src/commands/registry.rs Outdated Show resolved Hide resolved
src/commands/registry.rs Outdated Show resolved Hide resolved
src/commands/registry.rs Outdated Show resolved Hide resolved
src/commands/registry.rs Show resolved Hide resolved
@karthik2804 karthik2804 force-pushed the ux/oci_spinner branch 2 times, most recently from 43c4579 to d80eec8 Compare May 10, 2023 01:03
Copy link
Contributor

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

src/commands/registry.rs Outdated Show resolved Hide resolved
Signed-off-by: karthik2804 <karthik.ganeshram@fermyon.com>
@karthik2804 karthik2804 merged commit 6a33894 into fermyon:main May 10, 2023
9 checks passed
@karthik2804 karthik2804 deleted the ux/oci_spinner branch May 10, 2023 03:36
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.

None yet

2 participants