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

Improve ordering in target framework dropdown #9566

Merged

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Oct 21, 2024

Small tweak following #9564.

Previously the ordering was "natural" ascending. This created a block with ".NET 5+" items at the top, and ".NET Core" items below, however the newest .NET item (e.g. ".NET 9") would be in the middle of the list.

The change here adds sorting by group, then by version, and makes that version ordering descending. This means that the latest and greatest version is always at the top of the list.

Before

image

After

image

Microsoft Reviewers: Open in CodeFlow

Previously the ordering was "natural" ascending. This created a block with ".NET 5+" items at the top, and ".NET Core" items below, however the newest .NET item (e.g. ".NET 9") would be in the middle of the list.

The change here adds sorting by group, then by version, and makes that version ordering descending. This means that the latest and greatest version is always at the top of the list.
@drewnoakes drewnoakes added the Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner label Oct 21, 2024
@drewnoakes drewnoakes requested a review from a team as a code owner October 21, 2024 21:52
@drewnoakes drewnoakes merged commit 2c072e3 into dotnet:main Oct 22, 2024
5 checks passed
@drewnoakes drewnoakes deleted the order-target-frameworks-in-dropdown branch October 22, 2024 00:36
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants