Skip to content

Enable codespaces support for NuGet PM UI - #3649

Merged
dtivel merged 31 commits into
devfrom
dev-feature-OE.PMUI
Sep 14, 2020
Merged

dtivel merged 31 commits into
devfrom
dev-feature-OE.PMUI

Conversation

@rrelyea

@rrelyea rrelyea commented Sep 8, 2020

Copy link
Copy Markdown
Contributor

Bug

Fixes: NuGet/Home#8270
Regression: No

Fix

Details: Enable codespaces support for NuGet PMUI - Update tab, Installed tab, tools/options/package sources

Testing/Validation

Tests Added: Yes
Reason for not adding tests:
Validation: vendor runs, dogfooding

Rob Relyea and others added 28 commits September 3, 2020 16:55
* Initial check-in of remote package sources using messagepack rpc services for tools -> options
Add package source transaction object to allow more customization when saving sources
* Abstract NuGetProject to ProjectContextInfo in NuGet.Client UI
* Enable remoting of the Installed/Update tab in PM UI
…, use correct values in createtoolwindow (#3582)

Fixes toolwindow api usage....start using findtoolwindowex, use correct values in createtoolwindow
Also, treats the windowing behavior of these toolwindows closer to documentwindows.
We don't use DocumentWindows in the codespaces codepath because we can't get a VSUIHierarchy, which is necessary.
* Change PackageReference to use PackageReferenceContextInfo
@rrelyea
rrelyea requested a review from a team as a code owner September 8, 2020 21:42
@rrelyea
rrelyea requested a review from zivkan September 8, 2020 23:52

@zivkan zivkan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too big for me to review, but as NuGet SDK area owner, the only thing I feel responsible for, and therefore checked in detail, are the public APIs, which we have a plan for.

@nkolev92 nkolev92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I quickly skimmed the contracts and nothing major stands out.

Left a few comments about the serializers, but don't think it's that big of a deal.

This is gonna be lots of new functionality greenlit!


try
{
NuGetVersionFloatBehavior? floatBehavior = null;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the original string to construct a full blown version range might've been an easier serialization.

IProjectContextInfo project = Model.Context.Projects.FirstOrDefault();
Debug.Assert(project != null);
await Model.Context.UIActionEngine.UpgradeNuGetProjectAsync(Model.UIController, project);
await Model.Context.UIActionEngine.UpgradeNuGetProjectAsync(Model.UIController, null);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

named parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package Manager experiences for VS Codespaces

7 participants