Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

impl: visual text progress during Coder CLI downloading#130

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 10 commits intomainfromimpl-progress-while-downloading-cli
Jun 19, 2025

Conversation

fioan89
Copy link
Collaborator

This PR implements a mechanism to provide recurrent stats about the number of the KB and MB of Coder CLI downloaded.

matifali reacted with heart emoji
The REST client doesn't do any authentication but ratherretrieves the user and build info - the user is alreadyauthenticated via the API token. So `authenticate` is misleading here.
This PR implements a mechanism to provide recurrent stats aboutthe number of the KB and MB of Coder CLI downloaded.
Keeps the previous behavior which was removing the binary before download.
@fioan89fioan89 marked this pull request as ready for reviewJune 17, 2025 19:43
@fioan89
Copy link
CollaboratorAuthor

This is how the download progress looks like.

image
image

Screen.Recording.2025-06-17.at.23.12.36.mov

@fioan89
Copy link
CollaboratorAuthor

@matifali I was thinking that we should also change the title fromAuthenticate to Coder toSetting up Coder on all three pages, on the same premise that we don't do any authenticatio. What are your thoughts?

@matifali
Copy link
Member

We also don't do any setting up.
What we do is to download the newer alim CLI binary if available.
So maybe download CLi and show the version and progress bar.

@fioan89
Copy link
CollaboratorAuthor

We also don't do any setting up. What we do is to download the newer alim CLI binary if available. So maybe download CLi and show the version and progress bar.

We download the cli, we initialize the cli with the token, re-generate the ssh config file, initialize a rest client with the deployment url and the token and retrieve basic information about the deployment like the version and the user authenticated by the token. The three pages wizard from the video needs a title which is why I proposed to compress all of the steps I just mentioned in a "Setting up Coder" title. I'm open for any suggestions regarding the title.

@fioan89
Copy link
CollaboratorAuthor

@matifali what do you think?

image

Screen.Recording.2025-06-18.at.23.05.46.mp4

Alongside the content size downloaded
We are not really doing authentication, instead we download the cli,we initialize the cli with the token, re-generate the ssh config file,initialize a rest client with the deployment url and the token andretrieve basic information about the deployment like the version andthe user authenticated by the token.
@fioan89
Copy link
CollaboratorAuthor

improved flow.

Screen.Recording.2025-06-18.at.23.36.46.mp4
matifali reacted with heart emoji

Copy link
Member

@matifalimatifali left a comment
edited
Loading

Choose a reason for hiding this comment

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

This looks great ❤️

@fioan89fioan89 merged commit2eb4848 intomainJun 19, 2025
5 checks passed
@fioan89fioan89 deleted the impl-progress-while-downloading-cli branchJune 19, 2025 17:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@matifalimatifalimatifali approved these changes

@f0sself0sselAwaiting requested review from f0ssel

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@fioan89@matifali

[8]ページ先頭

©2009-2025 Movatter.jp