Skip to content
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

Closed
balachir opened this issue Apr 27, 2017 · 13 comments
Closed

Dependencies node shows with a warning icon until restore is complete #2079

balachir opened this issue Apr 27, 2017 · 13 comments
Labels
Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references Triage-Approved Reviewed and prioritized
Milestone

Comments

@balachir
Copy link

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.

image

image

@jmarolf
Copy link
Contributor

jmarolf commented Apr 27, 2017

@balachir this is an explicit decision to indicate to the user that the restore has not yet completed for this project.

making me wonder that there are issues with the 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?

@abpiskunov
Copy link
Contributor

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).

@SolderedMushroom
Copy link

SolderedMushroom commented May 2, 2017

There is an issue, restore has not yet completed.

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.

@jmarolf
Copy link
Contributor

jmarolf commented May 2, 2017

@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.

@srivatsn srivatsn added the Bug label May 2, 2017
@srivatsn srivatsn assigned natidea and tmeschter and unassigned natidea May 2, 2017
@srivatsn srivatsn added this to the 15.3 milestone May 2, 2017
@davkean
Copy link
Member

davkean commented May 2, 2017

In agreement, I don't like the yellow warning icon for "unrestored case".

@tmeschter
Copy link
Contributor

@srivatsn @natidea What controls which icon is shown here? I would ask @abpiskunov but he's OOF for a couple of months.

@abpiskunov
Copy link
Contributor

abpiskunov commented May 10, 2017 via email

@abpiskunov
Copy link
Contributor

abpiskunov commented May 11, 2017 via email

@srivatsn srivatsn modified the milestones: 15.6, 15.3 May 15, 2017
@tmeschter
Copy link
Contributor

So the open question is how do we know that restore is ongoing, or complete.

@tmeschter
Copy link
Contributor

Doesn't meet the bar for 15.5. Moving out to 15.6.

@tmeschter tmeschter modified the milestones: 15.5, 15.6 Sep 27, 2017
@Pilchie Pilchie assigned natidea and unassigned tmeschter Dec 20, 2017
@Pilchie Pilchie added Area-New-Project-System Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references labels Dec 20, 2017
@Pilchie Pilchie modified the milestones: 15.6, Unknown Dec 20, 2017
@jjmew jjmew added the Triage-Approved Reviewed and prioritized label Jan 14, 2019
@cartermp
Copy link
Contributor

cartermp commented Feb 12, 2019

We should close this in favor of #3430 and #4362 - the first is a more specific issue tracking this problem from the perspective of what to do next (since it's a design problem), and the latter groups that into a more general proposal for the Dependencies node with .NET Core 3.0 in mind.

@drewnoakes
Copy link
Member

@cartermp that seems sensible to me.

@drewnoakes
Copy link
Member

This specific request is being tracked by #5044.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references Triage-Approved Reviewed and prioritized
Projects
None yet
Development

No branches or pull requests