-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
#575, #1175 Show 'progress' indicator during verify/upload #1260
Conversation
arduino-ide-extension/src/browser/widgets/component-list/component-list-item.tsx
Outdated
Show resolved
Hide resolved
633fd9c
to
3789ec4
Compare
The progress indicator works as expected.
cc @per1234 |
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.
The code looks good, but I have only one remark.
I noticed that it's possible to trigger an Upload when there's a Verify in progress, and vice versa it's possible to trigger a Verify when there's an Upload in progress. Maybe this is expected (in the end it doesn't seem to cause any significant issue). I'm pointing this out because it feels weird to click on the Upload button and get feedback (the yellow active status) on the Verify button, while the Upload button is still clickable.
Screen.Recording.2022-07-29.at.17.15.55.mov
Thanks for taking the time and trying it out.
It's the same in the
Good that you brought this up; it's mentioned in the description as expected behavioral changes. I am looking forward to hearing how it should exactly work. I can restore what it is on the
This is undesired. Thanks for noting it. I will change the logic so that when the user clicks on
|
I don't really know. The Java IDE didn't have this issue because it turns yellow only one button: if you click on the Upload button, the Upload button is the only one that turns yellow (even during the compile process), and clicking the Verify button during this time wouldn't do anything, making it disabled for all intents. But anyway, as you said, it's not in this PR's scope to solve this issue 👍
I like this, thanks! Let's add @91volt to the thread and see what he thinks about this solution. |
I reverted all the UX changes. The |
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.
This is a really nice advancement in the user experience. Thanks Akos!
This bug is now being tracked at #1299 |
Motivation
Show progress indication when running the
verify
,upload
,upload using programmer
orburn bootloader
commands from IDE2.The changes in action:
Verify.mp4
Upload.mp4
Change description
compile
beforeverify
; it's the caller's responsibility to run it.Other information
Noteworthy UI/UX changes:AnUpload
consists of two tasks:Verfiy
andUpload
. With the proposed changes, users will see on the toolbar (Verify toolbar icon is yellow with the light Arduino theme) that ifVerify
is in progress, thenUpload
is in progress. See in action.https://user-images.githubusercontent.com/1405703/181474498-14e02b6b-1f4e-4b07-b93c-7e819f874e8e.mp4This is a UI change compared to theHEAD
of themain
branch, but I believe this is the correct solution What do you think @per1234 and @ubidefeo?For reviewers:
Verify
/Upload
,Closes #575
Closes #1175
Reviewer checklist