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

{Core} Use custom tag message #15730

Merged
merged 4 commits into from
Dec 17, 2020
Merged

{Core} Use custom tag message #15730

merged 4 commits into from
Dec 17, 2020

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Oct 30, 2020

Description

This PR requires microsoft/knack#223

Refine and override tag messages from Knack to be more user-friendly.

See email: Refining our experimental message to be more positive

# Direct experimental message
> az account subscription -h

        This command group is experimental and under development. Reference and support levels:
        https://aka.ms/CLI_refstatus

# Implicit experimental message
> az account subscription show -h

        Command group 'account subscription' is experimental and under development. Reference
        and support levels: https://aka.ms/CLI_refstatus

# Direct preview message
> az apim -h

        This command group is in preview and under development. Reference and support levels:
        https://aka.ms/CLI_refstatus

# Implicit preview message
> az apim api -h

        Command group 'apim' is in preview and under development. Reference and support levels:
        https://aka.ms/CLI_refstatus

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 30, 2020

Core

@yonzhan yonzhan added this to the S178 milestone Oct 30, 2020
@yonzhan yonzhan modified the milestones: S178, S179 Nov 14, 2020
@jiasli jiasli marked this pull request as ready for review November 24, 2020 07:05
@yonzhan yonzhan modified the milestones: S179, S180 Dec 5, 2020
@jiasli jiasli requested a review from houk-ms as a code owner December 11, 2020 06:15
from knack.util import status_tag_messages
ref_message = "Reference and support levels: https://aka.ms/CLI_refstatus"
# Override the preview message
status_tag_messages['preview'] = "{} is in preview and under development. " + ref_message
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
status_tag_messages['preview'] = "{} is in preview and under development. " + ref_message
status_tag_messages['preview'] = "{} is in preview. " + ref_message

I noticed that in knack there's no 'under development' for preview message.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is not necessary for Azure CLI and Knack to have the same message. The message I used in this PR has been approved by PMs and UX team.

@jiasli jiasli changed the base branch from dev to knack December 17, 2020 09:54
@jiasli jiasli merged commit 22e2a85 into Azure:knack Dec 17, 2020
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.

3 participants