-
Notifications
You must be signed in to change notification settings - Fork 3
fix: start coder connect progress indicator immediately #214
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
Conversation
ab9ca27
to
50e4a63
Compare
df10a17
to
60f8964
Compare
60f8964
to
acf0aeb
Compare
50e4a63
to
8fb9382
Compare
acf0aeb
to
f3468db
Compare
8fb9382
to
431149f
Compare
f3468db
to
d04e73f
Compare
431149f
to
8fceeab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a UX issue where the coder connect progress indicator appears stuck at the beginning of the process by implementing an immediate auto-start animation that progresses to 25% over 2 seconds.
- Adds an
autoStart
feature toCircularProgressView
that begins animating immediately when the initial value is 0 - Updates the VPN progress mapping to accommodate the new auto-start behavior and adjusts thresholds accordingly
- Modifies the auto-complete threshold from 50% to 65% to account for the updated progress ranges
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
CircularProgressView.swift | Adds auto-start functionality with state management and animation logic |
VPNProgress.swift | Updates progress mapping values and configures auto-start behavior |
8fceeab
to
62c3d0a
Compare
d04e73f
to
0dc424c
Compare
Merge activity
|
0dc424c
to
41ff4aa
Compare
With the changes made in #203, it now takes a moment longer to receive the first progress update, when we either start the download (if not already downloaded), or validate the dylib. To address this, the progress indicator will immediately start making progress towards 25%. This prevents it from appearing stuck in what is an expected situation.
autoStartDemo.mov