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

[TFM Display] Create model for badges and table from compatible frameworks. #8881

Merged
merged 18 commits into from
Nov 18, 2021

Conversation

dannyjdev
Copy link
Contributor

@dannyjdev dannyjdev commented Nov 16, 2021

This model will be used on the display page to create the table and badges for UI.

  • FrameworkCompatibilityService was updated to include a supported framework that is not on the SupportedFrameworks list. This to include all package asset frameworks that we might not know of (but they are not used to get new computed frameworks, so no computation added here).
  • PackageFrameworkCompatibilityFactory creates the model that holds the badges and table ready to be displayed.
    • Badges: Contains the lowest package asset framework (we are not considering computed frameworks for this) that are part of .NET framework product.
    • Table: The key is the product framework name, and the values are lists of compatible frameworks (already ordered).

Address: https://github.com/NuGet/Engineering/issues/3991.

@dannyjdev dannyjdev marked this pull request as ready for review November 16, 2021 19:54
@dannyjdev dannyjdev requested a review from a team as a code owner November 16, 2021 19:54
Copy link
Contributor

@drewgillies drewgillies left a comment

Choose a reason for hiding this comment

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

Thank you, @dannyjdev! Looks great. Just a couple of things from me--solid tests, btw.

@dannyjdev dannyjdev merged commit 33035da into dev Nov 18, 2021
@dannyjdev dannyjdev deleted the dev-dj-tfm-displaypagebackend branch November 18, 2021 23:17
agr added a commit that referenced this pull request Nov 20, 2021
dannyjdev added a commit that referenced this pull request Jan 4, 2022
dannyjdev added a commit that referenced this pull request Jan 4, 2022
@loic-sharma loic-sharma mentioned this pull request Jan 11, 2022
6 tasks
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.

None yet

4 participants