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

[Readme]Add message for readme during validation #8608

Merged
merged 4 commits into from
Jun 8, 2021
Merged

[Readme]Add message for readme during validation #8608

merged 4 commits into from
Jun 8, 2021

Conversation

lyndaidaii
Copy link
Contributor

@lyndaidaii lyndaidaii commented May 26, 2021

Summary of the changes (in less than 80 characters):

Add message about embedded readme available after validation

after:
ReadmeMessage

Addresses: #8507

@lyndaidaii lyndaidaii requested a review from a team as a code owner May 26, 2021 20:52
@lyndaidaii lyndaidaii changed the title add message for readme during validation Add message for readme during validation May 26, 2021
@joelverhagen
Copy link
Member

Could you paste a screenshot in the description?

@lyndaidaii lyndaidaii changed the title Add message for readme during validation [Readme]Add message for readme during validation May 26, 2021
@@ -135,6 +135,7 @@ public DisplayPackageViewModelFactory(IIconUrlProvider iconUrlProvider)
viewModel.ReadMeImagesRewritten = readmeResult != null ? readmeResult.ImagesRewritten : false;
viewModel.ReadmeImageSourceDisallowed = readmeResult != null ? readmeResult.ImageSourceDisallowed : false;
viewModel.HasEmbeddedIcon = package.HasEmbeddedIcon;
viewModel.HasEmbeddedReadmeFile = package.HasEmbeddedReadme;
Copy link
Member

Choose a reason for hiding this comment

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

Seems that this property already existed but was not being set. A UT would help here.

Copy link
Member

@joelverhagen joelverhagen left a comment

Choose a reason for hiding this comment

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

Add a unit test then :shipit:.

@dannyjdev dannyjdev self-requested a review June 3, 2021 18:53
@lyndaidaii lyndaidaii merged commit 17d0302 into dev Jun 8, 2021
@agr agr mentioned this pull request Jun 11, 2021
21 tasks
@joelverhagen joelverhagen deleted the lyn-2 branch August 22, 2024 16:35
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.

4 participants