-
Notifications
You must be signed in to change notification settings - Fork 391
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
Dependencies node shows with a warning icon until restore is complete #2079
Comments
@balachir this is an explicit decision to indicate to the user that the restore has not yet completed for this project.
There is an issue, restore has not yet completed. Would you prefer to not have any UI to indicate that a restore needs to happen? Would you prefer a different icon? |
Agree, the sign tells you that project is not ready and reasons could be: a. restore did not happen yet. Even if we make icon grey at project open, when user open it all dependencies will be yellow below it since they were not restored yet. So that would kind of meaningless. The real problem here is that restore should not happen everytime you open a project (as it does now) and slow design time builds (which need to be faster). |
I don't want to see a yellow warning triangle for an "issue" that will resolve itself without my help. If I see that icon in the solution explorer, I'm going to expand it to try to see what the problem is so I can fix it, and then be annoyed because it's just a package restore that's already in progress. If it needs an icon, it should be an icon that indicates "something is in progress" or "not everything is here yet," not the universal warning symbol. |
@SolderedMushroom I like the idea of showing progress. I think we need some icon to indicate that the project is not ready, but agree that the yellow warning icon is too scary. |
In agreement, I don't like the yellow warning icon for "unrestored case". |
@srivatsn @natidea What controls which icon is shown here? I would ask @abpiskunov but he's OOF for a couple of months. |
Node models control nodes properties including icons. See corresponding IDependencyModel implementations.
Thanks,
Anton
|
Then look at dependencies tree view provider that actually applies icons logic to the tree. Btw how you would see that restore is not complete yet? Was this decided already?
Thanks,
Anton
|
So the open question is how do we know that restore is ongoing, or complete. |
Doesn't meet the bar for 15.5. Moving out to 15.6. |
@cartermp that seems sensible to me. |
This specific request is being tracked by #5044. |
With Dev15.3 Preview1 builds (from d15prerel), dependencies node shows with a warning icon until restore is complete.
The warning icon eventually goes away, but it looks ugly especially for ASP.NET Core applications because it takes a long time for the warning icon to go away making me wonder that there are issues with the project that I just created. It shows up during project open as well.
The text was updated successfully, but these errors were encountered: