-
Notifications
You must be signed in to change notification settings - Fork 414
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
Explicitly show import progress #2022
Explicitly show import progress #2022
Conversation
need a preference to not show the progress |
Ok @rgrunber @snjeza @testforstephen @akaroml @Eskibear @CsCherrYY Since this change related to UX, feel free to let me know if you have any comments |
nitpick : can you please fix the typo in the commit message? (s/improt/import) |
Signed-off-by: Sheng Chen <sheche@microsoft.com>
8831146
to
bc8a6df
Compare
Done, will have another commit to add the preference |
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.
Works well for me. Just a minor thing to address so far.
About adding a setting to control the appearance of the progress notification. I'm thinking that adding a setting called:
Meanwhile, deprecated |
Signed-off-by: Sheng Chen <sheche@microsoft.com>
… of the progress notification Signed-off-by: Sheng Chen <sheche@microsoft.com>
PR update, finally I use the
Besides, the default value changes to |
Signed-off-by: Sheng Chen <sheche@microsoft.com>
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.
Change works well. Just one thing I noticed that may be annoying (given how much space the progress bar takes), although the same behaviour occurs with the status bar provider.
If you kill the syntax/standard server while it's importing/building the project (or it crashes), the progress notification will remain indefinitely on the screen. The restarted language server ultimately finishes the importing, but the progress bar remains. I think the same thing can happen for the status bar provider. I wonder if there's a way to deal with this.
I can imagine that some users might not like these kind of pop-ups. Or, maybe we can still use Anyway, we can discuss in our next sync meeting. |
Signed-off-by: Sheng Chen <sheche@microsoft.com>
PR updated to simplify the text. Meanwhile, I created a new issue to track the item that dealing with the situation when server crashes |
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.
LGTM. Feel free to squash and merge when ready.
Hi @rgrunber, Jinbo(@testforstephen) is the only person who has the permission to merge PRs on our side. He is now on vacation until next week. If you plan to make a release in this week, maybe we need your help to merge. :) |
This is the first part of #2021.
In this PR:
we show the job status more explicitly during the import stage. (Like Eclipse or IntelliJ, at the right-bottom corner, users can see what jobs are running)
If user click the hyper link in the notification, the build status terminal will pop up and the notification get dismissed.
After importing jobs are finished. A dialog shows up to let the user know.
import-progress.mp4
Signed-off-by: Sheng Chen sheche@microsoft.com