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

Update PM UI README rendering spec #14001

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

jgonz120
Copy link
Contributor

Update to specify new message and tab selection behavior.

@jgonz120 jgonz120 requested a review from a team as a code owner December 17, 2024 00:43
@@ -22,15 +22,29 @@ The PM UI will be updated to have tabs for the Package Details and the the READM
The README will be available in all the PM UI tabs.
It will also be displayed for both the solution level and project level package managers.

The selected tab will be maintained between sessions and when switching packages.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this implemented already or is a PR coming?

Copy link
Member

Choose a reason for hiding this comment

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

Does any of this consider whether the source supports readmes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this implemented already or is a PR coming?

Already implemented, just clarifying that even if the selected package does not have a README we will stay on the tab.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does any of this consider whether the source supports readmes?

The start of the section says "This tab is rendered if a remote source available to download the readme or the Installed tab is selected and the selected version is found in the global packages folder." I feel like that covered it.

@@ -22,15 +22,29 @@ The PM UI will be updated to have tabs for the Package Details and the the READM
The README will be available in all the PM UI tabs.
It will also be displayed for both the solution level and project level package managers.

The selected tab will be maintained between sessions and when switching packages.
If the README tab is removed, then the "Package Details" tab will automatically selected.
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't a change from what's already shipped, right?

Copy link
Member

Choose a reason for hiding this comment

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

What does remove mean in this case?
How do you remove the tab?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn't a change from what's already shipped, right?

Correct, just describing what's already implemented.

What does remove mean in this case? How do you remove the tab?

I updated the language to say "available". The availability of the tab is described in the README Tab section.

If the README tab is rendered and we do not find a README then a message is rendered encouraging the user to contact the package author to upload a README.
![alt text](../../meta/resources/ReadMePMUI/NoReadMeFound.png)
When there is no README available we will display a message to the user in the README tab.
>There is no README available for the selected package version. For me information please visit [aka.ms/nuget/noreadme](https://aka.ms/nuget/noreadme).
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM. Assuming the aka.ms link will be linked to its own page in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup! @OliaG is working on adding a section to the NuGet FAQs

Copy link
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

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

Is this intended to address the default tab feedback?

@@ -22,15 +22,29 @@ The PM UI will be updated to have tabs for the Package Details and the the READM
The README will be available in all the PM UI tabs.
It will also be displayed for both the solution level and project level package managers.

The selected tab will be maintained between sessions and when switching packages.
If the README tab is removed, then the "Package Details" tab will automatically selected.
Copy link
Member

Choose a reason for hiding this comment

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

What does remove mean in this case?
How do you remove the tab?

@@ -22,15 +22,20 @@ The PM UI will be updated to have tabs for the Package Details and the the READM
The README will be available in all the PM UI tabs.
It will also be displayed for both the solution level and project level package managers.

Copy link
Member

Choose a reason for hiding this comment

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

What about which tab we default to?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added a line about that.

@@ -22,15 +22,29 @@ The PM UI will be updated to have tabs for the Package Details and the the READM
The README will be available in all the PM UI tabs.
It will also be displayed for both the solution level and project level package managers.

The selected tab will be maintained between sessions and when switching packages.
Copy link
Member

Choose a reason for hiding this comment

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

Does any of this consider whether the source supports readmes?

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