-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Preview extension notation & Simple default view for extension list-a… #5882
Conversation
View a preview at https://prompt.ws/r/Azure/azure-cli/5882 |
I'll let Troy and Willie comment on the code itself, but from the screenshot my only feedback is it might make sense to put the Preview and Installed columns to the left of summary (closer to the name) because there can be a lot of whitespace in the summary and it can be tricky to follow across the row to see which extension that random "True" floating in space refers to. |
…vailable - Show message for extensions marked as preview on -h
2b1e86c
to
b04089d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, one question
'preview': latest['metadata'].get(EXT_METADATA_ISPREVIEW, False), | ||
'installed': installed | ||
}) | ||
return results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a test for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do have some tests but not for these changes...
I will take a look at adding tests... 👍
@williexu can you take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added testing looks good
Preview extension notation & Simple default view for extension list-available
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.