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

Add link for reserved namespace error during package upload #8610

Merged
merged 6 commits into from
Jun 7, 2021
Merged

Conversation

lyndaidaii
Copy link
Contributor

@lyndaidaii lyndaidaii commented May 27, 2021

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

Add link to message when there is conflict of namespace during uploading package

After changes:
Capture1

Addresses #8397

@lyndaidaii lyndaidaii requested a review from a team as a code owner May 27, 2021 00:11
@shishirx34
Copy link
Contributor

I recommend including the link as part of the statement, something like:

... or re-upload the package with a different ID. Click here to learn more about the Package ID prefix reservation.

Assert.Equal(Strings.UploadPackage_IdNamespaceConflict, (result.Data as JsonValidationMessage[])[0].PlainTextMessage);
Assert.Null((result.Data as JsonValidationMessage[])[0].RawHtmlMessage);
Assert.Equal(Strings.UploadPackage_IdNamespaceConflictHtml, (result.Data as JsonValidationMessage[])[0].RawHtmlMessage);
Assert.Null((result.Data as JsonValidationMessage[])[0].PlainTextMessage) ;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Assert.Null((result.Data as JsonValidationMessage[])[0].PlainTextMessage) ;
Assert.Null((result.Data as JsonValidationMessage[])[0].PlainTextMessage);

@joelverhagen
Copy link
Member

Here's an interesting perspective on using "here" for link text: https://www.smashingmagazine.com/2012/06/links-should-never-say-click-here/
I don't think it's a huge deal but perhaps we can consider a wording that avoids the focus on mouse mechanics. Users can navigate using keyboard -- no "click" per se or "tap" on their phone.

@anangaur
Copy link
Member

anangaur commented May 28, 2021

Can we say (with the full text as link):
"Learn more about Package Prefix Id reservation"?

@lyndaidaii lyndaidaii merged commit c159a02 into dev Jun 7, 2021
@agr agr mentioned this pull request Jun 11, 2021
21 tasks
@joelverhagen joelverhagen deleted the lyn-4 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.

5 participants