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] Add feature flag to display TFM. #8867

Merged
merged 2 commits into from
Nov 8, 2021
Merged

Conversation

dannyjdev
Copy link
Contributor

No description provided.

@dannyjdev dannyjdev requested a review from a team as a code owner November 4, 2021 21:37
@@ -52,6 +52,7 @@ public class FeatureFlagService : IFeatureFlagService
private const string DisplayPackagePageV2PreviewFeatureName = GalleryPrefix + "DisplayPackagePageV2Preview";
private const string DisplayPackagePageV2FeatureName = GalleryPrefix + "DisplayPackagePageV2";
private const string ShowReportAbuseSafetyChanges = GalleryPrefix + "ShowReportAbuseSafetyChanges";
private const string DisplayTFMFeatureName = GalleryPrefix + "DisplayTFM";
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change TFM to Tfm everywhere. .NET's naming guideline is to pascal case acronyms longer than two characters: https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions#capitalization-rules-for-identifiers

Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think of using the term TargetFramework instead of TFM? This may be clearer to folks. For example:

Suggested change
private const string DisplayTFMFeatureName = GalleryPrefix + "DisplayTFM";
private const string DisplayTargetFrameworkFeatureName = GalleryPrefix + "DisplayTargetFramework";

@@ -52,6 +52,7 @@ public class FeatureFlagService : IFeatureFlagService
private const string DisplayPackagePageV2PreviewFeatureName = GalleryPrefix + "DisplayPackagePageV2Preview";
private const string DisplayPackagePageV2FeatureName = GalleryPrefix + "DisplayPackagePageV2";
private const string ShowReportAbuseSafetyChanges = GalleryPrefix + "ShowReportAbuseSafetyChanges";
private const string DisplayTFMFeatureName = GalleryPrefix + "DisplayTFM";
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think of using the term TargetFramework instead of TFM? This may be clearer to folks. For example:

Suggested change
private const string DisplayTFMFeatureName = GalleryPrefix + "DisplayTFM";
private const string DisplayTargetFrameworkFeatureName = GalleryPrefix + "DisplayTargetFramework";

@dannyjdev dannyjdev merged commit 0d22d92 into dev Nov 8, 2021
@dannyjdev dannyjdev deleted the dj-tfm-featureflag branch November 8, 2021 23:53
@agr agr mentioned this pull request Nov 18, 2021
18 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.

3 participants