Nugetgallery: Confusing "There is a newer prerelease version of this package available" when newer released version is available

Created on 22 Mar 2018  路  4Comments  路  Source: NuGet/NuGetGallery

It's confusing to get a message that a newer prerelease version is available for users that only care about release versions. That's why I suggest this clarification.

Repro steps

Go to https://www.nuget.org/packages/Microsoft.Extensions.Logging/1.1.2

Expected result

While it is true there is a newer prerelease version of the package available, there also is a newer release version available. The message should either tell both or the latter.

Message could be

There is a newer version of this package available

Actual result

There is a newer prerelease version of this package available.

image

Gallery UI Up for Grabs Verified-Dev Verified-Int Verified-Prod

Most helpful comment

@jawn , to clarify your suggestion:
For versions that have a newer release version available (like https://www.nuget.org/packages/Microsoft.Extensions.Logging/1.1.2) , the page should show "There is a newer version of this package available".
For versions that don't have a newer release version available (like https://www.nuget.org/packages/Microsoft.Extensions.Logging/2.0.1), the page should show "There is a newer prerelease version of this package available."

Correct?

All 4 comments

@jawn , to clarify your suggestion:
For versions that have a newer release version available (like https://www.nuget.org/packages/Microsoft.Extensions.Logging/1.1.2) , the page should show "There is a newer version of this package available".
For versions that don't have a newer release version available (like https://www.nuget.org/packages/Microsoft.Extensions.Logging/2.0.1), the page should show "There is a newer prerelease version of this package available."

Correct?

Sounds great to me!

@jawn , I will add this issue to our backlog.
If you would like to see this happening faster, you are welcome to send us a pull request, and we will promptly review it 馃槃

I could give this one a go. What's needed to address this?

Changing this one: https://github.com/NuGet/NuGetGallery/blob/master/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml

Anything else? Any test cases in place?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xied75 picture xied75  路  5Comments

gep13 picture gep13  路  4Comments

anangaur picture anangaur  路  4Comments

j3parker picture j3parker  路  4Comments

coleman-c picture coleman-c  路  5Comments