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

Preview extension notation & Simple default view for extension list-a… #5882

Merged
merged 4 commits into from
Mar 22, 2018

Conversation

derekbekoe
Copy link
Member

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.

@promptws
Copy link

View a preview at https://prompt.ws/r/Azure/azure-cli/5882
This is an experimental preview for @microsoft users.

@derekbekoe derekbekoe added this to the Sprint 34 milestone Mar 21, 2018
@derekbekoe derekbekoe added the Extensions `az extension` commands or extension infrastructure label Mar 21, 2018
@derekbekoe
Copy link
Member Author

Some screenshots:

screen shot 2018-03-21 at 4 00 24 pm
screen shot 2018-03-21 at 3 48 18 pm
screen shot 2018-03-21 at 3 48 35 pm
screen shot 2018-03-21 at 3 48 44 pm

@tjprescott
Copy link
Member

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
Copy link
Contributor

@williexu williexu left a 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
Copy link
Contributor

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?

Copy link
Member Author

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... 👍

@derekbekoe
Copy link
Member Author

@williexu can you take another look?

Copy link
Contributor

@williexu williexu left a 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

@derekbekoe derekbekoe merged commit e4339a7 into Azure:dev Mar 22, 2018
@derekbekoe derekbekoe deleted the feature/ext-preview-flag branch March 22, 2018 22:50
@haroldrandom haroldrandom added the Extensions `az extension` commands or extension infrastructure label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extensions `az extension` commands or extension infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple default view for extension list-available
6 participants